/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s;
}

a:hover {
    color: #004499;
}

img {
    max-width: 100%;
    height: auto;
}
.footer{width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #004499;
    color: white;
}

.text-center {
    text-align: center;
    margin-bottom: 30px;
}

/* 头部样式 */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo h1 {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 5px;
}

.logo p {
    font-size: 12px;
    color: #666;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

.main-nav a:hover, .main-nav .active a {
    color: #0066cc;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/ban02.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 70px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* 产品展示 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #0066cc;
    margin: 15px auto 0;
}

.featured-products {
    padding: 50px 0;
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px 20px 5px;
    font-size: 20px;
}

.product-card .price {
    padding: 0 20px 15px;
    font-size: 18px;
    color: #e74c3c;
    font-weight: bold;
}

.product-card .btn {
    display: block;
    margin: 0 20px 20px;
}

/* 关于我们 */
.about-section {
    padding: 50px 0;
    background-color: #f5f9ff;
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
    line-height: 35px;
}
@media (min-width: 1021px) {
  .sidepc {
    position: fixed;
    right: 20px;
    top: 15%;
    z-index: 1000;
    border-bottom:0;
    text-align: center;
    border:1px solid #005be3;
    padding:15px 20px 0px 20px;
    background-color: #fff;
  }
  .mzixun{display:none;}
}
@media (max-width: 1021px) {
     .sidepc {display: none;}
}
.sitezixun {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-bottom: 110px;
  line-height: 25px;
}
.mzixun {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 50%;
  -webkit-transform:
translate3d(-50%,0,0);
  transform: translate3d(-50%,0,0);
  overflow:hidden;
  background-color: #fff;
  border-top:#eceded;
  -webkit-box-shadow:0 0 4px rgba(0,0,0,.2);
  box-shadow: 0 0 4px rgba(0,0,0,.2);
z-index: 9999;
padding: 20px 0px 0px 0px;
}
.mzixun li {
  float: left;
  width: 25%;
  text-align: center;
  height: 100%;
  margin-top: 5px;
  list-style: none;
}

.mzixun p{
  font-size: 15px;
  padding-top: 5px;
text-align: center;
color: #000;
}
@media (max-width: 480px) {
  li {
    font-size: 0.85em;
  }
}
mzixun ul li a {
    color: #2f2f2f !important;
}
@media (min-width: 1021px) {
  .m-button {
    display: none;
  }
  .sitezixun {
    display: none;
  }
 .youshigrid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 40px;
  text-align: center;
}
 .youshi-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    transition: transform 0.5s;
    padding: 20px 20px 0px 20px;
} 
.youshi-image {text-align: center;}
.youshi-content h3 {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333;
}
.youshi-content p {
  margin-bottom: 15px;
  color: #666;
  line-height: 1.6;
  font-size: 15px;
}  
  
  
  
  
}

@media (min-width:681px) and  (max-width: 1020px){

 .youshigrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  text-align: center;
}
 .youshi-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    transition: transform 0.5s;
    padding: 20px 20px 0px 20px;
} 
.youshi-image {text-align: center;}
.youshi-content h3 {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333;
}
.youshi-content p {
  margin-bottom: 15px;
  color: #666;
  line-height: 1.6;
  font-size: 15px;
}  


}





@media (max-width: 680px) {

 .youshigrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  text-align: center;
}
 .youshi-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    transition: transform 0.5s;
    padding: 20px 20px 0px 20px;
} 
.youshi-image {text-align: center;}
.youshi-content h3 {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333;
}
.youshi-content p {
  margin-bottom: 15px;
  color: #666;
  line-height: 1.6;
  font-size: 15px;
}  


}







.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;

}

/* 海参知识 */
.knowledge-section {
    padding: 80px 0;
    background-color: white;
}

.article-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.article-card .meta {
  color: #aaa;
  font-size: 14px;
  padding-left: 10px;
  margin: 10px;
}
.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card h3 {
    padding: 15px 20px 5px;
    font-size: 20px;
      font-style: normal;
}

.article-card .excerpt {
padding: 0px 20px 0px 20px;
  color: #666;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-card .read-more {
    display: inline-block;
    margin: 0 20px 20px;
    color: #0066cc;
    font-weight: 500;
}

/* 客户评价 */
.testimonials {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card p {
    font-size: 15px;
    margin-bottom: 20px;
}

.testimonial-card .customer {
    font-weight: bold;
    color: #0066cc;font-size: 15px;
}

/* 页脚 */
.main-footer {
    background-color: #fff;
    color: #000;
    padding: 20px 0 0;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #000;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #000;
}

.footer-column a:hover {
    color: white;
}

.qrcode {
    width: 120px;
    height: 120px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    background-color: #111;
    color: #666;
    font-size: 14px;
}
.related-articles li p{font-size: 18px;margin:10px 0 0px;text-align:center;font-weight: bold;}
.article-main h1 {font-size:20px;}
/* 文章列表页 */
.page-header {
  margin: -20px 0px 0px 0px;
  background-color: #f5f9ff;
  text-align: center;
  padding: 80px 0px 80px 0px;
}
.content img{margin: 15px auto; display: block;}
.content p{line-height:30px;}
.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding:10px 0;
}

.article-item {
    display: flex;
    gap: 30px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-item img {
    width: 228px;
    margin: 20px 20px 0px 20px;
  border-radius: 5px;
}

.article-content {
    padding: 20px 20px 12px 20px;
    flex: 1;
}

.article-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.article-content .meta {
    color: #666;
    font-size: 14px;margin-bottom: 10px;
}

.article-content .excerpt {
color: #666;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}
.pagination li{list-style:none;}
.pagination a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
}

.pagination a.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

/* 文章内容页 */
.article-meta {
  color: #666;
  font-size: 13px;
  padding: 10px 0 5px 0px;
}

.article-content {
    background-color: white;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-content h2 {
    font-size: 18px;
    margin: 0px 0 20px;
    color: #333;
}

.article-content h3 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: #444;
}

.article-content p {
    line-height: 1.8;
}

.article-content ul {
    margin: 20px 0 20px 40px;
}

.article-content li {
    margin-bottom: 10px;
}

.note {
    padding: 15px;
    background-color: #f5f9ff;
    border-left: 4px solid #0066cc;
    margin: 20px 0;
}

.article-tags {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-tags a {
  display: inline-block;
  padding: 0px 8px;
  background-color: #f5f5f5;
  margin-right: 10px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 6px;
}

.article-share {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-share a {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 10px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
}

.share-wechat {
    background-color: #09bb07;
}

.share-weibo {
    background-color: #e6162d;
}

.share-qq {
    background-color: #12b7f5;
}

.related-articles {
  list-style: none;
}

.related-articles h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.related-articles li {
  padding-bottom: 10px;
  border-bottom: 1px dashed #eee;
}


@media (max-width: 768px) {
.article-sidebar {
  display: none;
}
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.page{display: flex;
  gap: 30px;
  margin: 0px 0 30px 0;
  width: 98%;
  max-width: 1200px;
  margin: 0 auto;
  margin: 8px auto 10px auto;
}
.article-main {
  flex: 2;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.article-sidebar {
  flex: 1;
}
.sidebar-widget {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}
.widget-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.bread_nav {
  max-width: 1200px;
  width: 100%;
  margin: 100px auto 0px auto;
  font-size: 15px;
  padding-left: 20px;
}
.product-card .productexcerpt {
  padding: 0px 20px 0px 20px;
  color: #666;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.benefit-item h3{font-size:16px;padding: 10px 0px;}
.disclaimer{color: #a2a2a2;font-size: 14px;}
.logo{text-align: center;}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #fff5f5;
    border-radius: 50%;}
/* 服务项样式 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    color: #333;
}

.service-content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}
.popular-services{margin-top: 138px;}
.content {line-height: 35px;}




/* Base Styles */
.pet-services {
  font-family: Arial, sans-serif;
  padding: 20px;
  background-color:#fff;
}

.services-header {
  text-align: center;
  margin-bottom: 30px;
}

.services-header h3 {
text-align: center;
  font-size: 36px;
  color: #333;
  position: relative;
}

.services-header::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #0066cc;
  margin: 15px auto 0;
}

.services-content{
  max-width: 1200px;
  margin: 0 auto;}

/* Tab Styles */
.tab-titles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0 0 20px 0;
  list-style: none;
  border-bottom: 1px solid #ddd;
}

.tab-titles li {
  padding: 10px 15px;
  cursor: pointer;
  margin: 0 5px 10px;
  border-radius: 4px;
  transition: all 0.3s;
}

.tab-titles li.active {
 background-color: #4395ff;
  color: white;
}

.tab-titles li:hover:not(.active) {
  background-color: #f0f0f0;
}

/* Content Styles */
.tab-contents {
  position: relative;
  min-height: 300px;
}

.tab-item {
  display: none;
  animation: fadeIn 0.5s;
}

.tab-item.active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.content-image {
  flex: 1;
  min-width: 300px;
  padding: 10px;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.content-text {
  flex: 1;
  padding: 20px 20px 20px 40px;
}

.content-text h2 {
  color: #333;
  margin-bottom: 15px;
}


.content-text h2 span{
  display: inline-block;
  height: 43px;
  border-bottom: 2px solid #414141;
  width: 190px;
  text-align: left;
  color: #333;
  font-size: 20px;
}





.content-text p {
  color: #666;
 line-height: 35px;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .tab-item.active {
    flex-direction: column;
  }
  
  .content-image, 
  .content-text {
    width: 100%;
    min-width: auto;
  }
  
  .tab-titles li {
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .services-header h4 {
    font-size: 20px;
  }
  
  .services-header h4 span {
    width: 20px;
  }
  
  .tab-titles {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .tab-titles li {
    margin-bottom: 5px;
  }
}
.flink a{
  padding: 0 10px;
  font-size: 15px;
}




.article-card .excerptanswer {
  padding: 10px 20px 10px 20px;
  color: #666;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
    font-style: normal;
}

#hotlist {
margin: 0 auto -10px auto;
  overflow: hidden;
  text-align: center;
  padding: 20px 0px 0px 0px;
}
#hotlist li {
  float: left;
  list-style: none;
  font-size: 14px;
  padding: 0px 15px 5px 5px;

}
.flink hidden-xs{padding-top: 20px;}
#articledate {
  font-size: 15px;
  font-weight: normal;
  float: right;
  padding-right: 20px;
  color: #808080;
}


        /* 新增：底部两个 service-itemnew 水平排列容器 */
.servicenew
        {grid-template-columns: repeat(2, 1fr);
  display: grid;
  gap: 20px;}

        .service-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;          /* 水平居中，若空间不足则换行 */
            gap: 30px;
            margin-top: 20px;
        }

        /* 保持 .service-itemnew 原有风格，并添加水平卡片基础样式 */
        .service-itemnew {
background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
        }

        .service-itemnew:hover {
            transform: translateY(-8px);
            box-shadow: 0 28px 40px -12px #ac8b6d;
            border-color: #dbb99a;
        }

        .service-image {
            width: 100%;
            aspect-ratio: 16 / 11;            /* 与原图比例相符 */
            background: #efe2d6;
            overflow: hidden;
        }

        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s;
        }

        .service-itemnew:hover .service-image img {
            transform: scale(1.05);
        }

        .service-content {
            padding: 1.5rem 1.2rem 1.8rem 1.2rem;
            text-align: center;
            background: #fffcf9;
        }

        .service-content h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #3b2c1d;
            margin-bottom: 0.5rem;
            border-bottom: 3px solid #4d58ff;
            display: inline-block;
            padding-bottom: 0.2rem;
        }

        .service-content p {
            font-size: 0.98rem;
            color: #6d543e;
            line-height: 1.5;
            margin: 0 auto;
        }
.area-section{margin-top:60px;}
        @media (max-width: 768px) {
            .servicenew
        {grid-template-columns: repeat(1, 1fr);
  display: grid;gap: 20px;}
            .area-section {
                padding: 25px 15px;
                margin-top:15px;}
            }
            .region-item a {
                padding: 8px 16px;
                font-size: 1rem;
            }
            .service-itemnew {
                flex: 1 1 280px;
            }
        }
        /* 增加一点视觉辅助线 */
.service-row {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 2px dotted #f0cfba;
        }
        