@charset "utf-8";
/* CSS Document */

#certify {
	position: relative;
	width: 1400px;
	margin: 0 auto
}

#certify .swiper-container {
	padding-bottom: 60px;
}

#certify  .swiper-slide {
	width: 520px;
	height: 408px;
	background: #fff;
	box-shadow: 0 8px 30px #ddd;
}
#certify  .swiper-slide img{
	display:block;
}
#certify  .swiper-slide p {
	line-height: 98px;
	padding-top: 0;
	text-align: center;
	color: #636363;
	font-size: 1.1em;
	margin: 0;
}

#certify .swiper-pagination {
	width: 100%;
	bottom: 20px;
}

#certify .swiper-pagination-bullets .swiper-pagination-bullet {
	margin: 0 5px;
	border: 3px solid #fff;
	background-color: #d5d5d5;
	width: 10px;
	height: 10px;
	opacity: 1;
}

#certify .swiper-pagination-bullets .swiper-pagination-bullet-active {
	border: 3px solid #00aadc;
	background-color: #fff;
}

#certify .swiper-button-prev {
	left: -30px;
	width: 45px;
	height: 45px;
	background: url(../images/wm_button_icon.png) no-repeat;
	background-position: 0 0;
	background-size: 100%;
}

#certify .swiper-button-prev:hover {
	background-position: 0 -46px;
	background-size: 100%
}

#certify .swiper-button-next {
	right: -30px;
	width: 45px;
	height: 45px;
	background: url(../images/wm_button_icon.png) no-repeat;
	background-position: 0 -93px;
	background-size: 100%;
}

#certify .swiper-button-next:hover {
	background-position: 0 -139px;
	background-size: 100%
}

  /* 服务选项卡样式 */
  .i_box_service {
    margin: 60px 0;
  }
  
  .service-tabs-nav {
    margin: 40px 0;
    text-align: center;
  }
  
  .service-tabs-nav ul {
    display: inline-block;
    background: #fff;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .tab-nav-item {
    float: left;
    padding: 12px 24px;
    margin: 0 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .tab-nav-item:hover {
    color: #1890ff;
  }
  
  .tab-nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    box-shadow: 0 4px 12px rgba(24,144,255,0.3);
  }
  
  .tab-nav-item.active:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #1890ff;
  }
  
  .service-tabs-content {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  }
  
  .tab-content-item {
    display: none;
  }
  
  .service-grid {
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;

  }
  
  .service-item {
    width: 100%;
    padding: 10px 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .service-item:hover {
    transform: translateY(-5px);
  }
  
  .service-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
  }
  
  .service-item:hover img {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }
  
  .service-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    transition: color 0.3s ease;
  }
  
  .service-item:hover h3 {
    color: #1890ff;
  }
  
 .sevice-text {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0px;
  }
.sevice-text a{
      border:1px solid #ddd;
      padding:0px 5px;
  }
  .service-more {
    display: inline-block;
    padding: 8px 20px;
    background: #f0f9ff;
    color: #1890ff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  
  .service-more:hover {
    background: #1890ff;
    color: #fff;
    transform: scale(1.05);
  }
  
  @media (max-width: 1200px) {
    .service-item {
      width: 33.333%;
    }
  }
  
  @media (max-width: 768px) {
    .service-item {
      width: 50%;
    }
    
    .tab-nav-item {
      padding: 10px 16px;
      font-size: 14px;
    }
    
    .service-tabs-content {
      padding: 20px;
    }
  }
  
 
/* 产品列表页面样式 */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #1890ff;
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

.product-container {
    display: flex;
    margin-bottom: 60px;
    gap: 30px;
    overflow: auto;
    position: relative;
}

/* 左侧侧边栏样式 */
.sidebar {
    width: 260px;
    flex-shrink: 0;
  position: sticky;
    top: 20px;
    align-self: flex-start;
    height: fit-content;
    overflow: visible;
}

/* 确保侧边栏在内容较短时也能正确显示 */
@media (min-width: 768px) {
    .sidebar {
        min-height: 500px;
    }
}

/* 确保父容器允许sticky定位 */
.main {
    position: relative;
}
.sidebar-section {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.sidebar-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1890ff;
    position: relative;
}

.sidebar-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #1890ff;
}

/* 产品分类导航 */
.category-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-item {
    margin-bottom: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-item > a {
    display: block;
    padding: 12px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 15px;
    background: #fff;
    border: 1px solid #f0f0f0;
}

.category-item > a:hover {
    color: #1890ff;
    background: #f0f9ff;
    border-color: #e6f7ff;
}

.category-item > a:before {
    content: '▶';
    position: absolute;
    left: 0;
    color: transparent;
    transition: all 0.3s ease;
    font-size: 12px;
}

.category-item > a:hover:before {
    color: #1890ff;
    left: -5px;
}

/* 二级导航样式 */
.category-subnav {
    margin: 4px 0 0 10px;
    padding: 0;
    list-style: none;
    position: relative;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.category-item:hover .category-subnav {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.category-subitem {
    margin-bottom: 4px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.category-subitem:last-child {
    margin-bottom: 0;
}

.category-subitem a {
    display: block;
    padding: 10px 12px 10px 24px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
}

.category-subitem a:before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 4px;
    height: 4px;
    background: #1890ff;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease, left 0.2s ease;
}

.category-subitem a:hover {
    color: #1890ff;
    background: #fafafa;
    padding-left: 28px;
}

.category-subitem a:hover:before {
    opacity: 1;
    left: 16px;
}

/* 有子菜单的标识 */
.category-item.has-submenu > a:after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    font-size: 12px;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.category-item.has-submenu:hover > a:after {
    transform: translateY(-50%) rotate(180deg);
}

.category-item a:hover:before {
    color: #1890ff;
    left: -5px;
}

/* 联系信息 */
.contact-info {
    margin: 0;
    padding: 0;
    list-style: none;
}

.quick-consult {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-consult:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 144, 255, 0.25);
}

.btn-consult {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-consult:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-consult:hover:before {
    width: 300px;
    height: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: #666;
    font-size: 14px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    color: #1890ff;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 16px;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    color: #333;
    display: block;
    margin-bottom: 4px;
}

/* 右侧产品列表 */
.product-content {
    flex: 1;
    min-width: 0;
}

/* 产品标题区 */
.product-header {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.product-h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.product-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 产品列表筛选 */
.product-filter {
    background: #fff;
    border-radius: 8px;
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-label {
    font-size: 14px;
    color: #666;
}

.filter-select {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #1890ff;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid transparent;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #e6f7ff;
}

.product-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-item:hover .product-img img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-body {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.product-item:hover .product-title {
    color: #1890ff;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px 0;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #ff4d4f;
}

.product-more {
    padding: 8px 20px;
    background: #1890ff;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #1890ff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.product-more:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #40a9ff;
    transition: all 0.4s ease;
    z-index: -1;
}

.product-more:hover:before {
    left: 0;
}

.product-more:hover {
    background: #fff;
    color: #1890ff;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

/* 分页 */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 10px 16px;
    color: #666;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pagination li a:hover {
    color: #1890ff;
    border-color: #1890ff;
    background: #f0f9ff;
}

.pagination li.active span {
    color: #fff;
    background: #1890ff;
    border-color: #1890ff;
}

.pagination li.disabled a {
    color: #ccc;
    cursor: not-allowed;
}

.pagination li.disabled a:hover {
    color: #ccc;
    background: #fff;
    border-color: #e8e8e8;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar {
        width: 240px;
    }
}

@media (max-width: 992px) {
    .product-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .category-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-item {
        margin-bottom: 0;
    }
    
    .product-filter {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .filter-left {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .category-nav {
        grid-template-columns: 1fr;
    }
    
    .product-header {
        padding: 20px;
    }
    
    .product-h1 {
        font-size: 24px;
    }
    
    .filter-left {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .pagination ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #certify{
        width: 100%;
    }
    #certify .swiper-slide{
        width: 370px;
    height: 349px;
    }
    #certify .swiper-slide img {
        width:100;
    }
    .sidebar-section {
        padding: 16px;
    }
    
    .product-content {
        padding: 0;
    }
    
    .product-body {
        padding: 16px;
    }
    
    .contact-item {
       align-items: flex-start;
        text-align: left;
    }
    
    .contact-item i {
        margin-right: 10px;
        margin-bottom: 8px;
    }
     .service-item {
      width: 100%;
    }
    
    .service-tabs-nav ul {
      padding: 0px;
    }
    .i_box1 .box ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 10px;
}
    .tab-nav-item {
      padding: 8px 10px;
      font-size: 13px;
      margin: 0 2px;
    }
    .i_box_service{
        margin:0px;
    }
    .service-grid{
     grid-template-columns:repeat(2, 1fr);
    }
}

  