/* =========================================
   通用区块标题（页面内私有覆盖）
   1) 3) section-title 文字居中
   ========================================= */
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title span {
  color: var(--color-primary-mid);
  font-weight: 400;
}

/* =========================================
   通用 section 间距（页面内私有）
   ========================================= */
.section {
  padding: 56px 0;
}

/* =========================================
   面包屑
   ========================================= */
.breadcrumb-bar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}

/* =========================================
   Hero 横幅
   ========================================= */
.hero {
  background: linear-gradient(135deg, #f0f7f3 0%, var(--color-primary-bg) 50%, #f5fbf7 100%);
  overflow: hidden;
  min-height: 320px;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 0;
}
.hero-content {
  flex: 1;
  padding-bottom: 48px;
}
.hero-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--color-text-mid);
  margin-bottom: 36px;
}
.hero-features {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hero-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-mid);
  font-size: 16px;
  flex-shrink: 0;
}
.hf-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}
.hf-desc {
  font-size: 12px;
  color: var(--color-text-light);
}
.hero-image {
  flex: 0 0 480px;
  max-width: 480px;
  align-self: flex-end;
}
.hero-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  min-height: 260px;
}

/* =========================================
   核心优势
   ========================================= */
.core-advantages {
  background: var(--color-white);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.advantage-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.advantage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
/* 2) adv-icon：icon 变大，去掉绿色背景 */
.adv-icon {
  width: 64px;
  height: 64px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--color-primary-mid);
  font-size: 34px;
}
.advantage-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.advantage-card p {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* =========================================
   解决方案流程
   ========================================= */
.solution-process {
  background: var(--color-bg);
}
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.process-step {
  text-align: center;
  flex: 0 0 130px;
}
/* 4) step-icon：icon 变大，去掉绿色背景 */
.step-icon {
  width: 68px;
  height: 68px;
  background: transparent;
  border-radius: 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--color-primary-mid);
  font-size: 36px;
}
.process-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.process-step p {
  font-size: 11px;
  color: var(--color-text-light);
  line-height: 1.6;
}
.process-arrow {
  color: var(--color-primary-mid);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: -28px;
}

/* =========================================
   核心成分与功效
   5) ingredients-layout：文字内容匀称好看，突出重点
   ========================================= */
.core-ingredients {
  background: var(--color-white);
}
.ingredients-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.ingredients-tabs {
  flex: 0 0 130px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ing-tab {
  display: block;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-mid);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  background: none;
}
.ing-tab:hover {
  background: var(--color-primary-bg);
  color: var(--color-primary);
}
.ing-tab.active {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}
.ingredients-content {
  flex: 1;
}
.ing-images-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.ing-img-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  min-height: 120px;
}
.ing-cards-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.ing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
}
.ing-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.ing-subtitle {
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 10px;
  line-height: 1.5;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}
.ing-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ing-card ul li {
  font-size: 12px;
  color: var(--color-text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ing-card ul li i {
  color: var(--color-primary-mid);
  font-size: 11px;
  flex-shrink: 0;
}
.ing-more-link {
  text-align: center;
}
.ing-more-link a {
  font-size: 16px;
  color: var(--color-primary-mid);
  font-weight: 600;
  transition: color var(--transition);
}
.ing-more-link a:hover { color: var(--color-primary); }

/* =========================================
   产品推荐
   6) 图片区域去掉绿色背景，卡片变大
   ========================================= */
.product-recommend {
  background: var(--color-bg);
}
.product-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.product-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  flex: 1;
}
.product-card {
  flex: 0 0 calc(20% - 16px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-img-wrap {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: transparent;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}
.product-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 5px;
}
.product-inci {
  font-size: 11px;
  color: var(--color-text-light);
  margin-bottom: 10px;
  line-height: 1.4;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.btn-learn {
  display: inline-block;
  font-size: 13px;
  color: var(--color-primary-mid);
  font-weight: 600;
  transition: color var(--transition);
}
.btn-learn:hover { color: var(--color-primary); }
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-mid);
  font-size: 16px;
  flex-shrink: 0;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.section-more-link {
  text-align: center;
  margin-top: 24px;
}
.section-more-link a {
  font-size: 16px;
  color: var(--color-primary-mid);
  font-weight: 600;
  transition: color var(--transition);
}
.section-more-link a:hover { color: var(--color-primary); }

/* =========================================
   应用建议
   7) app-products 整体变大，图标更大，文字更清晰
   ========================================= */
.application-advice {
  background: var(--color-white);
}
.application-layout {
  display: flex;
  gap: 40px;
  align-items: stretch;
}
.app-products {
  flex: 1;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
}
.app-product-item {
  text-align: center;
  flex: 1;
  min-width: 110px;
  max-width: 160px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.app-product-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-product-icon svg {
  width: 72px;
  height: 72px;
  display: block;
}
.app-product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}
.app-product-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.app-product-dosage {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}
.app-formula-box {
  flex: 0 0 300px;
  background: #ffffff;
  border: 1px solid var(--color-primary-bg2);
  border-left: 4px solid #000000;
  border-radius: var(--radius-md);
  padding: 28px;
}
.app-formula-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.app-formula-box p {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* =========================================
   通用按钮
   ========================================= */
.btn-primary {
  display: inline-block;
  padding: 10px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background: var(--color-primary-mid);
  transform: translateY(-1px);
}

/* =========================================
   CTA 区块
   8) 背景图（路径用户自行填写），删除右侧图片
   ========================================= */
.cta-section {
  background-image: url('images/cta-bg.jpg');  /* 请将此路径替换为您的背景图路径 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
/* 半透明遮罩，保证文字可读 */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 0;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
}
.cta-content {
  flex: 1;
}
.cta-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
}
.cta-content > p {
  font-size: 16px;
  color: var(--color-text-mid);
  margin-bottom: 22px;
}
.cta-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-features span {
  font-size: 15px;
  color: var(--color-text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cta-features span i {
  color: var(--color-primary-mid);
}
/* 8) 删除右侧图片 */
.cta-image {
  display: none;
}

/* =========================================
   响应式
   ========================================= */
@media (max-width: 1100px) {
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; gap: 0; }
  .hero-image { flex: none; max-width: 100%; width: 100%; }
  .hero-image img { border-radius: 0; height: 200px; }
  .ingredients-layout { flex-direction: column; }
  .ingredients-tabs { flex-direction: row; flex: none; flex-wrap: wrap; }
  .ing-images-row { grid-template-columns: repeat(3, 1fr); }
  .ing-cards-row { grid-template-columns: repeat(3, 1fr); }
  .product-card { flex: 0 0 calc(33.33% - 14px); }
  .application-layout { flex-direction: column; }
  .app-formula-box { flex: none; width: 100%; }
  .cta-inner { flex-direction: column; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 26px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { gap: 4px; }
  .process-step { flex: 0 0 90px; }
  .process-arrow { font-size: 14px; }
  .ing-images-row,
  .ing-cards-row { grid-template-columns: repeat(2, 1fr); }
  .product-card { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 480px) {
  .hero-features { gap: 16px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); margin: 0; }
  .ing-images-row,
  .ing-cards-row { grid-template-columns: 1fr; }
  .product-card { flex: 0 0 100%; }
}
