/* 添加产品详情页动画效果 */
.product-gallery {
    animation: fadeInLeft 1s both;
}

.product-summary {
    animation: fadeInRight 1s both;
}

.content-grid {
    animation: fadeInDown 1s both;
    animation-delay: 0.54s;
}

.product-sidebar {
    animation: fadeInRight 1s both;
    animation-delay: 1s;
}

/* 确保动画执行后保持最终状态 */
.animate__animated {
    animation-fill-mode: both;
}/* 面包屑导航 */
.breadcrumb-search-container {
    background-color: white;
    padding: 15px 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.breadcrumb-search-container .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.breadcrumb-wrapper {
    flex: 1;
    min-width: 200px;
}

.search-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #0052a3;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

/* 产品搜索框 */
.product-search {
    display: flex;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #3498db;
}

.search-button {
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #0052a3;
}

/* 产品列表容器 */
.product-list-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
	background-color:#f8f9fa;
	border-radius:5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .breadcrumb-search-container .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-wrapper {
        max-width: 100%;
    }
}



/* 产品详情页样式 */
.product-detail {
    padding: 20px 0;
	
}

/* 产品上部分 */
.product-top {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
	background-color: var(--section-bg);
    border-radius:var(--border-radius);
}

.product-gallery {
    flex: 1; 
	
}

.main-image {
    margin-bottom: 15px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
	margin-bottom:10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #0066cc;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-summary {
    flex: 1;
	padding:0 10px;
}

.product-summary h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
	padding-top:20px;
	
}

.product-model {
    color: #666;
	margin-top:10px;
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 30px;
}

.product-features p {
    margin-bottom: 10px;
    color: #333;
}

.product-features i {
    color: #0066cc;
    margin-right: 10px;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.btn-contact,
.btn-download {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-contact {
    background: #0066cc;
    color: #fff;
}

.btn-contact:hover {
    background: #004d99;
}

.btn-download {
    border: 1px solid #0066cc;
    color: #0066cc;
}

.btn-download:hover {
    background: #f5f5f5;
}

/* 产品下部分 */
.product-bottom {
    display: flex;
    gap: 30px;
	background-color: var(--section-bg);
	border-radius:var(--border-radius);
}

.product-content {
    flex: 2; 
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tab-item {
    padding: 12px 25px;
    cursor: pointer;
    position: relative;
    color: #666;
}

.tab-item.active {
    color: #0066cc;
    font-weight: bold;
}

.tab-item.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0066cc;
}

.tab-panel {
    display: none;
    padding-left:15px;
    height: auto !important;
    min-height: 0 !important;
}


.tab-panel p img{ width:100%;height: auto;}

.tab-panel.active {
    display: block;
}

.tab-panel h2 {
    
    text-transform: capitalize;
    color: #333;
	border-left-style: solid;
    border-left-width: 4px;
    background-color: rgba(102, 128, 153, 0.05);
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 18px;
    clear: both;
    margin-bottom: 5px;
}

.tab-panel h3 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: #333;
}

.tab-panel p,
.tab-panel ul {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.tab-panel ul {
    padding-left: 20px;
}



.product-detail-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.product-detail-images img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 4px;
    transition: transform 0.3s;
}

.product-detail-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .product-detail-images {
        grid-template-columns: 1fr;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,
table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background: #f9f9f9;
    font-weight: bold;
}

.video-container {
    margin: 20px 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* 侧边栏 */
.product-sidebar {
    flex: 1;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 产品分类子栏目 */
.sub-categories li {
    margin-bottom: 10px;
    position: relative;
}

.sub-categories > li > a {
    display: block;
    padding: 8px 15px;
    color: #333;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
}

.sub-categories > li > a:hover {
    background: #f5f5f5;
}

.sub-categories ul {
    display: block;
    padding-left: 20px;
}

.sub-categories li.has-submenu ul {
    display: block;
}

.sub-categories ul li {
    margin-bottom: 8px;
}

.sub-categories ul a {
    display: block;
    padding: 6px 10px;
    color: #666;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s;
}

.sub-categories ul a:hover {
    background: #0066cc;
    color: #fff;
}

.sub-categories > li > a:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    transition: transform 0.3s;
}

.sub-categories > li.has-submenu.active > a:after {
    transform: rotate(180deg);
}

.sidebar-widget h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.related-products li {
    margin-bottom: 15px;
}

.related-products a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #333;
    transition: all 0.3s;
}

.related-products a:hover {
    color: #0066cc;
}

.related-products img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}


/* 响应式设计 */
@media (max-width: 992px) {
    .product-top,
    .product-bottom {
        flex-direction: column;
    }
    
    .product-sidebar {
        order: 1;
        margin-bottom: 30px;
    }
    
    .product-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .product-summary h1 {
        font-size: 24px;
    }
    
    .tab-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .thumbnail-list {
        flex-wrap: wrap;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}



/* 主内容区 */
.prolist-container {
    padding: 10px 0;
}

.prolist-wrapper {
    display: flex;
    gap: 30px;
}

/* 左侧边栏 */
.prolist-sidebar {
    width: 280px;
    flex-shrink: 0;
    margin-right: 30px;
    animation: slideInLeft 0.8s both;
    animation-delay: 0.3s;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 二级菜单样式 */
.category-list li {
    position: relative;
    margin-bottom: 10px;
}

.category-list > li > a {
    display: block;
    padding: 8px 15px;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s;
}

.category-list > li > a:hover {
    background: #0066cc;
}

.category-list > li.active > a {
    background: #0066cc;
    color: #fff;
}

.category-list > li.has-submenu > a:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    transition: transform 0.3s;
}

.category-list > li.has-submenu.active > a:after {
    transform: rotate(180deg);
}

.sub-category {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.category-list > li.has-submenu.active .sub-category {
    max-height: 500px;
}

.sub-category li {
    margin-bottom: 8px;
}

.sub-category a {
    display: block;
    padding: 6px 10px;
    color: #666;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s;
}

.sub-category a:hover {
    background: #0066cc;
    color: #fff;
}

.sidebar-widget h3 {
    background: #0066cc;
    padding: 10px 15px;
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s;
	margin-bottom:10px;
}

.pro-contact-info{}
.pro-contact-info p{
	display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;}
.pro-contact-info p i {
    margin-right: 10px;
}
	
.qrcode{ width:100%; margin:0 auto;}
.qrcode img{ width:150px; height:auto; text-align:center;}

	
.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: block;
    padding: 8px 15px;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s;
}

.category-list a:hover,
.category-list li.active a,
.category-list li.has-submenu.active > a {
    background: #0066cc;
    color: #fff;
}

/* 二级分类 */
.sub-category {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
}

.has-submenu.active .sub-category {
    max-height: 500px;
}

.sub-category li {
    margin-bottom: 8px;
}

.sub-category a {
    padding: 6px 10px;
    font-size: 13px;
    background: #f5f5f5;
    border-radius: 3px;
}

.sub-category a:hover {
    background: #0066cc;
    color: #fff;
}



/* 右侧产品展示区 */
.prolist-content {
    flex: 1;
	
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s both;
}

.product-item:nth-child(1) { animation-delay: 0.4s; }
.product-item:nth-child(2) { animation-delay: 0.5s; }
.product-item:nth-child(3) { animation-delay: 0.6s; }
.product-item:nth-child(4) { animation-delay: 0.7s; }
.product-item:nth-child(5) { animation-delay: 0.8s; }
.product-item:nth-child(6) { animation-delay: 0.9s; }

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    height:auto;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
	text-align:center;
}

.product-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-detail {
    display: inline-block;
    padding: 8px 20px;
    background: #0066cc;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
	text-align:center;
}

.btn-detail:hover {
    background: #004d99;
    text-decoration: none;
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;  
    animation: fadeIn 1s both;
    animation-delay: 1s;
	border-radius: 4px; 
}


	
.pagination > li {
    display: inline; }
.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857;
    text-decoration: none;
    color: #337ab7;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px; }
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }
.pagination > li > a:hover, .pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #ddd; }
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    cursor: default; }



/* 响应式调整 */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .product-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-info {
        padding: 15px;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .prolist-wrapper {
        flex-direction: column;
    }
    
    .prolist-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
}



/* 微信二维码样式 */
.wechat-qrcode-container {
    text-align: center;
    margin: 20px 0;
}

.wechat-qrcode-container img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto 10px;
}

.wechat-text {
    font-size: 16px;
    color: #333;
    text-align: center;
}

/* 产品标签样式 */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-tags .tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.product-tags .tag:hover {
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
}

/* 上一篇下一篇导航 */
.product-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-navigation a {
    color: #0066cc;
    font-size: 14px;
    transition: color 0.3s;
}

.product-navigation a:hover {
    color: #004d99;
    text-decoration: none;
}

@media (max-width: 576px) {
     .category-list a {
        padding: 8px 10px;
        font-size: 14px;
    }
}
