* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
    background-color: #f1f3f5;
}

/* 顶部信息栏 */
.top-bar {
    background-color: #000;
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar-container {
    max-width: 1740px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.company-name {
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-info {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0 1rem;
    }

    .top-bar-right {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1740px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #000;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-item {
    position: relative;
}

.nav-item a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-item a:hover {
    color: #666;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item.active a::after {
    width: 100%;
}

.nav-item.active a:hover::after {
    background-color: #666;
    height: 3px;
}

.nav-arrow {
    font-size: 0.7rem;
    color: #666;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border-top: 1px solid #000;
}

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

.dropdown-menu li {
    padding: 0 1.5rem;
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 0;
    color: #666;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    color: #000;
    transform: translateX(5px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-selector {
    position: relative;
}

.language-btn {
    background-color: #222;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-btn:hover {
    background-color: #333;
    transform: scale(1.05);
}

.language-selector:hover .nav-arrow,
.language-selector.active .nav-arrow {
    transform: rotate(180deg);
}

.language-selector:hover .dropdown-menu,
.language-selector.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-selector .dropdown-menu a {
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

.language-selector .dropdown-menu li a:hover {
    color: #666;
    transform: translateX(5px);
}

/* 三级下拉菜单 */
.dropdown-item {
    position: relative;
}

.sub-dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border-top: 1px solid #000;
    margin-top: -1px;
}

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

.sub-dropdown-menu li {
    padding: 0 1.5rem;
    list-style: none;
}

.sub-dropdown-menu li a {
    display: block;
    padding: 0.5rem 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sub-dropdown-menu li a:hover {
    color: #000;
    transform: translateX(5px);
}

.search-container {
    position: relative;
}

.search-icon, .service-icon {
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0.5rem;
}

.search-icon:hover, .service-icon:hover {
    transform: scale(1.1);
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 0.5rem;
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.search-btn {
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #333;
    transform: scale(1.05);
}

.service-container {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.service-icon {
    background-color: #000;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-icon:hover {
    background-color: #333;
    transform: scale(1.1);
}

.service-info {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 1rem;
    min-width: 200px;
    margin-bottom: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.service-info.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.service-info h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.service-icon-small {
    font-size: 1.1rem;
}

.wechat-qr {
    margin-top: 0.5rem;
    margin-left: 1.6rem;
    padding: 0.5rem;
    background-color: #f5f5f5;
    border-radius: 4px;
    display: inline-block;
}

.qr-code {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Banner区 */
.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    width: 100%;
    margin-top: 100px;
    margin-bottom: 2rem;
}

.banner-container {
    max-width: 1740px;
    margin: 0 auto;
    height: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
}

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

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

.banner-content {
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    z-index: 2;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    color: #000;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
    color: #666;
}

.banner-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.banner-btn:hover {
    background-color: #333;
    transform: translateY(25px) scale(1.05);
}

.banner-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #000;
    transform: scale(1.2);
}

.banner-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1700px;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}

.arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.arrow:hover {
    background-color: #fff;
    transform: scale(1.1);
}

/* 通用区块样式 */
.section {
    max-width: 1740px;
    margin: 20px auto 2rem;
    padding: 3rem 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
    background-color: #fff;
    border-radius: 10px;
}

#products-list {
    margin: 0 auto 2rem;
    padding: 3rem 2rem;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-container {
    width: 100%;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
}

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

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb span {
    color: #000;
    font-weight: 500;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

.more-btn {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.more-btn:hover {
    color: #666;
}

.more-arrow {
    color: #000;
    transition: all 0.3s ease;
}

.more-btn:hover .more-arrow {
    color: #666;
    transform: translateX(3px);
}

/* 特色产品区 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    text-align: center;
    transition: all 0.3s ease;
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

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

.product-card img {
    width: 100%;
    height: 460px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.product-name {
    font-weight: 500;
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 0.5rem;
}

/* 搜索结果页面 */
.no-results {
    text-align: center;
    padding: 4rem 0;
    color: #666;
    font-size: 1.1rem;
}

/* 图文内容区 */
.content-module {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.content-module:nth-child(even) {
    flex-direction: row-reverse;
}

.content-image {
    flex: 1;
}

.content-image img {
    width: 100%;
    height: auto;
}

.content-text {
    flex: 1;
}

.content-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: #222;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #222;
}

.read-more-btn:hover {
    background-color: rgba(34, 34, 34, 0.1);
    transform: scale(1.05);
}

/* 主要产品区 */
.main-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* 新闻资讯区 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.news-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.news-date, .news-category {
    font-size: 0.9rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-category {
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-category:hover {
    color: #666;
}

.news-date i, .news-category i {
    font-size: 0.8rem;
}

.news-summary {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* 页脚 */
.footer {
    width: 100%;
    background-color: #fff;
    padding: 3rem 0 1rem;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    margin: 2rem 1rem;
}

.footer-column:first-child {
    flex: 1.5;
    margin-left: 0;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.company-intro {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    max-width: 400px;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
}

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

.footer-container {
    max-width: 1740px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
    color: #666;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.social-icon:hover {
    color: #000;
    transform: scale(1.1);
}

.social-icon:hover img {
    transform: scale(1.1);
}

/* 产品图片横幅 */
.products-banner {
    max-width: 1740px;
    margin: 100px auto 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.products-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 产品列表页样式 */
.products-layout {
    display: flex;
    gap: 2rem;
}

.product-categories {
    flex: 0 0 200px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
}

.product-categories h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
}

.category-list {
    list-style: none;
}

.category-item {
    margin-bottom: 1rem;
}

.category-item a {
    display: block;
    padding: 0.5rem 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-item.active a {
    color: #000;
    font-weight: 500;
    position: relative;
}

.category-arrow {
    font-size: 0.7rem;
    color: #666;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.category-item.has-submenu:hover .category-arrow {
    transform: rotate(180deg);
}

.sub-category-list {
    list-style: none;
    margin-left: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-item.has-submenu:hover .sub-category-list {
    max-height: 500px;
}

.sub-category-item {
    margin-bottom: 0.5rem;
    position: relative;
}

.sub-category-item a {
    display: block;
    padding: 0.3rem 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sub-category-item a:hover {
    color: #000;
    transform: translateX(3px);
}

.sub-sub-category-list {
    list-style: none;
    margin-left: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sub-category-item.has-submenu:hover .sub-sub-category-list {
    max-height: 500px;
}

.sub-sub-category-list li {
    margin-bottom: 0.3rem;
}

.sub-sub-category-list li a {
    font-size: 0.85rem;
    padding: 0.2rem 0;
}

.category-item.active a::after {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: #000;
    border-radius: 2px;
}

.category-item a:hover {
    color: #000;
    transform: translateX(5px);
}

.product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* 产品列表页样式 - PC端一排6个 */
.product-list-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    align-items: start;
}

.product-list-grid .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-list-grid .product-card .product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-list-grid .product-img-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

.product-list-grid .product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list-grid .product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    min-height: 2.8em;
    max-height: 2.8em;
    line-height: 1.4;
    margin-top: auto;
}

/* 新闻列表页样式 */
.news-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #000;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #999;
}

.news-date, .news-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.news-category:hover {
    color: #000;
}

.news-summary {
    margin: 0 0 1.5rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: #222;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #222;
    align-self: flex-start;
}

.read-more-btn:hover {
    background-color: rgba(34, 34, 34, 0.1);
    transform: scale(1.05);
}

/* 首页新闻列表样式 */
#news .news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

#news .news-card {
    flex-direction: column;
    gap: 1rem;
    box-shadow: none;
}

#news .news-card:hover {
    transform: none;
    box-shadow: none;
}

#news .news-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

#news .news-content {
    padding: 1.5rem;
}

#news .read-more-btn {
    margin-top: auto;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    background-color: #fff;
    cursor: pointer;
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: #000;
    border-color: #007bff;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .page-item.disabled .page-link:hover {
    background-color: #fff;
    color: #666;
    border-color: #ddd;
}

/* 新闻详情页样式 */
.news-detail-content {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.news-detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #000;
    line-height: 1.4;
    text-align: center;
}

.news-detail-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #999;
    justify-content: center;
}

.news-detail-date, .news-detail-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-detail-category {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-detail-category:hover {
    color: #000;
}

.news-detail-body {
    margin-bottom: 2rem;
}

.news-detail-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.news-detail-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #333;
}

.news-detail-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}



.news-detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .news-detail-nav {
        flex-direction: column;
        align-items: flex-start;
    }
}

.news-detail-prev, .news-detail-next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.news-detail-prev:hover, .news-detail-next:hover {
    color: #000;
}

.news-detail-prev {
    justify-content: flex-start;
}

.news-detail-next {
    justify-content: flex-end;
}

/* 联系我们页面样式 */
.contact-content {
    flex: 1;
    background-color: #fff;
    padding: 2rem;
    display: flex;
    gap: 3rem;
}

.contact-info-section {
    flex: 0 0 400px;
    padding: 0;
    background-color: #fff;
}

.contact-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: #000;
}

.contact-intro {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 2rem;
    line-height: 1.6;
}

.contact-group {
    margin-bottom: 2rem;
}

.contact-group-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #000;
}

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

.contact-group-list li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.contact-form-section {
    flex: 1;
    padding: 0;
    background-color: #fff;
}

.contact-form-intro {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.contact-form-note {
    font-size: 0.9rem;
    color: #000;
    margin: 0 0 1.5rem;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-group input,
.contact-form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info-section {
        flex: 1;
    }
}

/* 相关新闻样式 */
.related-news {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.related-news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    color: #000;
}

.related-news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.related-news-item {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.related-news-item:hover {
    background-color: #e9ecef;
    transform: translateY(-3px);
}

.related-news-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.related-news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-news-item-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-news-item-date {
    font-size: 0.8rem;
    color: #999;
}

/* 产品详情页样式 */
.product-detail-layout {
    display: flex;
    gap: 2rem;
}

.product-detail-content {
    flex: 1;
}

.product-gallery-info {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.product-gallery {
    flex: 0 0 500px;
}

.main-image {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-main-img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-img:hover {
    transform: scale(1.05);
}

.thumbnail-img.active {
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.2);
}

.product-info {
    flex: 1;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.product-price {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-right: 1rem;
}

.original-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.product-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #666;
}



.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.consult-btn, .buy-now-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.consult-btn {
    background-color: #2196f3;
    color: #fff;
}

.consult-btn:hover {
    background-color: #1976d2;
    transform: translateY(-2px);
}

.buy-now-btn {
    background-color: #ff6b6b;
    color: #fff;
}

.buy-now-btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 1.5rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.buy-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.form-group label {
    flex: 0 0 80px;
    font-weight: 500;
    color: #000;
    margin: 0;
    padding-top: 0.8rem;
}

.form-group input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.product-details {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.details-tabs {
    display: flex;
    border-bottom: 1px solid #e9ecef;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.tab-btn:hover {
    background-color: #e9ecef;
    color: #000;
    font-weight: 700;
}
.tab-btn.active {
    background-color: #fff;
    color: #000;
    border-bottom: 2px solid #000;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}.tab-content {
    padding: 2rem;
    display: none;
}

.tab-content.active {
    display: block;
}



.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.review-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

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

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
}

.review-rating {
    color: #ffc107;
}

.review-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.review-date {
    font-size: 0.9rem;
    color: #999;
}

.sub-sub-category-list li.active a {
    color: #000;
    font-weight: 500;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #222;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #444;
    transform: scale(1.1);
}

/* 移动端底部固定悬浮按钮 - 初始隐藏，仅在移动端显示 */
.mobile-bottom-buttons {
    display: none;
}

/* 联系我们弹窗 - 仅在移动端显示 */
.contact-modal {
    display: none;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .content-module {
        flex-direction: column !important;
        text-align: center;
    }
    
    .product-gallery-info {
        flex-direction: column;
    }
    
    .product-gallery {
        flex: none;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .nav-right {
        gap: 1rem;
    }

    .news-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .banner-container {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .products-grid,
    .main-products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* 汉堡菜单样式 */
.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* 友情链接样式 */
#links {
    background-color: #fff;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.link-item {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #fff;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.link-item:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 新闻链接样式 */
.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-title a {
    text-decoration: none;
    color: inherit;
    display: block;
}

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