/* CSS Variables */
:root {
    --primary: #007bff;
    --primary-rgb: 0, 123, 255;
    --primary-dark: #0056b3;
    --secondary: #6c757d;
    --success: #198754;
    --white: #fff;
    --black: #000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --z-index-nav: 1000;
    --z-index-back-top: 1100;
    --z-index-modal: 1200;
}

/* Common Transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Common Hover Effects */
.hover-up {
    transition: all 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Common Text Truncate */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 推荐产品区域样式 */
.recommended-products {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
}

/* 产品分类列表样式 */
.product-categories {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    border-bottom: 1px solid #eee;
}

.category-item:last-child {
    border-bottom: none;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.category-link:hover {
    color: #007bff;
    background-color: #f8f9fa;
    padding-left: 25px;
}

.category-link .badge {
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 20px;
    background-color: #f8f9fa;
    color: #666;
    transition: all 0.3s ease;
}

.category-link:hover .badge {
    background-color: #007bff;
    color: #fff;
}

.no-categories {
    color: #666;
    font-style: italic;
}

/* Common Card Styles */
.card-base {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-base:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Common Image Styles */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Card Styles - Unified */
.product-card {
    composes: card-base;
    overflow: hidden;
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    composes: img-cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 15px;
    background: var(--white);
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #007bff;
}

.no-products {
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 15px 0;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .product-title {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .product-categories {
        margin-bottom: 20px;
    }
}

.category-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.category-info {
    flex: 1;
    min-width: 0;
}

.category-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 关于我们区域样式 */
.about-section {
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: all 0.3s ease;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-section .section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 1rem;
}

.about-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--bs-primary);
}

.about-section .about-summary {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-section .about-link-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-section .about-link-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.about-section .about-link-item i {
    color: var(--bs-primary);
}

.about-section .about-link-item .link-title {
    color: #fff;
}

.about-section .about-image {
    padding: 20px;
}

.about-section .image-frame {
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.about-section .image-frame img {
    transform: scale(1);
    transition: all 0.3s ease;
}

.about-section .image-frame:hover img {
    transform: scale(1.05);
}

@media (max-width: 991.98px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-section .about-content {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .about-section .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 公司新闻区域样式 */
.company-news {
    background-color: #f8f9fa;
}

.company-news .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.company-news .section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

/* 左侧推荐文章样式 */
.featured-news {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-news-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    flex: 0 0 auto;
}

.featured-news-image a {
    display: block;
}

.featured-news-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-news-image a:hover img {
    transform: scale(1.05);
}

.featured-news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-news-title {
    margin-bottom: 12px;
}

.featured-news-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.featured-news-title a:hover {
    color: var(--bs-primary);
}

.featured-news-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.featured-news-meta {
    color: #888;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.featured-news-meta span {
    display: flex;
    align-items: center;
}

.featured-news-meta i {
    margin-right: 4px;
    font-size: 1.1em;
    color: var(--bs-primary);
}

/* 右侧新闻列表样式 */
.news-list {
    height: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

/* News Card Styles - Unified */
.news-item {
    composes: card-base;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-300);
}

.news-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.news-item-image {
    display: block;
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    border-radius: 6px;
}

.news-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    composes: img-cover;
    transition: transform 0.3s ease;
}

.news-item-image:hover img {
    transform: scale(1.05);
}

.news-item-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item-title {
    margin: 0 0 8px;
}

.news-item-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-item-title a:hover {
    color: var(--bs-primary);
}

.news-item-meta {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-item-meta i {
    color: var(--bs-primary);
    margin-right: 4px;
}

.news-item-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    flex: 1;
}

/* 导航栏基础样式 */
.main-nav {
    background: linear-gradient(to right, #4a90e2, #357abd);
    padding: 0;
    position: relative;
    z-index: var(--z-index-nav);
    margin-top: -1px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* 导航列表样式 */
.nav-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-link.active {
    color: #007bff;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #007bff;
    border-radius: 3px 3px 0 0;
}

/* 子菜单样式 */
.has-submenu > .nav-link {
    padding-right: 30px;
}

.has-submenu > .nav-link .bi-chevron-down {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.has-submenu:hover > .nav-link .bi-chevron-down {
    transform: rotate(-180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .nav-item {
    height: auto;
    display: block;
}

.sub-menu .nav-link {
    padding: 8px 20px;
    height: auto;
    font-size: 14px;
    color: #666;
}

.sub-menu .nav-link:hover {
    background: #f8f9fa;
    color: #007bff;
}

.sub-menu .nav-link.active {
    color: #007bff;
    background: #f8f9fa;
}

.sub-menu .nav-link.active::after {
    display: none;
}

/* 搜索框样式 */
.nav-search {
    position: relative;
    margin-left: 20px;
}

.search-input {
    padding: 8px 15px;
    padding-right: 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    width: 250px;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: #007bff;
}

/* 响应式样式 */
@media (max-width: 991px) {
    .nav-wrapper {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .nav-item {
        width: 100%;
        height: auto;
    }

    .nav-link {
        padding: 12px 20px;
        height: auto;
        justify-content: center;
    }

    .nav-link.active::after {
        display: none;
    }

    .has-submenu > .nav-link {
        padding-right: 20px;
    }

    .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f8f9fa;
        padding-left: 20px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-item:hover > .sub-menu {
        display: block;
    }

    .sub-menu .nav-link {
        justify-content: center;
    }

    .nav-search {
        margin: 10px 0;
        width: 100%;
    }

    .search-input,
    .search-input:focus {
        width: 100%;
    }
}

/* 页脚标题样式 */
.footer .col-md-4 h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer .col-md-4 h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: #007bff;
    border-radius: 2px;
}

.footer .col-md-4 h5::before {
    content: '';
    position: absolute;
    left: 35px;
    bottom: 0;
    width: 15px;
    height: 3px;
    background: rgba(0, 123, 255, 0.5);
    border-radius: 2px;
}

/* 页脚链接列表样式优化 */
.footer .list-unstyled {
    margin: 0;
    padding: 0;
}

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

.footer .list-unstyled li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer .list-unstyled li a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* 页脚二维码区域样式 */
.qrcode-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.qrcode-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.qrcode-wrapper img {
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qrcode-wrapper p {
    color: #fff;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.qrcode-wrapper p::before,
.qrcode-wrapper p::after {
    content: '';
    position: absolute;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    top: 50%;
    width: 30px;
}

.qrcode-wrapper p::before {
    right: 100%;
    margin-right: 15px;
}

.qrcode-wrapper p::after {
    left: 100%;
    margin-left: 15px;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .qrcode-wrapper {
        margin-top: 30px;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 在线客服样式 */
.online-service {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-item {
    position: relative;
}

.service-item .btn {
    display: flex;
    align-items: center;
    padding: 12px;
    transition: all 0.3s ease;
}

.service-item .btn:hover {
    transform: translateX(-5px);
}

.service-item i {
    font-size: 20px;
    margin-right: 10px;
}

.service-text {
    display: none;
    white-space: nowrap;
    font-size: 14px;
}

.service-item:hover .service-text {
    display: inline-block;
}

/* 微信二维码弹出样式 */
.service-wechat {
    position: relative;
}

.wechat-qrcode {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    margin-right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.wechat-qrcode::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.wechat-qrcode img {
    width: 120px;
    height: 120px;
    display: block;
}

.wechat-qrcode p {
    margin: 8px 0 0;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.service-wechat:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 返回顶部按钮样式 */
.service-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.service-top.show {
    opacity: 1;
    visibility: visible;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .online-service {
        right: 10px;
    }
    
    .service-item .btn {
        padding: 8px;
    }
    
    .service-item i {
        font-size: 16px;
        margin-right: 0;
    }
    
    .wechat-qrcode {
        padding: 10px;
        margin-right: 15px;
    }
    
    .wechat-qrcode img {
        width: 100px;
        height: 100px;
    }
}

/* 顶部热线样式 */
.hotline-wrapper {
    font-size: 14px;
}

.hotline-wrapper i {
    font-size: 1.25em;
    animation: headsetPulse 2s infinite;
}

.hotline-label {
    color: #666;
}

.hotline-number {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--bs-primary);
    text-decoration: none;
    letter-spacing: 0.5px;
    font-family: 'Arial', sans-serif;
    position: relative;
    padding-bottom: 2px;
}

.hotline-number:hover {
    color: var(--bs-primary);
}

.hotline-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

.hotline-number:hover::after {
    width: 100%;
}

@keyframes headsetPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

 /* 自定义样式 */
 .top-bar {
    background: #f8f9fa;
    padding: 10px 0;
}
.logo img {
    max-height: 60px;
}
.contact-phone {
    color: #007bff;
    font-size: 1.2rem;
}
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.banner-slide {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    border: none;
}
.product-card {
    transition: transform 0.3s;
    margin-bottom: 20px;
}
.product-card:hover {
    transform: translateY(-5px);
}
.about-section {
    background: #f8f9fa;
    padding: 60px 0;
}
.news-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.contact-section {
    background: #fff;
    padding: 60px 0;
}
.footer {
    background: #343a40;
    color: #fff;
    padding: 40px 0;
}
.footer a {
    color: #fff;
    text-decoration: none;
}
.footer a:hover {
    color: #007bff;
}
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: var(--z-index-back-top);
}
.banner-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.banner-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.banner-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.main-nav {
    background: linear-gradient(to right, #4a90e2, #357abd);
    padding: 0;
    position: relative;
    z-index: var(--z-index-nav);
    margin-top: -1px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    display: block;
    transition: background-color 0.3s;
    font-size: 16px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-search {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.nav-search form {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 6px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    width: 200px;
    height: 34px;
}

.search-btn {
    background: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    color: #4a90e2;
    height: 34px;
    display: flex;
    align-items: center;
}

.search-btn:hover {
    background: #f8f9fa;
}

@media (max-width: 991px) {
    .nav-wrapper {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        padding: 10px 15px;
        text-align: center;
    }
    
    .nav-search {
        width: 100%;
        padding: 10px 15px;
        margin-right: 0;
    }
    
    .nav-search form {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
}

/* 产品中心页面样式 */
/* Banner样式 */
.product-banner {
    position: relative;
    overflow: hidden;
}
.product-banner .banner-overlay {
    pointer-events: none;
}
.product-banner .banner-content {
    z-index: 1;
}
.product-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}
.product-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}
.product-banner a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

/* WordPress默认分页样式重置 */
.pagination.page-numbers {
    padding-left: 0;
    list-style: none;
}

.page-numbers li {
    display: inline-block;
    margin: 0 2px;
}

.page-numbers li .page-numbers,
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: var(--bs-primary);
    transition: all 0.2s ease-in-out;
}

.page-numbers li .page-numbers.current,
.pagination .page-numbers.current {
    z-index: 3;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.page-numbers li .page-numbers:hover:not(.current),
.pagination .page-numbers:hover:not(.current) {
    z-index: 2;
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: var(--bs-primary);
}

.page-numbers li .prev,
.page-numbers li .next,
.pagination .prev,
.pagination .next {
    padding: 0;
    font-size: 1.1rem;
}

.page-numbers li .dots,
.pagination .dots {
    border: none;
    background: transparent;
    padding: 0 8px;
    color: #6c757d;
    pointer-events: none;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .page-numbers li,
    .pagination .page-numbers {
        margin: 0 1px;
    }

    .page-numbers li .page-numbers,
    .pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
}

/* 产品分类样式 */
.product-categories .list-group-item {
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.product-categories .list-group-item:first-child {
    border-top: none;
}

.product-categories .list-group-item:last-child {
    border-bottom: none;
}

.product-categories .list-group-item.active {
    background-color: rgba(13, 110, 253, 0.05);
    border-color: #dee2e6;
}

.product-categories .list-group-item:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.product-categories .category-icon {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-right: 0.5rem;
}

.product-categories .list-group-item.active .category-icon {
    transform: rotate(90deg);
}

.product-categories .sub-categories {
    display: none;
    margin-top: 0.5rem;
    padding-left: 1.25rem;
    border-left: 2px solid #dee2e6;
}

.product-categories .sub-categories.show {
    display: block;
}

.product-categories .sub-categories a {
    position: relative;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.product-categories .sub-categories a:hover {
    color: var(--bs-primary) !important;
    padding-left: 0.5rem;
}

.product-categories .badge {
    transition: all 0.3s ease;
}

.product-categories a:hover .badge.bg-primary {
    background-color: #0b5ed7 !important;
}

.product-categories .sub-categories .badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
}

/* 文章列表样式 */
.related-articles .list-unstyled li {
    transition: all 0.3s ease;
}

.related-articles .list-unstyled li:hover {
    padding-left: 0.5rem;
}

.related-articles .list-unstyled li a {
    font-size: 0.95rem;
    line-height: 1.4;
}

.related-articles .list-unstyled li a:hover {
    color: var(--bs-primary) !important;
}

.related-articles .list-unstyled li a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.related-articles .list-unstyled li:hover a i {
    transform: translateX(3px);
}

.related-articles .text-truncate {
    max-width: calc(100% - 1.5rem);
}

/* 无内容提示样式 */
.alert-info.text-center {
    background-color: #fff;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    color: #6c757d;
    font-size: 1.1rem;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .pagination .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 0 2px;
        padding: 0.4rem 0.8rem;
    }
}

/* 公司概况样式 */
.company-overview .company-name {
    color: var(--bs-primary);
    font-weight: bold;
}

.company-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    color: var(--bs-primary);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Company Values Styles */
.company-values {
    background-color: #1a237e;
    position: relative;
}

.company-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(41, 98, 255, 0.1), rgba(0, 0, 0, 0.2));
}

.value-item {
    background: #2962ff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    height: 100%;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    color: #ffffff;
}

.value-title {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.value-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Qualifications Styles */
.qualification-slider {
    padding: 0 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.certificate-item {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.certificate-image {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.certificate-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certificate-title {
    font-size: 1rem;
    color: #333;
    margin: 0;
    padding: 10px 0;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--bs-primary);
    width: 40px;
    height: 40px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .certificate-image {
        height: 200px;
    }
}

/* Company Overview Styles */
.company-content-scroll {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 15px;
    scrollbar-width: thin;
}

.company-content-scroll::-webkit-scrollbar {
    width: 6px;
}

.company-content-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.company-content-scroll::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 3px;
}
/* 文章列表样式 */
.news-item {
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

.news-item .news-image {
    height: 240px;
    overflow: hidden;
}

.news-item .news-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.news-item .news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* 分页样式 */
.pagination {
    --bs-pagination-color: var(--bs-primary);
    --bs-pagination-hover-color: var(--bs-primary);
    --bs-pagination-focus-color: var(--bs-primary);
    --bs-pagination-active-bg: var(--bs-primary);
    --bs-pagination-active-border-color: var(--bs-primary);
}

.page-link {
    border-radius: 4px;
    margin: 0 3px;
}

.page-item.active .page-link {
    box-shadow: 0 2px 4px rgba(var(--bs-primary-rgb), 0.2);
}

/* 侧边栏样式 */
.card {
    border-radius: 8px;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
}

.list-group-item {
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-item .news-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .news-item .news-image {
        height: 180px;
    }
}
.contact-image-wrapper {
    overflow: hidden;
    border-radius: 8px;
}

.contact-card {
    transition: transform 0.3s ease;
    background-color: var(--bs-primary) !important;
    color: white;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.contact-card .icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 1rem;
}

.contact-card i {
    color: white !important;
}

.contact-card .h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
}

.contact-form-wrapper {
    background-color: #fff;
}

.contact-form-wrapper form input,
.contact-form-wrapper form textarea {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.contact-form-wrapper form button {
    background-color: var(--bs-primary);
    border: none;
    padding: 0.75rem 2rem;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.contact-form-wrapper form button:hover {
    background-color: var(--bs-primary-dark);
}

/* Banner 样式 */
.contact-banner {
    overflow: hidden;
}

.contact-banner .banner-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-banner .banner-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.contact-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

.contact-banner .breadcrumb-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-banner .breadcrumb-item a:hover {
    color: rgba(255,255,255,0.8) !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-banner .banner-title {
        font-size: 2rem;
    }
    .contact-banner .banner-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-banner .banner-title {
        font-size: 1.75rem;
    }
}

/* 搜索结果页面样式 */
.search-banner {
    height: 200px;
    background-color: var(--bs-primary);
    background-image: linear-gradient(45deg, var(--bs-primary), var(--bs-primary-rgb));
}

.search-item {
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

.search-item .search-image {
    height: 240px;
    overflow: hidden;
}

.search-item .search-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.search-item .search-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* 分页样式 */
.pagination {
    --bs-pagination-color: var(--bs-primary);
    --bs-pagination-hover-color: var(--bs-primary);
    --bs-pagination-focus-color: var(--bs-primary);
    --bs-pagination-active-bg: var(--bs-primary);
    --bs-pagination-active-border-color: var(--bs-primary);
}

.page-link {
    border-radius: 4px;
    margin: 0 3px;
}

.page-item.active .page-link {
    box-shadow: 0 2px 4px rgba(var(--bs-primary-rgb), 0.2);
}

/* 侧边栏样式 */
.card {
    border-radius: 8px;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
}

.list-group-item {
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-item .search-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .search-item .search-image {
        height: 180px;
    }
    
    .search-banner {
        height: 160px;
    }
}

/* 产品图片相关样式 */
.product-gallery {
    position: relative;
    min-height: 400px; /* 减小最小高度 */
}

.product-main-swiper {
    border-radius: 0.375rem;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.product-main-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.product-thumbs-swiper {
    background: #fff;
}

.product-thumbs-swiper .swiper-slide {
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 90px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
}

.product-thumbs-swiper .swiper-slide:hover {
    opacity: 1;
    border-color: var(--bs-primary);
}

.product-thumbs-swiper .swiper-slide.active {
    opacity: 1;
    border: 2px solid var(--bs-primary);
}

/* 自定义导航按钮样式 */
.product-main-swiper .swiper-button-next,
.product-main-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.product-main-swiper .swiper-button-next:after,
.product-main-swiper .swiper-button-prev:after {
    font-size: 20px;
}

.product-thumbs-swiper .swiper-button-next,
.product-thumbs-swiper .swiper-button-prev {
    color: var(--bs-primary);
    width: 20px;
    height: 20px;
}

.product-thumbs-swiper .swiper-button-next:after,
.product-thumbs-swiper .swiper-button-prev:after {
    font-size: 16px;
}

/* 产品信息区域样式 */
.product-info {
    min-height: 400px; /* 减小最小高度，与左侧保持一致 */
}

.product-info-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.product-info-scroll::-webkit-scrollbar {
    width: 6px;
}

.product-info-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.product-info-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-gallery,
    .product-info {
        min-height: auto;
    }

    .product-main-swiper .swiper-button-next,
    .product-main-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .product-main-swiper .swiper-button-next:after,
    .product-main-swiper .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* 产品标题样式 */
.product-title-wrapper {
    border-radius: 8px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.product-title {
    color: var(--bs-primary);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.product-title .title-line {
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--bs-primary);
    border-radius: 2px;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.product-category {
    font-size: 0.9rem;
}

.product-category .badge {
    padding: 6px 12px;
    font-weight: 500;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
}

/* 动画效果 */
@keyframes titleLineWidth {
    from { width: 0; }
    to { width: 50px; }
}

.product-title .title-line {
    animation: titleLineWidth 0.6s ease-out forwards;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-title-wrapper {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
}

/* 调整按钮样式 */
.product-actions .btn {
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-actions .btn-primary {
    box-shadow: 0 2px 6px rgba(var(--bs-primary-rgb), 0.2);
}

.product-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

.product-actions .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.15);
}

.product-actions .btn i {
    font-size: 1.1em;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .product-actions .btn {
        padding: 10px 15px;
    }
}

/* 表单样式优化 */
.product-inquiry .form-label {
    font-weight: 500;
    color: #555;
}

.product-inquiry .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.product-inquiry .form-control {
    border-left: none;
}

.product-inquiry .input-group:focus-within .input-group-text {
    border-color: #86b7fe;
}

.product-inquiry .input-group:focus-within .form-control {
    border-color: #86b7fe;
}

.product-inquiry textarea.form-control {
    border-left: 1px solid #ced4da;
}

.product-inquiry .btn-primary {
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-inquiry .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.15);
}

.product-inquiry .alert {
    border-left: 4px solid #198754;
}

@media (max-width: 768px) {
    .product-inquiry .btn {
        width: 100%;
        margin: 5px 0 !important;
    }
}

/* 文章详情页样式 */
.article-banner {
    margin-bottom: 2rem;
}

.article-meta {
    font-size: 0.9rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.article-body h1, 
.article-body h2, 
.article-body h3, 
.article-body h4, 
.article-body h5, 
.article-body h6 {
    margin: 1.5rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.2rem;
}

.article-body blockquote {
    border-left: 4px solid var(--bs-primary);
    padding: 1rem;
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    margin: 1.5rem 0;
}

.article-body pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

.article-body code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

.article-navigation a {
    transition: all 0.3s ease;
}

.article-navigation a:hover {
    color: var(--bs-primary) !important;
}

.transition-hover {
    transition: all 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

/* 评论区样式 */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 1.5rem;
}

.comment-body {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.comment-meta {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.comment-author {
    font-weight: bold;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-reply-link {
    font-size: 0.9rem;
    color: var(--bs-primary);
    text-decoration: none;
}

.comment-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.comment-form-comment textarea {
    height: 150px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-banner {
        height: 300px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-wrap: wrap;
    }
    
    .article-meta span {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .article-banner {
        height: 200px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
}

.swiper.banner-swiper {
    border: none;
}

.banner-swiper .swiper-wrapper {
    border: none;
}

.banner-swiper .swiper-slide {
    border: none;
}