/* 子页面公共头部模块开始 */
.page_hd {
  width: 1004px;
  height: 45px;
  margin: 15px auto;
  background: url(../image/page_hd.gif) repeat-x left bottom;
}

.page_hd h2 {
  display: inline-block;
  padding-bottom: 6px;
  margin-top: 5px;
  font-size: 22px;
  font-weight: normal;
  text-align: left;
  color: #1e0906;
}

.page_hd p {
  display: inline-block;
  margin-left: 751px;
  font-size: 12px;
  color: #591b09;
}

.page_hd p span a {
  color: #591b09;
}

/* 子页面公共头部模块结束 */
/* -------------------------------------------------------- */
/* 子页面搜索模块开始 */
.search-form-wrap {
  width: 700px;
  margin: 0 auto;
  padding: 10px 0 0 0;
}

.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: #912f02;
}

.search-btn {
  padding: 10px 30px;
  background: #912f02;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.product_ds .product_sc button:hover,
.news_ds .news_sc button:hover,
.health_ds .health_sc button:hover,
.honor_ds .honor_sc button:hover,
.base_ds .base_sc button:hover,
.message ul li button:hover,
.search-btn:hover {
  background: #ad3907;
}

.search-result-list {
  width: 700px;
  margin: 0 auto;
}

.search-no-result {
  text-align: center;
  color: #999;
  padding: 40px 0;
  font-size: 16px;
}

.search-result-item {
  border-bottom: 1px solid #eee;
}

.search-result-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.search-result-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 10px;
  font-weight: 500;
  color: #333;
}

.search-result-meta {
  flex-shrink: 0;
  white-space: nowrap;
  color: #999;
  font-size: 12px;
}

.search-result-title:hover,
.search-result-meta:hover {
  color: #912f02 !important;
}

/* 子页面搜索模块结束 */
/* -------------------------------------------------------- */
/* 子页面关于模块开始 */
.about {
  width: 1004px;
  margin: 0 auto 50px auto;
}

.about p {
  width: 100%;
  font-size: 14px;
  line-height: 28px;
  text-align: justify;
  text-indent: 2em;
  overflow: hidden;
  color: #666666;
}

/* 子页面关于模块结束 */
/* -------------------------------------------------------- */
/* 子页面产品展示模块开始 */
.product_ds {
  width: 1004px;
  height: 720px;
  margin: 0 auto 100px auto;
}

.product_ds ul {
  width: 100%;
  max-height: 664px;
  min-height: 170px;
  overflow: hidden;
}

.product_ds ul li {
  display: inline-block;
  width: 244.2px;
  height: 215px;
  text-align: center;
}

.product_ds ul li:nth-child(4n+1) {
  margin-left: 6.5px;
}

.product_ds ul li:nth-child(n+5) {
  margin-top: 6.5px;
}

.product_ds ul li a img {
  width: 215px;
  height: 162px;
  border-radius: 5px;
}

.product_ds ul li span {
  display: block;
  width: 100%;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  color: #737373;
}

.product_ds .product_sc {
  margin-top: 24px;
  width: 100%;
  height: 32px;
  text-align: center;
}

.product_ds .product_sc button,
.product_ds .product_sc p {
  width: 62px;
  height: 100%;
  font-size: 14px;
  border-radius: 2px;
  vertical-align: middle;
  line-height: 32px;
  background-color: #912f02;
  color: #ffffff;
  transition: background 0.3s;
}

.product_ds .product_sc p {
  display: inline-block;
  width: 52px;
  margin: 0 5px;
  overflow: hidden;
}

/* 子页面产品展示模块结束 */
/* -------------------------------------------------------- */
/* 子页面产品详情模块开始 */
.product_dt {
  width: 1004px;
  height: 530px;
  margin: 0 auto 100px auto;
}

.product_dt .img_title {
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-size: 20px;
  font-family: "Microsoft YaHei";
  font-weight: bold;
  text-align: center;
  color: #343434;
}

.product_dt .product_img {
  display: flex;
  width: 520px;
  height: 340px;
  margin: 20px auto 0 auto;
  align-items: center;
  border-radius: 5px;
  overflow: hidden;
}

.product_dt .product_img img {
  width: 100%;
  height: auto;
}

.product_dt .back_list {
  display: block;
  width: 138px;
  height: 39px;
  border-radius: 4px;
  margin: 80px auto 0 auto;
  line-height: 39px;
  font-size: 14px;
  font-family: "Microsoft YaHei";
  text-align: center;
  background-color: #912f02;
  color: #ffffff;
}

/* 子页面产品详情模块结束 */
/* -------------------------------------------------------- */
/* 子页面新闻资讯模块开始 */
.news_ds {
  width: 700px;
  height: 456px;
  margin: 0 auto 100px auto;
}

.news_ds ul {
  max-height: 400px;
  min-height: 170px;
}

.news_ds ul li {
  width: 100%;
  height: 40px;
  font-size: 14px;
  font-family: "Microsoft YaHei";
  line-height: 40px;
  border-bottom: 1px dashed #ccc;
  color: #737373;
  transition: transform 0.3s ease-in-out;
}

.news_ds ul li:hover {
  transform: translateX(50px);
  color: #912f02;
}

.news_ds ul li a {
  display: block;
  width: 100%;
  height: 100%;
}

.news_ds ul li a span:nth-child(1) {
  float: left;
  width: 500px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news_ds ul li a span:nth-child(2) {
  float: right;
}

.news_ds .news_sc {
  margin-top: 24px;
  width: 100%;
  height: 32px;
  text-align: center;
}

.news_ds .news_sc button,
.news_ds .news_sc p {
  width: 62px;
  height: 100%;
  font-size: 14px;
  border-radius: 2px;
  vertical-align: middle;
  line-height: 32px;
  background-color: #912f02;
  color: #ffffff;
  transition: background 0.3s;
}

.news_ds .news_sc p {
  display: inline-block;
  width: 52px;
  margin: 0 5px;
  overflow: hidden;
}

/* 子页面新闻资讯模块结束 */
/* -------------------------------------------------------- */
/* 子页面新闻详情模块开始 */
.news_dt {
  width: 700px;
  margin: 0 auto 100px auto;
}

.news_dt .news_title {
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-size: 20px;
  font-family: "Microsoft YaHei";
  font-weight: bold;
  text-align: center;
  color: #343434;
}


.news_dt .news_txt p {
  width: 100%;
  font-size: 14px;
  line-height: 28px;
  text-align: justify;
  text-indent: 2em;
  overflow: hidden;
  color: #666666;
}

.news_dt .back_list {
  display: block;
  width: 138px;
  height: 39px;
  border-radius: 4px;
  margin: 80px auto 0 auto;
  line-height: 39px;
  font-size: 14px;
  font-family: "Microsoft YaHei";
  text-align: center;
  background-color: #912f02;
  color: #ffffff;
}

/* 子页面新闻详情模块结束 */
/* -------------------------------------------------------- */
/* 子页面养生功效模块开始 */
.health_ds {
  width: 700px;
  height: 456px;
  margin: 0 auto 100px auto;
}

.health_ds ul {
  max-height: 400px;
  min-height: 170px;
}

.health_ds ul li {
  width: 100%;
  height: 40px;
  font-size: 14px;
  font-family: "Microsoft YaHei";
  line-height: 40px;
  border-bottom: 1px dashed #ccc;
  color: #737373;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
  text-overflow: ellipsis;
}

.health_ds ul li:hover {
  transform: translateX(50px);
  color: #912f02;
}

.health_ds ul li a {
  display: block;
  width: 100%;
  height: 100%;
}

.health_ds ul li span:nth-child(1) {
  float: left;
  width: 500px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.health_ds ul li span:nth-child(2) {
  float: right;
}

.health_ds .health_sc {
  margin-top: 24px;
  width: 100%;
  height: 32px;
  text-align: center;
}

.health_ds .health_sc button,
.health_ds .health_sc p {
  width: 62px;
  height: 100%;
  font-size: 14px;
  border-radius: 2px;
  vertical-align: middle;
  line-height: 32px;
  background-color: #912f02;
  color: #ffffff;
  transition: background 0.3s;
}

.health_ds .health_sc p {
  display: inline-block;
  width: 52px;
  margin: 0 5px;
  overflow: hidden;
}

/* 子页面养生功效模块结束 */
/* -------------------------------------------------------- */
/* 子页面养生功效详情模块开始 */
.health_dt {
  width: 700px;
  margin: 0 auto 100px auto;
}

.health_dt .health_title {
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-size: 20px;
  font-family: "Microsoft YaHei";
  font-weight: bold;
  text-align: center;
  color: #343434;
}


.health_dt .health_txt p {
  width: 100%;
  font-size: 14px;
  line-height: 28px;
  text-align: justify;
  text-indent: 2em;
  overflow: hidden;
  color: #666666;
}

.health_dt .back_list {
  display: block;
  width: 138px;
  height: 39px;
  border-radius: 4px;
  margin: 80px auto 0 auto;
  line-height: 39px;
  font-size: 14px;
  font-family: "Microsoft YaHei";
  text-align: center;
  background-color: #912f02;
  color: #ffffff;
}

/* 子页面养生功效详情模块结束 */
/* -------------------------------------------------------- */
/* 子页面资质荣誉模块开始 */
.honor_ds {
  width: 1004px;
  height: 720px;
  margin: 0 auto 100px auto;
}

.honor_ds ul {
  width: 100%;
  max-height: 664px;
  min-height: 170px;
  overflow: hidden;
}

.honor_ds ul li {
  display: inline-block;
  width: 244.2px;
  height: 215px;
  text-align: center;
}

.honor_ds ul li:nth-child(4n+1) {
  margin-left: 6.5px;
}

.honor_ds ul li:nth-child(n+5) {
  margin-top: 6.5px;
}

.honor_ds ul li a img {
  width: 215px;
  height: 162px;
  border-radius: 5px;
}

.honor_ds ul li span {
  display: block;
  width: 100%;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  color: #737373;
}

.honor_ds .honor_sc {
  margin-top: 24px;
  width: 100%;
  height: 32px;
  text-align: center;
}

.honor_ds .honor_sc button,
.honor_ds .honor_sc p {
  width: 62px;
  height: 100%;
  font-size: 14px;
  border-radius: 2px;
  vertical-align: middle;
  line-height: 32px;
  background-color: #912f02;
  color: #ffffff;
  transition: background 0.3s;
}

.honor_ds .honor_sc p {
  display: inline-block;
  width: 52px;
  margin: 0 5px;
  overflow: hidden;
}

/* 子页面资质荣誉模块结束 */
/* -------------------------------------------------------- */
/* 子页面荣誉详情模块开始 */
.honor_dt {
  width: 1004px;
  height: 530px;
  margin: 0 auto 100px auto;
}

.honor_dt .img_title {
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-size: 20px;
  font-family: "Microsoft YaHei";
  font-weight: bold;
  text-align: center;
  color: #343434;
}

.honor_dt .honor_img {
  display: flex;
  width: 520px;
  height: 340px;
  margin: 20px auto 0 auto;
  align-items: center;
  border-radius: 5px;
  overflow: hidden;
}

.honor_dt .honor_img img {
  width: 100%;
  height: auto;
}

.honor_dt .back_list {
  display: block;
  width: 138px;
  height: 39px;
  border-radius: 4px;
  margin: 80px auto 0 auto;
  line-height: 39px;
  font-size: 14px;
  font-family: "Microsoft YaHei";
  text-align: center;
  background-color: #912f02;
  color: #ffffff;
}

/* 子页面荣誉详情模块结束 */
/* -------------------------------------------------------- */
/* 子页面基地展示模块开始 */
.base_ds {
  width: 1004px;
  height: 720px;
  margin: 0 auto 100px auto;
}

.base_ds ul {
  width: 100%;
  max-height: 664px;
  min-height: 170px;
  overflow: hidden;
}

.base_ds ul li {
  display: inline-block;
  width: 244.2px;
  height: 215px;
  text-align: center;
}

.base_ds ul li:nth-child(4n+1) {
  margin-left: 6.5px;
}

.base_ds ul li:nth-child(n+5) {
  margin-top: 6.5px;
}

.base_ds ul li a img {
  width: 215px;
  height: 162px;
  border-radius: 5px;
}

.base_ds ul li span {
  display: block;
  width: 100%;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  color: #737373;
}

.base_ds .base_sc {
  margin-top: 24px;
  width: 100%;
  height: 32px;
  text-align: center;
}

.base_ds .base_sc button,
.base_ds .base_sc p {
  width: 62px;
  height: 100%;
  font-size: 14px;
  border-radius: 2px;
  vertical-align: middle;
  line-height: 32px;
  background-color: #912f02;
  color: #ffffff;
  transition: background 0.3s;
}

.base_ds .base_sc p {
  display: inline-block;
  width: 52px;
  margin: 0 5px;
  overflow: hidden;
}

/* 子页面基地展示模块结束 */
/* -------------------------------------------------------- */
/* 子页面展示详情模块开始 */
.base_dt {
  width: 1004px;
  height: 530px;
  margin: 0 auto 100px auto;
}

.base_dt .img_title {
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-size: 20px;
  font-family: "Microsoft YaHei";
  font-weight: bold;
  text-align: center;
  color: #343434;
}

.base_dt .base_img {
  display: flex;
  width: 520px;
  height: 340px;
  margin: 20px auto 0 auto;
  align-items: center;
  border-radius: 5px;
  overflow: hidden;
}

.base_dt .base_img img {
  width: 100%;
  height: auto;
}

.base_dt .back_list {
  display: block;
  width: 138px;
  height: 39px;
  border-radius: 4px;
  margin: 80px auto 0 auto;
  line-height: 39px;
  font-size: 14px;
  font-family: "Microsoft YaHei";
  text-align: center;
  background-color: #912f02;
  color: #ffffff;
}

/* 子页面展示详情模块结束 */
/* -------------------------------------------------------- */
/* 子页面在线留言模块开始 */
.message {
  width: 700px;
  height: 395px;
  margin: 0 auto 100px auto;
  overflow: hidden;
}

.message ul li {
  width: 100%;
  height: 45px;
  margin-top: 20px;
}

.message ul li span,
.message ul li input,
.message ul li textarea,
.message ul li button {
  display: inline-block;
  width: 150px;
  height: 45px;
  font-size: 14px;
  line-height: 45px;
  vertical-align: middle;
  color: #666666;
  font-family: "Microsoft YaHei";
}

.message ul li span:nth-child(1) {
  text-align: right;
}

.message ul li span:nth-child(3) {
  display: none;
  text-align: left;
  color: #ff2200;
}

.message ul li input {
  border-radius: 2px;
  border: 1px solid #eeeeee;
  margin: 0 10px;
  text-indent: 10px;
  background-color: #ffffff;
}

.message ul li:nth-child(2) {
  width: 100%;
  height: 160px;
}

.message ul li textarea {
  width: 280px;
  height: 160px;
  border-radius: 2px;
  padding: 3%;
  margin: 0 10px;
  border: 1px solid #eeeeee;
  line-height: 25px;
  background-color: #ffffff;
}

.message ul li:nth-child(2) span:nth-child(1) {
  vertical-align: top;
}

.message ul li:nth-child(2) span:nth-child(3) {
  padding-top: 15px;
  vertical-align: bottom;
}

.message ul li button {
  width: 120px;
  height: 45px;
  border-radius: 2px;
  color: #ffffff;
  background-color: #912f02;
}

.message ul li button:nth-child(1) {
  margin: 0 10px 0 165px;
}

/* 子页面在线留言模块结束 */
/* -------------------------------------------------------- */
/* 子页面联系我们模块开始 */
.rln_we {
  width: 700px;
  height: 190px;
  margin: 50px auto 100px auto;
}

.rln_we ul li {
  width: 100%;
  height: 28px;
  margin-bottom: 10px;
  overflow: hidden;
}

.rln_we ul li span {
  font-size: 14px;
  line-height: 28px;
  color: #666666;
}

.rln_we ul li span:nth-child(2) {
  user-select: text;
}

/* 子页面联系我们模块结束 */

/* ========== 图片上传预览与放大查看 ========== */
.img-preview-wrap {
  position: relative;
  width: 100px;
  display: inline-block;
  vertical-align: top;
}

.img-preview {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.img-preview:hover {
  opacity: 0.85;
}

.img-change-btn {
  text-align: center;
  font-size: 12px;
  color: var(--primary);
  margin-top: 6px;
  cursor: pointer;
  line-height: 1;
}

.img-change-btn:hover {
  text-decoration: underline;
}

/* 图片放大查看遮罩 */
.img-viewer-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: zoom-out;
  overflow: hidden;
}

.img-viewer-mask.show {
  display: flex;
}

.img-viewer-mask img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform-origin: center center;
  transition: transform 0.08s ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

/* 移动端公共样式 */
@media screen and (max-width: 768px) {
  .page_hd {
    width: 100%;
    height: 30px;
    margin-top: 65px;
  }

  .page_hd h2 {
    margin-left: 3%;
    font-size: 16px;
  }

  .page_hd p {
    float: right;
    margin-left: 0;
    margin-right: 3%;
    font-size: 12px;
    line-height: 30px;
    color: #591b09;
  }

  .about {
    width: 100%;
    min-height: 128px;
    overflow: hidden;
    font-size: 15px;
    margin-top: 6%;
    padding: 0 5% 10%;
  }

  .about p {
    margin: 0% auto;
    font: 16.5px / 2.1 "microsoft yahei";
    color: #1d1d1d;
  }

  .product_ds,
  .honor_ds,
  .base_ds {
    width: 100%;
    height: auto;
  }

  .product_ds ul,
  .honor_ds ul,
  .base_ds ul {
    max-height: none;
  }

  .product_ds ul li,
  .honor_ds ul li,
  .base_ds ul li {
    margin-top: 0 !important;
    width: 45%;
    height: 150px;
    overflow: hidden;
  }

  .product_ds ul li a,
  .honor_ds ul li a,
  .base_ds ul li a {
    display: block;
    width: 100%;
    height: 120px;
  }

  .product_ds ul li a img,
  .honor_ds ul li a img,
  .base_ds ul li a img {
    width: 100%;
    height: 120px;
  }

  .product_ds ul li:nth-child(2n+1),
  .honor_ds ul li:nth-child(2n+1),
  .base_ds ul li:nth-child(2n+1) {
    float: left;
    margin-left: 3%;
  }

  .product_ds ul li:nth-child(2n),
  .honor_ds ul li:nth-child(2n),
  .base_ds ul li:nth-child(2n) {
    float: right;
    margin-right: 3%;
  }

  .product_ds ul li span,
  .honor_ds ul li span,
  .base_ds ul li span {
    line-height: 30px;
  }

  .product_dt,
  .honor_dt,
  .base_dt {
    width: 100%;
    height: 530px;
    margin: 0 auto 100px auto;
  }

  .product_dt .product_img,
  .honor_dt .honor_img,
  .base_dt .base_img {
    width: 80%;
    height: auto;
  }

  .news_ds,
  .health_ds {
    width: 100%;
  }

  .news_ds ul li,
  .health_ds ul li {
    padding: 0 5px;
  }

  .news_ds ul li:hover,
  .health_ds ul li:hover {
    transform: none;
    color: #737373;
  }

  .news_ds ul li a span:nth-child(1),
  .health_ds ul li a span:nth-child(1) {
    width: 220px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .news_dt,
  .health_dt {
    width: 100%;
  }

  .news_dt .news_title,
  .health_dt .health_title {
    padding: 0 5%;
    line-height: 25px;
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .news_dt .news_txt p,
  .health_dt .health_txt p {
    font: 16.5px / 2.1 "microsoft yahei";
    padding: 0 5%;
    color: #1d1d1d;
  }

  .message {
    width: 100%;
  }

  .message ul li span:nth-child(1) {
    text-align: right;
    width: 16%;
  }

  .message ul li span:nth-child(3) {
    display: none !important;
  }

  .message ul li textarea {
    width: 60%;
    transition: border-color 0.3s;
  }

  .message ul li input {
    transition: border-color 0.3s;
  }

  .message ul li input:focus,
  .message ul li textarea:focus {
    border: 1px solid #912f02;
    caret-color: #3ea7ee;
  }

  .message ul li:nth-child(4) {
    text-align: center;
  }

  .message ul li button:nth-child(1) {
    margin: 0 30px;
  }

  .rln_we {
    width: 100%;
  }

  .rln_we ul {
    width: 55%;
    margin: auto;
  }

  .rln_we ul li span {
    color: #1d1d1d;
  }

  .search-form-wrap {
    width: 90%;
  }

  .search-result-list .news_ds ul li a span:nth-child(1) {
    width: 133px;
  }

  .search-result-title:hover {
    color: #333 !important;
  }

  .search-result-meta:hover {
    color: #999 !important;
  }

  .search-result-list {
    width: 90%;
  }

  .product_ds .product_sc button:hover,
  .news_ds .news_sc button:hover,
  .health_ds .health_sc button:hover,
  .honor_ds .honor_sc button:hover,
  .base_ds .base_sc button:hover,
  .message ul li button:hover,
  .search-btn:hover {
    background: #912f02;
  }

  .product_ds .product_sc button:active,
  .news_ds .news_sc button:active,
  .health_ds .health_sc button:active,
  .honor_ds .honor_sc button:active,
  .base_ds .base_sc button:active,
  .message ul li button:active,
  .search-btn:active {
    background: #ad3907;
  }
}