/* 变量定义 */
:root {
    --primary-color: #0A506A;
    --primary-color-rgb: 30,136,229;
    --text-color: #333;
    --bg-gray: #f8f9fa;
    --border-color: #eee;
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 导航栏样式 */
.navbar {
    padding: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-brand img {
    height: 70px;
    width: auto;
}

.navbar-nav {
    margin: 0;
}

.nav-item {
    position: relative;
    margin: 0 10px;
}

.nav-link {
    padding: 25px 15px !important;
    color: var(--text-color);
    font-size: 15px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* 下拉菜单 */
.subcategory-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 1000;
    border-radius: 4px;
}

.nav-item:hover .subcategory-list {
    display: block;
}

.subcategory-list li {
    list-style: none;
}

.subcategory-list a {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    font-size: 14px;
}

.subcategory-list a:hover {
    color: var(--primary-color);
    background: var(--bg-gray);
}

/* 语言选择 */
.language-select .btn {
    color: var(--text-color);
    padding: 8px 15px;
    font-size: 14px;
}

.language-select .dropdown-menu {
    min-width: 160px;
    padding: 5px 0;
}

.language-select .dropdown-item {
    padding: 8px 15px;
    font-size: 14px;
}

.language-select .dropdown-item img {
    margin-right: 8px;
}

/* 移动端导航 */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin: 0;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-link {
        padding: 15px 20px !important;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .subcategory-list {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: var(--bg-gray);
        display: none;
    }

    .nav-item.active > .subcategory-list {
        display: block;
    }

    .subcategory-list li {
        border-top: 1px solid var(--border-color);
    }

    .subcategory-list a {
        padding: 12px 20px 12px 40px;
        font-size: 15px;
    }
} 

/* index.html 首页样式 */


    /* 添加产品卡片按钮样式 */
    .index-product-card .btn-outline-primary {
        color: var(--primary-color);
        background-color: transparent;
        border-color: var(--primary-color);
        transition: all 0.3s ease;
        font-size: 14px;
        padding: 8px 15px;
    }

    .index-product-card .btn-outline-primary:hover {
        color: #fff;
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .index-product-meta {
        margin-top: 15px;
    }

    .index-product-meta .btn {
        border-radius: 4px;
        text-transform: none;
        font-weight: normal;
    }

    /* Banner样式 */
    section.index-banner {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 600px;
        margin: 0;
        padding: 0;
        line-height: 0;
        font-size: 0;
        display: block;
    }

    .index-banner .swiper {
        width: 100%;
        height: 600px;
        margin: 0;
        padding: 0;
        font-size: 16px;
    }

    .index-banner .swiper-wrapper {
        margin: 0;
        padding: 0;
        height: 600px;
    }

    .index-banner .swiper-slide {
        margin: 0;
        padding: 0;
        line-height: 0;
        font-size: 0;
    }

    .index-banner .swiper-slide img {
        width: 100%;
        height: 600px;
        object-fit: cover;
        display: block;
        margin: 0;
        padding: 0;
        vertical-align: top;
    }

    .index-banner .swiper-slide-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
        z-index: 1;
        width: 90%;
        max-width: 1200px;
        padding: 0 15px;
    }

    .index-banner .swiper-slide-title {
        font-size: min(4vw, 2.5rem);
        margin-bottom: min(2vw, 1rem);
        font-weight: bold;
    }

    .index-banner .swiper-slide-desc {
        font-size: min(2.5vw, 1.2rem);
        margin-bottom: min(3vw, 2rem);
    }

    .index-banner-buttons .btn {
        font-size: min(2vw, 1rem);
        padding: min(1.5vw, 0.75rem) min(3vw, 1.5rem);
        margin: 0 0.5rem;
    }

    @media (max-width: 768px) {
        .index-banner .swiper-slide img {
            height: 600px;
        }
        
        .index-banner .swiper-slide-title {
            font-size: min(6vw, 1.8rem);
        }
        
        .index-banner .swiper-slide-desc {
            font-size: min(4vw, 1rem);
        }

        .index-banner-buttons .btn {
            font-size: min(3vw, 0.9rem);
            padding: min(2vw, 0.5rem) min(4vw, 1rem);
            margin: 0.25rem;
        }
    }

    @media (max-width: 480px) {
        .index-banner .swiper-slide img {
            height: 600px;
        }

        .index-banner-buttons {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            align-items: center;
        }

        .index-banner-buttons .btn {
            width: 80%;
            margin: 0;
        }
    }

    /* 产品区域样式优化 */
    .index-products-section {
        padding: 0;
        margin: 0;
        line-height: 1.5;
         
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        padding: 40px 0;
    }

    .container {
        padding-top: 0;
        margin-top: 0;
    }

    .row {
        margin-top: 0;
        padding-top: 0;
        display: flex;
        flex-wrap: wrap;
    }

    .row > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

    .index-banner {
        margin-bottom: 0;
    }

    .index-category-sidebar {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        padding: 15px;
        height: 100%;
    }

    .index-sidebar-title {
        font-size: 18px;
        color: #333;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .index-product-category {
        margin-bottom: 0;
        background: #fff;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        height: 100%;
    }

    .index-product-category:last-child {
        margin-bottom: 0;
    }

    .index-section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .index-section-header h2 {
        font-size: 18px;
        margin: 0;
        color: #333;
    }

    .index-product-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    @media (max-width: 992px) {
        .index-product-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
    }

    @media (max-width: 480px) {
        .index-product-grid {
            grid-template-columns: repeat(1, 1fr);
            gap: 15px;
        }
        
        .index-product-category {
            padding: 15px;
        }
    }

    /* 新闻资讯样式 */
    .news-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        position: relative;
    }

    .news-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, #ddd, transparent);
    }

    .section-title {
        text-align: center;
        margin-bottom: 40px;
        position: relative;
    }

    .section-title h2 {
        font-size: 32px;
        color: #333;
        margin-bottom: 10px;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

    .section-title h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: var(--primary-color);
    }

    .section-title p {
        color: #666;
        font-size: 16px;
    }

    .news-card {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 15px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        height: 100%;
    }

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    }

    .news-img {
        position: relative;
        overflow: hidden;
        height: 220px;
    }

    .news-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .news-card:hover .news-img img {
        transform: scale(1.05);
    }

    .news-date {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255,255,255,0.9);
        padding: 10px 15px;
        border-radius: 4px;
        text-align: center;
        line-height: 1.2;
    }

    .news-date .day {
        display: block;
        font-size: 24px;
        font-weight: bold;
        color: var(--primary-color);
    }

    .news-date .month {
        display: block;
        font-size: 14px;
        color: #666;
    }

    .news-content {
        padding: 20px;
    }

    .news-meta {
        display: flex;
        gap: 15px;
        margin-bottom: 12px;
    }

    .news-meta span {
        font-size: 13px;
        color: #666;
    }

    .news-meta i {
        color: var(--primary-color);
        margin-right: 5px;
    }

    .news-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .news-content h3 a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .news-content h3 a:hover {
        color: var(--primary-color);
    }

    .news-content p {
        color: #666;
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

     
    /* 修改查看更多新闻按钮样式 */
    .news-section .btn-outline-primary {
        color: #0A506A;
        border-color: #0A506A;
        transition: all 0.3s ease;
    }

    .news-section .btn-outline-primary:hover {
        color: #fff;
        background-color: #0A506A;
        border-color: #0A506A;
    }
 

    .read-more {
        display: inline-flex;
        align-items: center;
        color: var(--primary-color);
        font-size: 14px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .read-more i {
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .read-more:hover {
        color: var(--primary-color);
        opacity: 0.8;
    }

    .read-more:hover i {
        transform: translateX(3px);
    }

    @media (max-width: 768px) {
        .news-section {
            padding: 30px 0;
        }

        .section-title {
            margin-bottom: 30px;
        }

        .section-title h2 {
            font-size: 24px;
        }

        .news-img {
            height: 180px;
        }
    }

    @media (max-width: 480px) {
        .news-img {
            height: 160px;
        }

        .news-content {
            padding: 15px;
        }

        .news-content h3 {
            font-size: 16px;
        }
    }

    /* 视频播放区域样式 */
    .about-video {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .video-wrapper {
        position: relative;
        padding-top: 56.25%; /* 16:9 比例 */
        background: #000;
        cursor: pointer;
    }

    .video-player {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .video-play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: 80px;
        background: rgba(255,255,255,0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .video-play-btn i {
        font-size: 30px;
        color: var(--primary-color);
        margin-left: 5px;
    }

    .video-play-btn:hover {
        background: var(--primary-color);
        transform: translate(-50%, -50%) scale(1.1);
    }

    .video-play-btn:hover i {
        color: #fff;
    }

    @media (max-width: 768px) {
        .video-play-btn {
            width: 60px;
            height: 60px;
        }

        .video-play-btn i {
            font-size: 24px;
        }
    }

    /* 关于我们区域样式 */
    .about-section {
        padding: 60px 0;
        background-color: #fff;
        position: relative;
    }

    .more-link {
        display: inline-flex;
        align-items: center;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .more-link i {
        margin-left: 8px;
        transition: transform 0.3s ease;
        color: var(--primary-color);
    }

    .more-link:hover {
        color: var(--primary-color);
    }

    .more-link:hover i {
        transform: translateX(5px);
    }

    /* 热卖商品轮播图样式 */
    .hot-products-swiper {
        position: relative;
        padding: 0 40px;
        margin: 0;
    }

    .hot-products-swiper .swiper-slide {
        height: auto;
    }

    .index-product-card {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .index-product-img {
        position: relative;
        padding-top: 75%; /* 4:3 比例 */
        overflow: hidden;
    }

    .index-product-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .index-product-content {
        padding: 15px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .index-product-title {
        text-align: center;
        font-size: 16px;
        margin: 0 0 8px;
        color: #333;
        height: 42px; /* 固定高度为两行 */
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* 限制在2行 */
        -webkit-box-orient: vertical;
    }

    .index-product-desc {
        font-size: 14px;
        color: #666;
        margin: 0 0 15px;
    }

    .hot-products-swiper .swiper-button-next,
    .hot-products-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
        background-color: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        color: var(--primary-color);
    }

    .hot-products-swiper .swiper-button-next:after,
    .hot-products-swiper .swiper-button-prev:after {
        font-size: 14px;
        font-weight: bold;
    }

    @media (max-width: 768px) {
        .hot-products-swiper {
            padding: 0 30px;
        }
        
        .index-product-content {
            padding: 15px;
        }
        
        .index-product-title {
            font-size: 16px;
            margin-bottom: 8px;
        }
        
        .index-product-desc {
            font-size: 14px;
            margin-bottom: 15px;
        }
        
        .hot-products-swiper .swiper-button-next,
        .hot-products-swiper .swiper-button-prev {
            width: 25px;
            height: 25px;
        }
        
        .hot-products-swiper .swiper-button-next:after,
        .hot-products-swiper .swiper-button-prev:after {
            font-size: 12px;
        }
    }

    @media (max-width: 480px) {
        .hot-products-swiper {
            padding: 0 25px;
        }
        
        .index-product-content {
            padding: 15px;
        }
        
        .index-product-title {
            font-size: 16px;
        }
        
        .index-product-desc {
            font-size: 14px;
            margin-bottom: 15px;
        }
        
        .hot-products-swiper .swiper-button-next,
        .hot-products-swiper .swiper-button-prev {
            width: 22px;
            height: 22px;
        }
    }

    .category-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .category-list > li {
        margin-bottom: 5px;
    }

    .category-list > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        color: #333;
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .category-list > li > a:hover {
        background: rgba(0,0,0,0.03);
        color: var(--primary-color);
    }

    .category-list .has-submenu .sidebar-submenu {
        display: none;
        list-style: none;
        padding: 0 0 0 15px;
        margin: 5px 0;
    }

    .category-list .has-submenu.active .sidebar-submenu {
        display: block;
    }

    .category-list .sidebar-submenu li {
        margin-bottom: 5px;
    }

    .category-list .sidebar-submenu a {
        display: block;
        padding: 8px 15px;
        color: #666;
        text-decoration: none;
        font-size: 14px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .category-list .sidebar-submenu a:hover {
        color: var(--primary-color);
        background: rgba(0,0,0,0.02);
    }

    @media (max-width: 992px) {
        .index-category-sidebar {
            margin-bottom: 20px;
            height: auto;
        }
        
        .index-product-category {
            height: auto;
        }
    }

    /* 热卖商品区域 */
    .index-product-category .index-product-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* 产品列表区域 */
    #beauty .index-product-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    @media (max-width: 1200px) {
        #beauty .index-product-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }
    }

    @media (max-width: 992px) {
        .index-product-category .index-product-grid,
        #beauty .index-product-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
    }

    @media (max-width: 480px) {
        .index-product-category .index-product-grid,
        #beauty .index-product-grid {
            grid-template-columns: repeat(1, 1fr);
            gap: 15px;
        }
        
        .index-product-category {
            padding: 15px;
        }
    }

    .index-case-card {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 30px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        background: #fff;
    }

    .index-case-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .index-case-image {
        position: relative;
        overflow: hidden;
        padding-top: 75%; /* 4:3 比例 */
    }

    .index-case-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .index-case-card:hover .index-case-image img {
        transform: scale(1.1);
    }

    .index-case-content {
        padding: 20px;
        background: #fff;
    }

    .index-case-content h4 {
        font-size: 18px;
        margin: 0 0 10px;
        color: #333;
        font-weight: 500;
    }

    .index-case-content p {
        font-size: 14px;
        color: #666;
        margin: 0 0 15px;
        line-height: 1.6;
    }

    .index-case-link {
        display: inline-flex;
        align-items: center;
        color: var(--primary-color);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .index-case-link i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    .index-case-link:hover {
        color: var(--secondary-color);
    }

    .index-case-link:hover i {
        transform: translateX(5px);
    }

    @media (max-width: 768px) {
        .index-case-content {
            padding: 15px;
        }
        
        .index-case-content h4 {
            font-size: 16px;
            margin-bottom: 8px;
        }
        
        .index-case-content p {
            font-size: 13px;
            margin-bottom: 12px;
        }
    }

    .index-cases-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }

    .index-case-card {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 30px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        background: #fff;
    }

    .index-case-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .index-case-image {
        position: relative;
        overflow: hidden;
        padding-top: 75%; /* 4:3 比例 */
    }

    .index-case-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .index-case-card:hover .index-case-image img {
        transform: scale(1.1);
    }

    .index-case-content {
        padding: 20px;
        background: #fff;
    }

    .index-case-content h4 {
        font-size: 18px;
        margin: 0 0 10px;
        color: #333;
        font-weight: 500;
    }

    .index-case-content p {
        font-size: 14px;
        color: #666;
        margin: 0 0 15px;
        line-height: 1.6;
    }

    .index-case-link {
        display: inline-flex;
        align-items: center;
        color: var(--primary-color);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .index-case-link i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    .index-case-link:hover {
        color: var(--secondary-color);
    }

    .index-case-link:hover i {
        transform: translateX(5px);
    }

    @media (max-width: 768px) {
        .index-case-content {
            padding: 15px;
        }
        
        .index-case-content h4 {
            font-size: 16px;
            margin-bottom: 8px;
        }
        
        .index-case-content p {
            font-size: 13px;
            margin-bottom: 12px;
        }
    }

/* Banner区域 */
.index-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.index-banner .swiper {
    width: 100%;
    height: 100%;
}

.index-banner .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.index-banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.index-banner .swiper-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.index-banner .swiper-slide-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.index-banner .swiper-slide-desc {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.index-banner-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.index-banner-buttons .btn {
    margin: 0 10px;
    padding: 12px 30px;
    font-size: 18px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}

.index-banner-buttons .btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.index-banner-buttons .btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.index-banner-buttons .btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.index-banner .swiper-button-prev,
.index-banner .swiper-button-next {
    color: #fff;
}

.index-banner .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.index-banner .swiper-pagination-bullet-active {
    background: #fff;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 产品展示区域 */
.index-products-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* 左侧分类导航 */
.index-category-sidebar {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.index-sidebar-title {
    padding: 15px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.index-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.index-category-list > li {
    border-bottom: 1px solid #eee;
}

.index-category-list > li > a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.index-category-list > li > a:hover {
    color: var(--primary-color);
    background-color: #f8f9fa;
}

.index-sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background-color: #f8f9fa;
}

.index-sidebar-submenu li a {
    display: block;
    padding: 8px 15px 8px 30px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.index-sidebar-submenu li a:hover {
    color: var(--primary-color);
}

.index-category-list > li.active > a {
    color: var(--primary-color);
    background-color: #f8f9fa;
}

.index-category-list > li.active .index-sidebar-submenu {
    display: block;
}

/* 右侧产品列表 */
.index-product-category {
    background-color: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.index-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.index-section-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.index-more-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.index-more-link:hover {
    color: var(--primary-color);
}

.index-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.index-product-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.index-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.index-product-img {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.index-product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.index-product-card:hover .index-product-img img {
    transform: scale(1.1);
}

.index-product-content {
    padding: 15px;
}

.index-product-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.index-product-desc {
    margin: 0 0 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.index-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.index-product-meta .btn {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.index-product-meta .btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

.about-content {
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.about-content h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.more-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.more-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.more-link:hover i {
    transform: translateX(5px);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .index-banner {
        height: 500px;
    }

    .index-banner .swiper-slide-title {
        font-size: 36px;
    }

    .index-banner .swiper-slide-desc {
        font-size: 18px;
    }

    .index-banner-buttons .btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .index-category-sidebar {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .index-banner {
        height: 400px;
    }

    .index-banner .swiper-slide-title {
        font-size: 28px;
    }

    .index-banner .swiper-slide-desc {
        font-size: 16px;
    }

    .index-banner-buttons .btn {
        padding: 8px 16px;
        font-size: 14px;
        margin: 5px;
    }

    .index-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
} 

/* about页面样式 */
.about-page .banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.about-page .banner .swiper {
    width: 100%;
    height: 100%;
}

.about-page .banner .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-page .banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page .banner .swiper-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.about-page .banner .swiper-slide-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.about-page .banner .swiper-slide-desc {
    font-size: 18px;
    opacity: 0.9;
}

/* 企业文化 */
.about-page .culture-section {
    padding: 80px 0;
    background: #fff;
}

.about-page .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.about-page .section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.about-page .section-title p {
    font-size: 16px;
    color: #666;
}

.about-page .culture-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.about-page .culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.about-page .culture-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-page .culture-item .icon i {
    font-size: 32px;
    color: #fff;
}

.about-page .culture-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.about-page .culture-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 发展历程 */
.about-page .history-section {
    padding: 80px 0;
    background: var(--bg-gray);
    position: relative;
}

.about-page .history-section::before {
    content: '';
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 150px);
    background: var(--primary-color);
}

.about-page .timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 0 50px;
}

.about-page .timeline-item:nth-child(odd) {
    float: left;
    clear: both;
    text-align: right;
}

.about-page .timeline-item:nth-child(even) {
    float: right;
    clear: both;
    text-align: left;
}

.about-page .timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 0;
}

.about-page .timeline-item:nth-child(odd)::before {
    right: -10px;
}

.about-page .timeline-item:nth-child(even)::before {
    left: -10px;
}

.about-page .timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.about-page .timeline-year {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.about-page .timeline-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 视频区域 */
.about-page .video-section {
    padding: 80px 0;
    background: #fff;
}

.about-page .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.about-page .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-page .video-play-btn i {
    font-size: 30px;
    color: var(--primary-color);
}

.about-page .video-play-btn:hover {
    background: var(--primary-color);
}

.about-page .video-play-btn:hover i {
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .about-page .banner {
        height: 300px;
    }

    .about-page .banner .swiper-slide-title {
        font-size: 28px;
    }

    .about-page .banner .swiper-slide-desc {
        font-size: 16px;
    }

    .about-page .timeline-item {
        width: 100%;
        padding: 0 0 0 50px;
        text-align: left;
    }

    .about-page .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .about-page .timeline-item::before {
        left: -10px !important;
    }

    .about-page .history-section::before {
        left: 0;
    }
}

@media (max-width: 767.98px) {
    .about-page .banner {
        height: 250px;
    }

    .about-page .banner .swiper-slide-title {
        font-size: 24px;
    }

    .about-page .banner .swiper-slide-desc {
        font-size: 14px;
    }
} 

/* 专业团队 */
.about-page .team-section {
    padding: 80px 0;
    background: #fff;
}

.about-page .team-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.about-page .team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.about-page .team-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-page .team-item .icon i {
    font-size: 32px;
    color: #fff;
}

.about-page .team-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.about-page .team-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 设置区块背景交替 */
.about-page .culture-section {
    background: #fff;
}

.about-page .team-section {
    background: var(--bg-gray);
}


/* 页脚样式 */

/* 页脚样式优化 */
.footer {
    background-color: #1f1f1f;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: normal;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    color: rgba(255,255,255,0.7);
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.footer-contact .contact-info p {
    margin: 0 0 5px;
    font-size: 14px;
}

.qr-code-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.qr-item {
    text-align: center;
}

.qr-img {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.qr-item p {
    font-size: 14px;
    margin: 0;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin: 5px 0;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}


/* product页面样式 */
.product-page {
    padding-top: 0;
}

/* Banner区域 */
.banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.banner .swiper {
    
    height: 400px;
}

.banner .swiper-slide {
    position: relative;
     
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner .swiper-slide img {
     
    height: 400px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.banner .swiper-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.banner .swiper-slide-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.banner .swiper-slide-desc {
    font-size: 18px;
    opacity: 0.9;
}

/* 页面标题 */
.page-header {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin: 0;
    padding: 0;
}

/* 主体内容 */
.product-page .main-content {
    padding: 30px 0;
    background: var(--bg-gray);
}

/* 左侧分类导航 */
.product-page .category-sidebar {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.product-page .category-title {
    padding: 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.product-page .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-page .category-list > li {
    border-bottom: 1px solid var(--border-color);
}

.product-page .category-list > li:last-child {
    border-bottom: none;
}

.product-page .category-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-page .category-list > li > a:hover {
    color: var(--primary-color);
    background: var(--bg-gray);
}

.product-page .category-list > li > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.product-page .category-list > li.active > a {
    color: var(--primary-color);
    background: var(--bg-gray);
}

.product-page .category-list > li.active > a i {
    transform: rotate(90deg);
}

/* 产品列表 */
.product-page .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-page .product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-page .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-page .product-img {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.product-page .product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-page .product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-page .product-content {
    padding: 20px;
}

.product-page .product-title {
    font-size: 18px;
    color: var(--text-color);
    margin: 0 0 10px;
    font-weight: 600;
}

.product-page .product-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.6;
}

.product-page .product-meta {
    /* display: flex; */
    align-items: center;
    justify-content: space-between;
}

.product-page .product-meta .btn {
    padding: 8px 20px;
    font-size: 14px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-page .product-meta .btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .banner {
        height: 300px;
    }
    
    .banner .swiper-slide-title {
        font-size: 28px;
    }
    
    .banner .swiper-slide-desc {
        font-size: 16px;
    }

    .product-page .category-sidebar {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .banner {
        height: 200px;
    }
    
    .banner .swiper-slide-title {
        font-size: 24px;
    }
    
    .banner .swiper-slide-desc {
        font-size: 14px;
    }
    
    .product-page .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
} 

/* product-show页面样式 */
.product-show-page {
    padding-top: 0;
    background: #f8f9fa;
}

.product-main {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

/* 左侧边栏样式 */
.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* 产品展示区域样式 */
.product-gallery {
    margin-bottom: 30px;
}

.gallery-main {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.gallery-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-thumb {
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb.active {
    border-color: var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品信息样式 */
.product-info {
    padding: 0 20px;
}


.product-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
    height: 44px; /* 固定高度为两行 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制在2行 */
    -webkit-box-orient: vertical;
}

.product-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.product-meta li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #555;
}

.product-meta li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 16px;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.product-actions .btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 4px;
}

/* 选项卡样式 */
.product-tabs {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.nav-tabs {
    background: #f8f9fa;
    border-bottom: none;
    padding: 0 20px;
}

.nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 500;
    padding: 15px 25px;
    position: relative;
}

.nav-tabs .nav-link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: none;
}

.nav-tabs .nav-link.active:after {
    transform: scaleX(1);
}

.tab-content {
    padding: 30px;
    color: #666;
    line-height: 1.8;
}

/* 相关产品样式 */
.related-products {
    margin-top: 50px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.product-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-card .btn {
    padding: 8px 20px;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .product-info {
        padding: 20px 0;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767.98px) {
    .product-main {
        padding: 15px;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
} 

/* 左侧边栏联系信息样式 */
.sidebar-widget .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget .footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #666;
}

.sidebar-widget .footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

.sidebar-widget .footer-contact .contact-info {
    flex: 1;
}

.sidebar-widget .footer-contact .contact-info p {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* 页脚联系信息保持白色 */
.footer .footer-contact li {
    color: rgba(255,255,255,0.7);
}

.footer .footer-contact .contact-info p {
    color: rgba(255,255,255,0.7);
} 

/* 内页banner样式 */
.inner-banner {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/product.jpg') no-repeat center center;
    background-size: cover;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.inner-banner .banner-content {
    width: 100%;
}

.inner-banner h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.inner-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
}

/* 面包屑导航样式 */
.breadcrumb-section {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
}

.breadcrumb-item {
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #666;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #999;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .inner-banner {
        height: 250px;
    }

    .inner-banner h1 {
        font-size: 30px;
    }

    .inner-banner p {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .inner-banner {
        height: 200px;
    }

    .inner-banner h1 {
        font-size: 24px;
    }

    .inner-banner p {
        font-size: 14px;
    }
} 

/* 产品分类样式统一 */
.category-list,
.index-category-list,
.product-page .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list > li,
.index-category-list > li,
.product-page .category-list > li {
    border-bottom: 1px solid var(--border-color);
}

.category-list > li:last-child,
.index-category-list > li:last-child,
.product-page .category-list > li:last-child {
    border-bottom: none;
}

.category-list > li > a,
.index-category-list > li > a,
.product-page .category-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list > li > a i,
.index-category-list > li > a i,
.product-page .category-list > li > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.category-list > li > a:hover,
.index-category-list > li > a:hover,
.product-page .category-list > li > a:hover {
    color: var(--primary-color);
    background: var(--bg-gray);
}

.category-list > li.active > a,
.index-category-list > li.active > a,
.product-page .category-list > li.active > a {
    color: var(--primary-color);
    background: var(--bg-gray);
}

.category-list > li.active > a i,
.index-category-list > li.active > a i,
.product-page .category-list > li.active > a i {
    transform: rotate(90deg);
}

/* 二级菜单样式 */
.sidebar-submenu,
.index-sidebar-submenu,
.product-page .sidebar-submenu {
    background: var(--bg-gray);
    padding: 5px 0;
    display: none;
}

.sidebar-submenu li,
.index-sidebar-submenu li,
.product-page .sidebar-submenu li {
    margin: 0;
    list-style: none;
}

.sidebar-submenu a,
.index-sidebar-submenu a,
.product-page .sidebar-submenu a {
    display: block;
    padding: 8px 15px 8px 30px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-submenu a:hover,
.index-sidebar-submenu a:hover,
.product-page .sidebar-submenu a:hover {
    color: var(--primary-color);
    background: #fff;
} 

.category-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list > li {
    margin-bottom: 5px;
}

.category-list > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-list > li > a:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.category-list > li.has-submenu > a i {
    transition: transform 0.3s ease;
}

.category-list > li.has-submenu.active > a i {
    transform: rotate(90deg);
}

.sidebar-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 5px 0 5px 20px;
}

.category-list > li.active .sidebar-submenu {
    display: block;
}

.sidebar-submenu li {
    margin: 5px 0;
}

.sidebar-submenu li a {
    display: block;
    padding: 8px 15px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-submenu li a:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.05);
    border-radius: 4px;
} 

/* 新闻页面样式 */
.news-page .banner {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/news-banner.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.news-page .banner-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.news-page .banner-content {
    color: #fff;
}

.news-page .banner-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.news-page .banner-content p {
    font-size: 18px;
    margin: 0;
}

.news-page .page-header {
    padding: 20px 0;
    background: #f8f9fa;
}

.news-page .breadcrumb {
    margin: 0;
    font-size: 14px;
}

.news-page-content {
    padding: 60px 0;
}

.news-page-detail {
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.news-page-header {
    margin-bottom: 30px;
}

.news-page-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.news-page-meta {
    color: #666;
    font-size: 14px;
}

.news-page-meta span {
    margin-right: 20px;
}

.news-page-meta i {
    margin-right: 5px;
}

.news-page-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.news-page-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-page-text h4 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #333;
}

.news-page-text p {
    margin-bottom: 15px;
}

.news-page-text ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.news-page-share {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.news-page-share span {
    color: #666;
    margin-right: 15px;
}

.share-link {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #f8f9fa;
    color: #666;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.share-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.news-page-nav {
    margin-top: 30px;
}

.news-page-prev,
.news-page-next {
    margin: 10px 0;
}

.news-page-prev span,
.news-page-next span {
    color: #666;
    margin-right: 10px;
}

.news-page-prev a,
.news-page-next a {
    color: #333;
    text-decoration: none;
}

.news-page-prev a:hover,
.news-page-next a:hover {
    color: var(--primary-color);
}

/* 右侧边栏样式 */
.news-page-sidebar {
    margin-bottom: 30px;
}

.news-page-widget {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    margin-bottom: 10px;
}

.widget-list li a {
    display: flex;
    justify-content: space-between;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.widget-list li a:hover,
.widget-list li a.active {
    color: var(--primary-color);
}

.widget-list li a span {
    color: #999;
}

.widget-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-news-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.widget-news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-news-img {
    width: 100px;
    height: 70px;
    margin-right: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.widget-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-news-info {
    flex: 1;
}

.widget-news-info h5 {
    font-size: 16px;
    margin: 0 0 8px;
}

.widget-news-info h5 a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.widget-news-info h5 a:hover {
    color: var(--primary-color);
}

.widget-news-info .date {
    font-size: 14px;
    color: #999;
}

.widget-news-info .date i {
    margin-right: 5px;
} 

/* 新闻列表图片样式 */
.news-page .news-page-img {
    position: relative;
    width: 280px;
    height: 180px;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 20px;
    flex-shrink: 0;
}

.news-page .news-page-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 新闻列表项布局优化 */
.news-page-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    background: #fff;
    padding: 4px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.news-page .news-page-img {
    width: 180px;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.news-page-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-page-content h3 {
    font-size: 18px;
    margin: 0 0 6px;
    line-height: 1.4;
}

.news-page-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-page-meta {
    margin-bottom: 6px;
}

.news-page-meta span {
    color: #999;
    font-size: 14px;
    margin-right: 15px;
}

.read-more {
    color: var(--primary-color);
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .news-page-item {
        flex-direction: column;
        padding: 10px;
    }
    
    .news-page .news-page-img {
        width: 100%;
        height: 160px;
        margin-right: 0;
        margin-bottom: 10px;
    }
} 

/* 应用案例样式 */
.index-cases-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.index-cases-section .index-case-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.index-cases-section .index-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.index-cases-section .index-case-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 比例 */
}

.index-cases-section .index-case-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.index-cases-section .index-case-card:hover .index-case-image img {
    transform: scale(1.1);
}

.index-cases-section .index-case-content {
    padding: 20px;
    background: #fff;
}

.index-cases-section .index-case-content h4 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
    font-weight: 500;
}

.index-cases-section .index-case-content p {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px;
    line-height: 1.6;
}

.index-cases-section .index-case-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.index-cases-section .index-case-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.index-cases-section .index-case-link:hover {
    color: var(--secondary-color);
}

.index-cases-section .index-case-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .index-cases-section .index-case-content {
        padding: 15px;
    }
    
    .index-cases-section .index-case-content h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .index-cases-section .index-case-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }
} 