@import url(base.css);
.service-range {
  margin: 0 auto;
  margin-top: 60px !important;
  padding: 15px;
}

.oneModel {
  margin-top: 20px !important;
}
.tab-buttons {
  display: flex;
  /*flex-wrap: wrap;*/
  justify-content: center;
  gap: 16px; /* 按钮之间的间距 */
  margin-bottom: 20px;
}
.tab-contents.service-range{
    padding: 0 !important;
}
.tab-btn {
  min-width: 120px;
  padding: 8px 24px;
  border: 2px solid #6daf48; /* 绿色边框 */
  border-radius: 50px; /* 椭圆圆角 */
  background-color: transparent;
  color: #6daf48; /* 文字为绿色 */
  font-size: var(--text-modeltwo-size);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s; /*  hover/激活 过渡动画 */
}
.tab-btn {
  min-width: 150px;
  max-width: 310px;
  padding: 8px 30px;
  border: 1px solid var(--primary);
  border-radius: 6px 25px 6px 25px;
  background-color: transparent;
  color: #4c4b4b;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: var(--text-modeltwo-size);
  font-weight: 600;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 15px;
  @media ( max-width:786px) {
    font-size: 14px !important;
     padding: 8px !important;
      min-width: 100px !important;
        gap: 2px !important;

}
}
@media (max-width:786px) {
            .tab-btn::before{
    width:20px !important;
    height: 20px!important;
}
.tab-btn.tab-btn--active::before{
    width:20px !important;
    height: 20px!important;
}
}
            .tab-btn::before{
    width:30px ;
    height: 30px;
}
.tab-btn.tab-btn--active::before{
    width:30px ;
    height: 30px;
}
.tab-btn:nth-child(1)::before {
  content: "";
  display: flex;
  /*width: 30px;*/
  /*height: 30px;*/
  background-image: url("../assets/images/apply_scene/apply11.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.tab-btn:nth-child(2)::before {
  content: "";
  display: flex;
  /*width: 30px;*/
  /*height: 30px;*/
 background-image: url("../assets/images/apply_scene/apply13.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.tab-btn:nth-child(3)::before {
  content: "";
  display: flex;
  /*width: 30px;*/
  /*height: 30px;*/
  background-image: url("../assets/images/solution/solution_btn3.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.tab-btn.tab-btn--active {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
}
.tab-btn:nth-child(1).tab-btn--active::before {
  content: "";
  display: flex;
  /*width: 30px;*/
  /*height: 30px;*/
 background-image: url("../assets/images/apply_scene/apply12.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.tab-btn:nth-child(2).tab-btn--active::before {
  content: "";
  display: flex;
  /*width: 30px;*/
  /*height: 30px;*/
 background-image: url("../assets/images/apply_scene/apply14.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.tab-btn:nth-child(3).tab-btn--active::before {
  content: "";
  display: flex;
  /*width: 30px;*/
  /*height: 30px;*/
  background-image: url("../assets/images/solution/solution_btn33.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.tab-btn--active {
  background-color: #6daf48; /* 绿色背景 */
  color: #fff; /* 白色文字 */
}

.tab-content {
  display: none;
  /*padding: 20px;*/
  border: 1px solid #eee;
  border-radius: 8px;
}

.tab-content--active {
  display: block;
}

@media (max-width: 768px) {
  .tab-buttons {
    justify-content: center; /* 按钮居中排列 */
  }
  .tab-btn {
    padding: 6px 18px; /* 缩小内边距 */
    font-size: var(--text-modelfive-size); /* 缩小字体 */
  }
  .tab-content {
    /*padding: 15px; */
  }
}
/* 鱼油模块 */
/* 模块容器 */
.fish-oil-section {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* 元素间间距 */
  align-items: center;
}
.model_tit{
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
}
/* 文字内容容器 */
.fish-oil-section .text-container {
  flex: 3; /* 自适应宽度，最小400px */
}
.text-container h2 {
  color: var(--primary); /* 绿色标题 */
  margin-bottom: 15px;
  font-size: var(--text-modeltree-size);
}
.text-container p {
  margin-bottom: 10px;
  font-size: var(--text-modelfive-size);
}
.text-container ul {
  list-style: none; /* 清除默认列表样式 */
}
.text-container li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;

}
.text-container li p{
    margin-bottom: 0;
      font-size: var(--text-modelfive-size);
}
/* 自定义菱形列表标记 */
.text-container li::before {
  content: "";
  background-color: var(--primary);
  flex-shrink: 0;
  display: block;
  width: 10px;
  height: 10px;
  transform: rotateZ(45deg);
  margin: 0 10px;
}
/* 图片/灰色块容器 */
.fish-oil-section .image-container {
  flex: 3; /* 自适应宽度，最小300px */
  padding: 20px 0;
  background-color: #fff;
}
/* 灰色占位块（模拟图片） */
.oil-image {
  width: 100%;
  /*padding-top: 60%;*/
  /*background-color: #c0c0c0;*/
  border-radius: 8px; /* 圆角优化 */
}
/* 移动端适配（屏幕宽度 < 768px 时） */
@media (max-width: 767px) {
  .fish-oil-section {
    flex-direction: column; /* 纵向排列 */
  }
  .text-container,
  .image-container {
    flex: 1 1 auto; /* 自动适应宽度 */
  }
  .text-container h2 {
    font-size: var(--text-modeltwo-size);
  }
  .text-container p,
  .text-container li {
    font-size: var(--text-modelfive-size);
  }
}
/* =========================================鱼油分子蒸馏技术优势 */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}
.feature-card {
  flex: 1 1 calc(25% - 15px); /* PC端四列分布，计算间距后宽度 */
  min-width: 240px; /* 移动端最小宽度 */
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-icon {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon img{
 /*width: 40px;*/
 height: 50px;
}
.feature-title {
  font-size: var(--text-modeltree-size);
  margin-bottom: 10px;
  font-weight: 600;
}
.feature-desc {
    flex: 1;
  font-size: var(--text-modelfive-size);
  line-height: 1.6;
  max-height: 50%;
 color: var(--text);
 display: flex;
 align-items: start;
}

/* 实际应用案例区域样式 */
.case-section {
  /*background-color:  var(--primary);*/
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.case-title {
  font-size: var(--text-modeltwo-size);
  margin-bottom: 20px;
  font-weight: 600;
 color: var(--text);
}
.case-desc {
  font-size: var(--text-modelfive-size);
  margin-bottom: 15px;
color: var(--text);
}
.case-results {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.result-card {
  flex: 1 1 calc(25% - 15px); /* PC端四列分布，计算间距后宽度 */
  min-width: 220px; /* 移动端最小宽度 */
  padding: 20px;
  background-color: #f1f8f0;
  border-radius: 6px;
}
.result-title {
  font-size: var(--text-modelfour-size);
  margin-bottom: 10px;
  font-weight: 600;
  color: #484848;
}
.result-desc {
  font-size: var(--text-modelfive-size);
  line-height: 1.5;
color: var(--text);
}

/* 移动端响应式适配（屏幕宽度 < 768px） */
@media (max-width: 767px) {
  .feature-card,
  .result-card {
    flex: 1 1 100%; /* 移动端单列占满宽度 */
  }
  .case-section {
    padding: 20px 15px;
  }
  .case-title {
    font-size: var(--text-modeltwo-size);
  }
}
/* =========================鱼油产品应用领域 */

.product-cards {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 30px;
  justify-content: center;
}
.product-card {
  flex: 1 1 300px;
  max-width: 350px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
/*.card-image {*/
/*  height: 200px;*/
/*  background-color: #7cb342;*/
/*}*/
.product-cards .card-contents {
    height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.card-contents .card-title {
    flex: 1;
  font-size: var(--text-modeltree-size);
  margin-bottom: 10px;
  font-weight: 600;
color: var(--text);
  padding: 0;
}
.card-contents .card-desc {
    flex: 1;
  font-size: var(--text-modelfive-size);
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 15px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.card-tags .tag {
  padding: 4px 10px;
  font-size: var(--text-modelsix-size);
color: var(--primary);
  border: 1px solid #e8f5e9;
  background-color: #f1f8e9;
  border-radius: 20px;
}
@media (max-width: 767px) {
  .product-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .card-image {
    height: 150px;
  }
}
/* ========================== 二酯油分子蒸馏制备*/
.diester-oil-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.diester-image {
  flex: 3;
  /*background-color: #c0c0c0;*/
  display: flex;
  align-items: center;
    border-radius: 8px;
}
.diester-image img{
width: 100%;
    border-radius: 8px;
}

.diester-text {
  flex: 3;
  padding: 30px;
}

.diester-text h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: var(--text-modeltree-size);
}

.diester-text p {
  margin-bottom: 20px;
  line-height: 1.2;
color: var(--text);
  font-size: var(--text-modelfour-size);
}

.diester-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.diester-tags .tag {
  padding: 6px 15px;
  background-color: #f1f8e9;
  color:  var(--primary);
  border-radius: 20px;
  font-size: var(--text-modelfive-size);
}

@media (max-width: 767px) {
  .diester-oil-section {
    flex-direction: column;
  }

  .diester-image {
    height: 200px;
    flex: 1 1 auto;
  }

  .diester-text {
    flex: 1 1 auto;
    padding: 20px;
  }

  .diester-text h2 {
    font-size: var(--text-modeltwo-size);
  }

  .diester-text p {
    font-size: var(--text-modelfive-size);
  }
}
/* ===============================分子蒸馏技术在二酯油制备中的优势 */
.advantage_content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 450px;
  min-width: 300px;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 20px;
}

.header-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f8e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.header-icon .check img{
width: 50px;
}

.advantage_content .card-title {
  font-size: var(--text-modeltree-size);
  color: var(--primary);
  font-weight: 600;
  padding: 0;
  margin-top: 10px ;
}

.advantage_content .card-desc {
  margin-bottom: 20px;
  line-height: 1.6;
 color: var(--text);
  font-size: var(--text-modelfive-size);
  text-align: left !important;
}

.card-advantage {
  list-style: none;
}

.card-advantage li strong {
  font-size: var(--text-modelfive-size);
}
.card-advantage li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
  color: var(--text);
  font-size: var(--text-modelfive-size);
  text-align: left;
}
/* TODO 添加图标 */
.card-advantage li::before {
  display: block;
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("../assets/images/apply_scene/apply6.png");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 2px;
}

@media (max-width: 767px) {
  .card {
    flex: 1 1 100%;
  }
  .card-title {
    font-size: var(--text-modeltree-size);
  }
  .card-desc,
  .card-advantage li {
    font-size: var(--text-modelsix-size);
  }
}
/* ========================二酯油分子蒸馏技术特点 */

.trait_cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  
}

.trait_cards .card {
  flex: 1 1 250px;
  min-width: 240px;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
align-items: center;  
justify-content: space-between;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  
}
.card-icon img{
height: 40px;
  
}
.trait_cards  .card-title {
  font-size: var(--text-modeltree-size);
  margin-bottom: 10px;
  font-weight: 600;
  flex: 1;
}

.trait_cards .card-desc {
    flex:1;
    min-height:50% ;
  font-size: var(--text-modelfive-size);
  line-height: 1.6;
 color: var(--text);
}

@media (max-width: 767px) {
  .card {
    flex: 1 1 100%;
  }
  .card-icon {
    font-size: calc(var(--banner-size) - 2);
  }
  .card-title {
    font-size: var(--text-modelfour-size);
  }
  .card-desc {
    font-size: var(--text-modelfive-size);
  }
}
/* ============================ 二酯油主要应用领域*/
.product-container {
  /* max-width: 1200px;
  margin: 0 auto; */
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  /* justify-content: center; */
}

.product-card {
  flex: 1 1 300px;
  max-width: 350px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/*.card-image {*/
/*  height: 180px;*/
/*  background-color: var(--primary);*/
/*}*/

.card-contents {
  padding: 20px;
}

.card-title {
  font-size: var(--text-modeltree-size);
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text);
}

.product-container .card-contents .card-desc {
  font-size: var(--text-modelfive-size);
  line-height: 1.6;
color: var(--primary);
  margin-bottom: 15px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 4px 10px;
  font-size: var(--text-modelsix-size);
  color: var(--primary);
  border: 1px solid #e8f5e9;
  background-color: #f1f8e9;
  border-radius: 20px;
}

@media (max-width: 767px) {
  .product-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .card-image {
    height: 150px;
  }
}
/* ================================= 功能性油脂分子蒸馏加工*/
/* 容器：响应式 Flex 布局 */
.process_functionality {
  display: flex;
  flex-direction: row; /* PC端：左右排列 */
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 文本内容区 */
.text-content {
  flex: 3; /* 占剩余宽度 */
}

.text-content h1 {
  color:  var(--primary);
  margin-bottom: 20px;
  font-size: var(--text-model-size);
}

.text-content p {
  margin-bottom: 15px;
  font-size: var(--text-modelfour-size);
}

/* 自定义列表符号（菱形） */
.text-content ul {
  list-style-type: none;
}

.text-content ul li {
  margin-bottom: 10px;
  position: relative;
  font-size: var(--text-modelfive-size);
  gap: 15px;
  display: flex;
  align-items: center;
}

.text-content ul li::before {
  content: "";
  background-color: var(--primary);
  display: block;
  width: 10px;
  height: 10px;
  transform: rotateZ(45deg);
  margin: 0 10px;
}

/* 图片/占位区 */
.image-container {
  flex: 3; /* 占剩余宽度 */
   display: flex;
  align-items: center;
  border-radius: 8px;
}
.image-container img{
  width: 100%;
}
/* 移动端适配：屏幕宽度 < 768px 时 */
@media (max-width: 768px) {
  .container {
    flex-direction: column; /* 移动端：上下排列 */
  }
  .text-content h1 {
    font-size: var(--text-modeltwo-size);
  }
  .text-content p,
  .text-content ul li {
    font-size: var(--text-modelfive-size);
  }
  .image-container {
    min-height: 200px; /* 缩小高度 */
    margin-top: 20px; /* 增加间距 */
  }
}
/* ===================功能性油脂加工案例 */
.case-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
}

/* 标题样式 */
.case-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text);
}

/* 副标题样式 */
.case-subtitle {
  font-size: 16px;
color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* 卡片容器：Flex 布局实现响应式 */
.cards-container {
  display: flex;
  flex-wrap: wrap; /* 自动换行，适配小屏幕 */
  gap: 20px; /* 卡片之间的间距 */
}

/* 单个卡片样式 */
.card {
  flex: 1 1 calc(25% - 15px); /* PC端：4张卡片均分，减去间距 */
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* 轻微阴影增强层次 */
}

/* 卡片标题 */
.card-contents  .card-title {
    flex: 1;
  font-size: 18px;
  margin-bottom: 10px;
color: var(--text);
}

/* 卡片内容 */
.card-contents {
  font-size: 14px;
color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* 移动端响应式（屏幕宽度 ≤ 768px 时） */
@media (max-width: 768px) {
  .case-title {
    font-size: 20px; /* 缩小标题字号 */
  }
  .case-subtitle {
    font-size: 14px; /* 缩小副标题字号 */
  }
  .cards-container {
    flex-direction: column; /* 垂直排列卡片 */
  }
  .card {
    flex: 1 1 100%; /* 单个卡片占满宽度 */
    margin-bottom: 15px; /* 垂直方向增加间距 */
  }
  .card-title {
    font-size: 16px; /* 缩小卡片标题字号 */
  }
  .card-contents {
    font-size: 13px; /* 缩小卡片内容字号 */
  }
}


