/* ========================================
   產品介紹頁面樣式
======================================== */

/* 頁面標題 */
.page-header {
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  text-align: center;
  color: var(--color-white);
}

.page-header h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
}

/* 會員制度 */
.membership-banner {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, rgba(139, 115, 85, 0.1) 100%);
}

.membership-banner h3 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--color-secondary);
}

.membership-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.tier {
  padding: 2rem;
  background: var(--color-white);
  border-radius: 15px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.tier:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tier-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.tier-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.8rem;
}

.tier-requirement {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.tier-benefit {
  font-size: 1rem;
  color: var(--color-text-light);
}

/* 產品區塊 */
.products-section {
  background: var(--color-background);
}

.product-detail {
  margin-bottom: 6rem;
  scroll-margin-top: 100px;
}

.product-detail:last-child {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  background: var(--color-white);
  padding: 4rem;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.product-grid.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.product-image-large {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 120px;
}

.image-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

.product-info-detail h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

.product-subtitle {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-weight: 500;
  font-style: italic;
}

.product-description {
  margin-bottom: 2.5rem;
}

.product-description p {
  line-height: 1.9;
  font-size: 1.1rem;
}

.product-description strong {
  color: var(--color-primary);
}

.product-features,
.product-ingredients {
  margin-bottom: 2.5rem;
}

.product-features h4,
.product-ingredients h4 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--color-secondary);
}

.product-features ul {
  list-style: none;
}

.product-features li {
  padding: 0.8rem 0;
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-features li:last-child {
  border-bottom: none;
}

.ingredients-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ingredients-tags span {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--color-background);
  border-radius: 50px;
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid transparent;
  transition: var(--transition);
}

.ingredients-tags span:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.product-actions {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--color-background);
}

.product-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  margin: 4rem 0;
}

/* 購物 CTA */
.shop-cta {
  padding: 5rem 0;
}

/* 響應式 - 平板 */
@media (max-width: 1024px) {
  .page-header {
    padding: 8rem 0 5rem;
  }
  
  .page-header h1 {
    font-size: 2.8rem;
  }
  
  .membership-tiers {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-grid,
  .product-grid.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }
  
  .product-image-large {
    position: relative;
    top: 0;
  }
}

/* 響應式 - 手機 */
@media (max-width: 768px) {
  .page-header {
    padding: 7rem 0 4rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header p {
    font-size: 1.1rem;
  }
  
  .membership-banner {
    padding: 2rem;
  }
  
  .membership-banner h3 {
    font-size: 1.5rem;
  }
  
  .tier {
    padding: 1.5rem;
  }
  
  .product-grid,
  .product-grid.reverse {
    padding: 2rem;
    gap: 2rem;
  }
  
  .product-detail {
    margin-bottom: 4rem;
  }
  
  .product-info-detail h2 {
    font-size: 1.8rem;
  }
  
  .ingredients-tags {
    gap: 0.8rem;
  }
  
  .ingredients-tags span {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}
