/* 产品列表页样式 */

/* Hero区域背景颜色 */
.products-hero {
  background-color: var(--color-hero-bg);
  padding: 6rem 1rem 4rem;
  border-bottom: 1px solid var(--color-border);
}

.products-hero .section-title {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.products-hero .section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-light);
}

/* 产品网格布局 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* 覆盖卡片样式，增加过渡效果 */
.product-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* 图片包装器 */
.product-img-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--color-bg);
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

/* 产品信息 */
.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-price {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

/* 底部CTA区域 */
.cta-section {
  background-color: var(--color-bg-white);
  padding: 4rem 1rem;
  border-top: 1px solid var(--color-border);
}

.cta-section .section-subtitle {
  margin-bottom: 2rem;
  color: var(--color-text-light);
}
