/* ========================================
   怡菲尼净水 - 产品页面样式
   配色：蓝/绿水系，简洁商务风
   ======================================== */

/* CSS Variables */
:root {
  --primary-blue: #0066CC;
  --primary-green: #00A896;
  --light-blue: #E8F0FA;
  --light-green: #E5F5F3;
  --dark-blue: #004080;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --white: #FFFFFF;
  --bg-light: #F5F5F5;
  --border-color: #E0E0E0;
  --shadow-sm: 0 2px 8px rgba(0, 102, 204, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 102, 204, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 102, 204, 0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ========================================
   沁园风格页首 - 全站统一
   ======================================== */
.qy-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
}

.qy-header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qy-logo img {
  height: 42px;
  width: auto;
}

.qy-nav {
  display: flex;
  align-items: center;
}

.qy-nav-item {
  position: relative;
}

.qy-nav-link {
  display: block;
  padding: 24px 20px;
  font-size: 15px;
  color: #333;
  transition: color 0.3s;
}

.qy-nav-link:hover,
.qy-nav-link.active {
  color: #0066CC;
}

.qy-nav-item.has-dropdown .qy-nav-link::after {
  content: '▼';
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.6;
}

.qy-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  padding: 8px 0;
}

.qy-nav-item:hover .qy-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.qy-dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  transition: all 0.2s;
}

.qy-dropdown-item:hover {
  background: #f5f5f5;
  color: #0066CC;
}

.qy-header-right {
  display: flex;
  align-items: center;
}

.qy-phone {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: none;
  color: #333;
}

.qy-phone-icon {
  display: none;
}

.qy-phone-num {
  font-size: 15px;
  font-weight: 600;
}

.qy-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.qy-menu-toggle span {
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  .qy-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }
  
  .qy-nav.active {
    display: flex;
  }
  
  .qy-nav-item {
    width: 100%;
  }
  
  .qy-nav-link {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
  }
  
  .qy-dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 20px;
    background: #f9f9f9;
  }
  
  .qy-menu-toggle {
    display: flex;
  }
  
  .qy-header-right {
    display: none;
  }
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   主要内容容器 - 适配固定导航
   ======================================== */
.page-container,
.detail-container {
  margin-top: 70px;
}

/* ========================================
   产品详情页Banner
   ======================================== */
.product-banner {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-top: 70px;
  background: linear-gradient(135deg, #0066CC 0%, #00A896 100%);
}

.product-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ========================================
   Header 导航栏
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 48px;
  width: auto;
  max-height: 48px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 18px;
}

.logo-text {
  font-size: 22px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-item {
  font-size: 15px;
  color: var(--text-gray);
  transition: color 0.3s;
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-blue);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
}

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
}

/* ========================================
   Page Container
   ======================================== */
.page-container {
  padding-top: 72px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Breadcrumb 面包屑导航
   ======================================== */
.breadcrumb {
  padding: 20px 0;
  background: var(--bg-light);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-gray);
}

.breadcrumb-item::after {
  content: '/';
  margin-left: 8px;
  color: var(--text-light);
}

.breadcrumb-item:last-child::after {
  display: none;
}

.breadcrumb-item a:hover {
  color: var(--primary-blue);
}

.breadcrumb-item:last-child {
  color: var(--text-dark);
  font-weight: 500;
}

/* ========================================
   Page Title
   ======================================== */
.page-title-section {
  padding: 48px 0 32px;
  text-align: center;
}

.page-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-gray);
}

/* ========================================
   Product Filter 产品筛选 - 沁园风格
   ======================================== */
.product-filter {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-gray);
  transition: all 0.3s;
  cursor: pointer;
}

.filter-tab:hover,
.filter-tab.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  color: var(--white);
}

/* ========================================
   Product Tabs Section 沁园风格Tab切换
   ======================================== */
.product-tabs-section {
  padding: 0 0 32px 0;
  background: var(--white);
}

.product-tabs {
  display: flex;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 6px;
  gap: 4px;
}

.tab-item {
  padding: 12px 28px;
  font-size: 15px;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  border-radius: 6px;
  white-space: nowrap;
}

.tab-item:hover {
  color: var(--primary-blue);
}

.tab-item.active {
  background: var(--white);
  color: #0066CC;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #0066CC;
}

@media (max-width: 992px) {
  .product-tabs {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .tab-item {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .product-tabs-section {
    padding: 0 0 20px 0;
  }
  
  .product-tabs {
    gap: 2px;
    padding: 4px;
  }
  
  .tab-item {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .tab-item.active::after {
    display: none;
  }
}

/* ========================================
   Product Grid 产品网格 - 左右布局
   ======================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 40px 0;
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.product-card-inner {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.product-image {
  width: 40%;
  min-height: 280px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.product-image img,
.product-img-real {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-image-placeholder {
  font-size: 64px;
  opacity: 0.5;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--primary-green);
  color: var(--white);
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.product-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 产品参数表格样式 - 左标签右值 */
.product-params {
  margin-top: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.param-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}

.param-row:not(:last-child) {
  border-bottom: 1px dashed var(--border-color);
}

.param-label {
  color: var(--text-gray);
  min-width: 80px;
  flex-shrink: 0;
}

.param-value {
  color: var(--text-dark);
  font-weight: 500;
  margin-left: auto;
  text-align: right;
}

.product-category {
  font-size: 12px;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 16px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.feature-tag {
  padding: 4px 10px;
  background: var(--bg-light);
  color: var(--text-gray);
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.product-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-blue);
}

.product-price-unit {
  font-size: 12px;
  color: var(--text-light);
  font-weight: normal;
}

.product-link {
  padding: 8px 20px;
  background: var(--bg-light);
  color: var(--primary-blue);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.product-link:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* ========================================
   Product Detail Page
   ======================================== */
.detail-container {
  padding: 48px 0 80px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8cm;
  margin-bottom: 48px;
  margin-top: -2.5cm;
  align-items: start;
}

/* Product Gallery */
.product-gallery {
  position: relative;
}

.gallery-main {
  width: 500px;
  height: 500px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0,102,204,0.1);
}

.gallery-main img,
.gallery-img-real {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  object-fit: contain;
  object-position: center;
}

.gallery-main-placeholder {
  font-size: 120px;
  opacity: 0.4;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--primary-blue);
}

.gallery-thumb-placeholder {
  font-size: 28px;
  opacity: 0.5;
}

/* Product Info */
.product-info {
  display: flex;
  flex-direction: column;
  height: 500px;
  box-sizing: border-box;
}

.detail-category {
  display: inline-block;
  padding: 6px 16px;
  background: var(--light-blue);
  color: var(--primary-blue);
  font-size: 13px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.detail-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.detail-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.detail-spec {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

.detail-params {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.detail-params span {
  color: var(--text-gray);
  font-size: 14px;
}

.detail-price-section {
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.price-label {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.price-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
}

.price-unit {
  font-size: 16px;
  color: var(--text-gray);
  font-weight: normal;
}

.price-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}

.detail-features {
  margin-bottom: 24px;
}

.detail-features-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.detail-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: var(--light-green);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.feature-text {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}

.feature-text strong {
  color: var(--text-dark);
  font-weight: 500;
}

.cta-section {
  display: flex;
  gap: 12px;
}

.cta-primary {
  flex: 1;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-secondary {
  padding: 16px 24px;
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-secondary:hover {
  background: var(--light-blue);
}

/* ========================================
   Product Tabs
   ======================================== */
.product-tabs-section {
  padding-top: 20px;
}

.tabs-header {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 16px 32px;
  font-size: 16px;
  color: var(--text-gray);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.tab-btn:hover {
  color: var(--primary-blue);
}

.tab-btn.active {
  color: var(--primary-blue);
  font-weight: 600;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-panel {
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr:nth-child(odd) {
  background: var(--white);
}

.specs-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.specs-table td:first-child {
  width: 200px;
  font-weight: 500;
  color: var(--text-dark);
}

.specs-table td:last-child {
  color: var(--text-gray);
}

/* Service Features */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--light-blue), var(--light-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.service-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ========================================
   Related Products
   ======================================== */
.related-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ========================================
   Footer - 简洁商务风格
   ======================================== */
.footer {
  background: #1a2634;
  color: #fff;
  padding: 60px 0 0;
  margin-top: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand img,
.footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-links {
  display: contents;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #00A896;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 4px 0;
}

/* 备用的 footer-grid 样式（兼容旧结构） */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-nav h4,
.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links ul,
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-nav li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-nav a:hover {
  color: #00A896;
}

.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  transition: background 0.3s;
}

.social-link:hover {
  background: #00A896;
}

/* ========================================
   Responsive Styles - Mobile
   ======================================== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .tabs-wrapper {
    width: 100%;
  }
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Header */
  .header {
    height: 60px;
  }
  
  .header-container {
    padding: 0 16px;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .page-container {
    padding-top: 60px;
  }
  
  /* Typography */
  .page-title {
    font-size: 28px;
  }
  
  .detail-title {
    font-size: 24px;
  }
  
  .price-value {
    font-size: 28px;
  }
  
  /* Product Grid */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  
  .product-image {
    height: 180px;
  }
  
  .product-content {
    padding: 16px;
  }
  
  .product-name {
    font-size: 16px;
  }
  
  /* Filter */
  .filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }
  
  .filter-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 13px;
  }
  
  /* Gallery */
  .gallery-main {
    height: 300px;
  }
  
  /* Tabs */
  .tabs-header {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-btn {
    flex-shrink: 0;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  /* Service */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Related */
  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Footer - Mobile */
  .footer {
    padding: 40px 0 0;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-brand img {
    margin: 0 auto 16px;
  }
  
  /* CTA Section */
  .cta-section {
    flex-direction: column;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100%;
    text-align: center;
  }
  
  /* Specs Table */
  .specs-table td:first-child {
    width: 120px;
  }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 32px;
}

.hidden-mobile {
  display: block;
}

.visible-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hidden-mobile {
    display: none;
  }
  
  .visible-mobile {
    display: block;
  }
}

/* ========================================
   首页产品卡片 - category-card
   ======================================== */
.category-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,102,204,0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,102,204,0.2);
}

.category-icon {
  height: 280px;
  width: 280px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.category-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.category-info {
  padding: 12px 20px;
  text-align: center;
}

.category-info h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}

.category-info p {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}
