/* ============================================
   竹环巧匠 - 产品展示页样式
   ============================================ */

/* 页面顶部Banner */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--paper-cream) 0%, var(--paper-white) 50%, #E8F5E9 100%);
  padding-top: 80px;
}

.page-hero-content {
  text-align: center;
  z-index: 10;
  padding: 2rem;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--ink-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* 产品分类筛选 */
.product-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.7rem 1.8rem;
  border: 2px solid #E0E0E0;
  border-radius: 30px;
  background: white;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: inherit;
  color: var(--ink-gray);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--bamboo-green);
  background: var(--bamboo-green);
  color: white;
}

/* 产品详细卡片 */
.products-showcase {
  max-width: 1200px;
  margin: 0 auto;
}

.product-detail-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px var(--shadow-light);
  transition: var(--transition-smooth);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-detail-card:hover {
  box-shadow: 0 20px 60px var(--shadow-medium);
  transform: translateY(-5px);
}

.product-detail-card:nth-child(even) {
  direction: rtl;
}

.product-detail-card:nth-child(even) > * {
  direction: ltr;
}

.product-detail-image {
  height: 400px;
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-detail-image .product-emoji {
  font-size: 5rem;
}

.product-detail-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-detail-info h3 {
  font-size: 1.8rem;
  color: var(--ink-black);
  margin-bottom: 1rem;
}

.product-detail-info .product-category {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(124, 179, 66, 0.1);
  color: var(--bamboo-dark);
  font-size: 0.85rem;
  border-radius: 15px;
  margin-bottom: 1rem;
  width: fit-content;
}

.product-detail-info p {
  font-size: 1.05rem;
  color: var(--ink-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--ink-gray);
}

.product-features li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--bamboo-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* 产品特色区 */
.product-highlights {
  background: var(--ink-black);
  color: white;
  padding: 5rem 5%;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-item {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.highlight-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.highlight-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.highlight-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
}

/* 定制区域 */
.custom-section {
  padding: 6rem 5%;
  background: linear-gradient(135deg, var(--bamboo-green) 0%, var(--bamboo-dark) 100%);
  color: white;
  text-align: center;
}

.custom-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.custom-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.btn-white {
  background: white;
  color: var(--bamboo-dark);
  font-weight: 600;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  display: inline-block;
  transition: var(--transition-smooth);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 响应式 */
@media (max-width: 768px) {
  .product-detail-card,
  .product-detail-card:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .product-detail-image {
    height: 250px;
  }
  
  .product-detail-info {
    padding: 2rem;
  }
}


/* 产品分类按钮优化 - 质感+链接感 */
/* 产品分类按钮优化 - 链接感+质感 */
.filter-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  color: #333;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a4a2e 0%, #2d6a4f 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.filter-btn span {
  position: relative;
  z-index: 1;
}

.filter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 74, 46, 0.25);
  color: white;
}

.filter-btn:hover::before {
  opacity: 1;
}

.filter-btn.active {
  background: linear-gradient(135deg, #1a4a2e 0%, #2d6a4f 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(26, 74, 46, 0.3);
  transform: scale(1.02);
}

