/*
Theme Name: WPDemo1 Theme
Author: Qoder Assistant
Description: 一个现代化的WordPress企业主题，支持多语言和响应式设计
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpdemo1-theme
*/



/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
    width: 3px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/*  Firefox滚动条样式 */
* {
    scrollbar-width: thin;
    scrollbar-color: #aaa #ffffff;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    flex: 1;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题两侧横线样式 */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
}

/* .section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    max-width: 150px;
    height: 2px;
    background-color: #999;
    margin: 0 20px;
} */

/* 副标题样式 */
.section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 产品展示样式 */
.products-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product-categories {
    flex: 1;
    background: #f8f9fa;
    border-radius: 8px;
    /* padding: 20px; */
}

.category-item {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-item:hover {
    background: #e9ecef;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.category-item.active {
    background: #3498db;
    color: white;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.category-description {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.view-details {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.view-details:hover {
    background: rgba(255, 255, 255, 0.3);
}

.all-categories {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.all-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 60px;
}

.all-categories a:hover {
    background: #e9ecef;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.all-categories a::after {
    content: '→';
    font-size: 18px;
    font-weight: bold;
}

/* 增加分类item的初始高度 */
.category-item {
    min-height: 100px;
}

.product-featured {
    flex: 2;
    aspect-ratio: 5/4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 移动端响应式布局 */
@media (max-width: 768px) {
    .products-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .product-categories {
        flex: 1;
        margin-bottom: 20px;
    }
    
    .product-featured {
        flex: 1;
    }
}

.product-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-featured:hover img {
    transform: scale(1.05);
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-item,
.product-featured {
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.category-item.animate {
    animation: fadeInUp 1.5s ease forwards;
}

.product-featured.animate {
    animation: fadeInRight 1.5s ease forwards;
}

/* 为每个分类项添加延迟动画 */
.category-item:nth-child(1).animate {
    animation-delay: 0.1s;
}

.category-item:nth-child(2).animate {
    animation-delay: 0.2s;
}

.category-item:nth-child(3).animate {
    animation-delay: 0.3s;
}

.category-item:nth-child(4).animate {
    animation-delay: 0.4s;
}

.category-item:nth-child(5).animate {
    animation-delay: 0.5s;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .products-container {
        flex-direction: column;
    }
    
    .product-categories {
        flex: 1;
        order: 2;
    }
    
    .product-featured {
        flex: 1;
        order: 1;
        min-height: 300px;
    }
}

/* 头部样式 */
.top-bar {
    background-color: #f8f9fa;
    padding: 5px 0;
    border-bottom: 1px solid #dee2e6;
}

.social-links {
    text-align: right;
}

.social-links a {
    display: inline-block;
    margin-left: 15px;
    color: #495057;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007cba;
}

.site-header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    margin: 0;
    height: 120px;
}

/* 管理员登录时，header下移20px */
body.admin-bar .site-header {
    top: 32px;
}

/* 屏幕大于1024px时，header高度为120px */
@media screen and (min-width: 1024px) {
    .site-header {
        height: 120px;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
    height: 100%;
}

/* 企业logo */
.site-logo {
    flex: 0 0 auto;
}

.logo-image {
    max-height: 100px;
    width: auto;
    max-width: 400px;
	
}

.logo-placeholder {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* Footer Logo样式 */
.footer-logo-image {
    max-height: 60px;
    width: auto;
    max-width: 200px;
}

/* 中间内容 */
.header-middle {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    height: 100%;
}

/* 导航菜单 */
.main-navigation {
    background-color: transparent;
    margin: 0;
    padding: 0;
    flex: 1;
	height: 100%;
}

.main-navigation > div {
     height: 100%; 
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #2c3e50;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 15px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    margin: 0;
    align-items: center;
}

#primary-menu {
    height: 100%;
}

#primary-menu > li {
    height: 100%;
    position: relative;
}

#primary-menu > li > a {
    height: 100%;
}

/* 一级菜单项底部线条 - 默认隐藏 */
#primary-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #3498db;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* 鼠标悬停时显示线条动画 */
#primary-menu > li:hover > a::after {
    transform: scaleX(1);
}



.main-navigation li {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}



.main-navigation a {
    display: flex;
    align-items: center;
    color: #2c3e50;
    text-decoration: none;
    padding: 0 15px;
    transition: color 0.3s ease;
    white-space: nowrap;
}


.main-navigation a:hover {
    color: #3498db;
}

/* 二级菜单全宽度样式 - 多列布局 */
.main-navigation ul ul {
    position: fixed;
    left: 0;
    width: 100vw;
    padding: 30px 260px;
    background-color: #fff; 
    box-shadow: 0 3px 5px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items:flex-start;
    gap: 120px;
    z-index: 1001;
    border-radius: 0;
    border-top: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    pointer-events: none;
    min-height: 100px;
}

/* 移动端二级菜单gap设置为0 */
@media (max-width: 768px) {
    .main-navigation ul ul {
        gap: 0;
    }
}

.main-navigation ul ul ul {
    gap: 5px;
}

/* 保持二级菜单显示 */
.main-navigation li:hover > ul,
.main-navigation ul ul:hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* 确保一级菜单项在鼠标移动到二级菜单时保持hover状态 */
.main-navigation li:hover > a {
    color: #3498db;
}

/* 二级菜单项 - 每一列（直接子元素） */
.main-navigation > div > ul > li > ul > li {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

/* 二级菜单链接 - 粗体标题样式 */
.main-navigation > div > ul > li > ul > li > a {
    padding: 0 0 15px 0;
    border: none;
    color: #2c3e50;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    width: 100%;
}

.main-navigation > div > ul > li > ul > li > a:hover {
    background-color: transparent;
    color: #3498db;
}

/* 三级菜单容器 - 默认pointer-events为none，当二级菜单显示时才启用 */
.main-navigation > div > ul > li > ul > li > ul {
    position: static;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: none;
    pointer-events: none;
    box-shadow: none;
    border: none;
    padding: 0;
    min-height: auto;
    background-color: transparent;
    width: 100%;
}

/* 当二级菜单显示时，三级菜单才启用pointer-events */
.main-navigation > div > ul > li:hover > ul > li > ul {
    pointer-events: auto;
}

/* 三级菜单项 */
.main-navigation > div > ul > li > ul > li > ul > li {
    width: 100%;
    display: block;
}

/* 三级菜单链接 */
.main-navigation > div > ul > li > ul > li > ul > li > a {
    padding: 10px 0;
    border: none;
    color: #666;
    font-weight: normal;
    font-size: 14px;
    border-bottom: none;
    margin-bottom: 0;
    white-space: nowrap;
}

.main-navigation > div > ul > li > ul > li > ul > li > a:hover {
    background-color: transparent;
    color: #3498db;
}


/* 搜索栏 */
.header-search {
    flex: 0 0 auto;
}

.search-form {
    display: flex;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.search-field {
    padding: 10px 15px;
    border: none;
    outline: none;
    width: 200px;
    height: 40px;
    box-sizing: border-box;
    font-size: 14px;
}

.search-submit {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background-color: #2980b9;
}

.search-submit i {
    color: white;
    font-size: 16px;
}

.search-icon {
    font-size: 16px;
}

/* 语言切换 */
.language-switcher {
    flex: 0 0 auto;
    position: relative;
}

.language-toggle {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    text-decoration: none;
    color: #2c3e50;
}

.language-toggle:hover {
    background-color: #e9ecef;
    color: #3498db;
}

/* 语言下拉框 */
.lang-dropdown {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 7px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.25s ease;
    white-space: nowrap;
    height: 38px;
}

.lang-current:hover {
    background: #eef4fb;
    border-color: var(--primary-color, #3498db);
    color: var(--primary-color, #3498db);
}

.lang-arrow {
    font-size: 10px;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-list {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 160px;
    z-index: 2000;
    animation: langFadeIn 0.18s ease;
}

@keyframes langFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lang-dropdown.open .lang-list {
    display: block;
}

.lang-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    color: #444;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.15s ease;
}

.lang-item a:hover {
    background: #f0f6ff;
    color: var(--primary-color, #3498db);
}

.lang-item.current a {
    color: var(--primary-color, #3498db);
    font-weight: 600;
}

.lang-check {
    margin-left: auto;
    font-size: 11px;
    color: var(--primary-color, #3498db);
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

/* 响应式菜单 */
@media screen and (max-width: 1024px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .header-middle {
        width: 100%;
        justify-content: space-evenly;
    }
    
    .search-field {
        width: 150px;
    }
    
    .main-navigation > div {
        height: 100px;
    }
    
    .site-content {
        margin-top: 120px;
    }
    
    body.admin-bar .site-content {
        margin-top: 152px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation > div {
        height: 100px;
    }
    
    .site-content {
        margin-top: 120px;
    }
    
    body.admin-bar .site-content {
        margin-top: 152px;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 3px 5px rgba(0,0,0,0.2);
        padding: 10px 0;
        z-index: 1001;
    }
    
    .main-navigation.toggled ul {
        display: flex;
    }
    
    /* 移动端一级菜单项 */
    #primary-menu > li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(0,0,0,0.07);
        position: relative;
    }

    #primary-menu > li:last-child {
        border-bottom: none;
    }

    #primary-menu > li > a {
        width: 100%;
        height: auto;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 15px;
        color: #2c3e50;
    }

    /* 有子菜单的一级项：右侧展开箭头 */
    #primary-menu > li:has(.sub-menu) > a::before {
        content: '›';
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        font-size: 20px;
        color: #999;
        transition: transform 0.2s ease;
        line-height: 1;
    }

    #primary-menu > li.submenu-open > a::before {
        transform: translateY(-50%) rotate(270deg);
        color: var(--primary-color, #3498db);
    }

    /* 去掉移动端 hover 下划线动画 */
    #primary-menu > li > a::after {
        display: none !important;
    }

    /* 选中菜单项背景色 */
    #primary-menu > li.current-menu-item > a,
    #primary-menu > li.current-menu-ancestor > a,
    #primary-menu > li.current-page-ancestor > a {
        background: rgba(52, 152, 219, 0.1);
        color: var(--primary-color, #3498db);
        font-weight: 600;
    }

    /* hover 时背景 */
    #primary-menu > li > a:hover {
        background: #f5f8fc;
        color: var(--primary-color, #3498db);
    }

    /* 子菜单折叠 */
    .main-navigation ul ul {
        position: static;
        width: 100%;
        min-width: auto;
        box-shadow: none;
        background: #f8f9fa;
        display: none;
        padding: 0;
    }

    .main-navigation ul ul.mobile-open {
        display: flex;
    }

    .main-navigation ul ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .main-navigation ul ul li:last-child {
        border-bottom: none;
    }

    .main-navigation ul ul li a {
        padding: 11px 20px 11px 36px;
        font-size: 14px;
        color: #555;
    }

    .main-navigation ul ul li a:hover {
        background: #eef4fb;
        color: var(--primary-color, #3498db);
    }
    
    .header-middle {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }
    
    .header-search {
        width: 100%;
    }
    
    .search-form {
        margin: 0 !important;
        align-self: flex-start;
    }

	
    
    .search-field {
        width: 100%;
    }
    
    .language-switcher {
        align-self: flex-start;;
    }
}

/* 轮播图样式 */
.carousel {
    width: 100%;
    height: 100vh; /* 增加高度 */
    overflow: hidden;
    position: relative;
    background-color: #000; /* 黑色背景防止图片加载时留白 */
}

/* 管理员登录时，减去admin bar高度 */
body.admin-bar .carousel {
    height: calc(100vh - 32px);
}

/* 移动端轮播图适应页面大小 */
@media (max-width: 768px) {
    .carousel {
        height: auto;
        aspect-ratio: 16/9; /* 保持16:9的宽高比 */
    }
    
    .carousel-item {
        height: 100%;
    }
    
    .carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.carousel-item {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* 淡入淡出动画 */
.carousel-item.fade {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-item.fade.active {
    opacity: 1;
    display: block;
}

/* 滑动动画 - 从左到右（新图片从左侧滑入） */
.carousel-item.slide-left {
    transform: translateX(-100%);
    transition: transform 0.6s ease-in-out;
    display: block;
}

.carousel-item.slide-left.active {
    transform: translateX(0);
}

/* 滑动动画 - 从右到左（新图片从右侧滑入） */
.carousel-item.slide-right {
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
    display: block;
}

.carousel-item.slide-right.active {
    transform: translateX(0);
}

/* 缩放动画 */
.carousel-item.zoom {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.8s ease-in-out;
    display: block;
}

.carousel-item.zoom.active {
    transform: scale(1);
    opacity: 1;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持比例填充 */
}

.carousel-caption {
    display: none;
    position: absolute;
    bottom: 60px; /* 提高位置，给小圆点留空间 */
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 20px;
}

/* 隐藏标题和描述 */
.carousel-caption h2,
.carousel-caption p {
    display: none;
}

/* 轮播图导航箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background-color 0.3s;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

/* 轮播图指示器 - 居中显示 */
.carousel-indicators {
   
    gap: 12px; /* 增加间距 */
  
    
}

.carousel-indicators .indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicators .indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 内容区域 */
.site-content {
    padding: 0 0 30px 0;
    flex: 1;
}

/* Why Choose Us 模块 */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%233498db" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-50px) rotate(360deg);
    }
}

.why-choose-us .container {
    position: relative;
    z-index: 1;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.feature-item.animate {
    animation: fadeInUp 1.5s ease forwards;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
}

.feature-icon i {
    font-size: 40px;
    color: white;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon i {
    transform: scale(1.2);
}

.feature-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    color: #3498db;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.feature-item:hover p {
    color: #333;
}

/* 案例展示 */
.cases-section {
    padding: 60px 0;
}

.cases-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #2c3e50;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.case-item {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
    height: 450px;
}

.case-item.animate {
    animation: fadeInUp 1.5s ease forwards;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.case-image {
    aspect-ratio: 1/1;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-excerpt {
    color: #666;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 更多案例按钮 */
.cases-more {
    text-align: center;
    margin-top: 30px;
}

.cases-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 12px 30px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 200px;
}

.cases-more-btn:hover {
    background-color: #3498db;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.cases-more-btn .arrow-icon {
    font-size: 18px;
    margin-left: 10px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.cases-more-btn:hover .arrow-icon {
    transform: translateX(5px);
    color: white;
}

/* 产品展示 */
.products-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.products-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #2c3e50;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-query-btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.product-query-btn:hover {
    background-color: #2980b9;
}

/* 新闻中心 */
.news-section {
    padding: 60px 0;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #2c3e50;
}

.news-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.news-main {
    flex: 2;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.news-main.animate {
    animation: fadeInUp 1.5s ease forwards;
}

.news-main a {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-main-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.news-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.news-sidebar.animate {
    animation: fadeInRight 1.5s ease forwards;
}

.news-sidebar-item {
    display: flex;
    flex-direction: row;
    gap: 0;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 120px;
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.news-sidebar-item.animate {
    animation: fadeInUp 1.5s ease forwards;
}

/* 为每个新闻item添加延迟动画 */
.news-sidebar-item:nth-child(1).animate {
    animation-delay: 0.1s;
}

.news-sidebar-item:nth-child(2).animate {
    animation-delay: 0.2s;
}

.news-sidebar-item:nth-child(3).animate {
    animation-delay: 0.3s;
}

.news-sidebar-item:nth-child(4).animate {
    animation-delay: 0.4s;
}

.news-sidebar-item:nth-child(5).animate {
    animation-delay: 0.5s;
}

.news-main:hover img {
    transform: scale(1.05);
}

.news-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.5));
    color: white;
    padding: 30px;
    transition: all 0.3s ease;
}

.news-main:hover .news-main-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
}

.news-main-overlay h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.news-main-date {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.news-main-excerpt {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.news-main-overlay .read-more {
    display: inline-block;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-main-overlay .read-more:hover {
    transform: translateX(5px);
}

.news-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-sidebar-item {
    display: flex;
    flex-direction: row;
    gap: 0;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 120px;
}

.news-sidebar-item a {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-sidebar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.news-sidebar-content {
    flex: 2;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-sidebar-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-sidebar-date {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 8px;
}

.news-sidebar-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-sidebar-image {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.news-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 0px;
}

.news-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.news-meta {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .news-container {
        flex-direction: column;
    }
    
    .news-main-image {
        height: 300px;
    }
    
    .news-sidebar-image {
        flex: 0 0 80px;
        height: 80px;
    }
    
    .news-sidebar-content {
        padding: 10px;
    }
    
    .news-sidebar-content h4 {
        font-size: 14px;
    }
    
    .news-sidebar-excerpt {
        font-size: 12px;
    }
}

/* 合作伙伴 */
.partners-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.partners-section h2 {
    margin-bottom: 40px;
    font-size: 32px;
    color: #2c3e50;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    justify-items: center;
    align-items: center;
}

.partner-item {
    width: 100%;
    max-width: 260px;
    text-align: center;
}

.partner-logo {
    max-width: 240px;
    height: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.partner-logo:hover {
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* 页脚 */
.site-footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* 桌面版footer第三列和第四列居中 */
.footer-col-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-col-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-widget {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-widget h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-widget ul {
    list-style: none;
    display:flex;
    flex-direction:column;
    align-items: center;
}

.footer-widget ul li {
    margin-bottom: 8px;
}

.footer-widget a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 10px;
}

.qr-code img {
    width: 120px;
    height: 120px;
}

.site-info {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* 悬浮侧边栏 */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background-color: #c9302c;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-sidebar.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.floating-items {
    display: flex;
    flex-direction: column;
}

.floating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    min-width: 80px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.floating-item:last-of-type {
    border-bottom: none;
}

.floating-item:hover {
    background-color: #a52a2a;
}

.floating-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.floating-item span {
    font-size: 12px;
    white-space: nowrap;
}

/* 微信二维码弹窗 */
.wechat-item {
    position: relative;
}

.wechat-qr-popup {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: none;
    margin-right: 10px;
    text-align: center;
    z-index: 1001;
}

.wechat-qr-popup::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: white;
}

/* 悬浮栏Tooltip */
.floating-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: white !important;
    color: #333 !important;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: none;
    min-width: 200px;
    /* height: 100px; */
    line-height: 100px;
    margin-right: 10px;
    z-index: 99999 !important;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
}

.floating-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: white;
}

.floating-sidebar.show .floating-item:hover .floating-tooltip {
    display: block !important;
}

/* 微信二维码特殊样式 */
.wechat-tooltip {
    padding: 20px;
    text-align: center;
    height: auto;
    line-height: normal;
}

.wechat-tooltip .wechat-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wechat-tooltip img {
    width: 140px;
    height: 140px;
    margin-bottom: 10px;
    display: block;
}

.wechat-tooltip p {
    color: #333;
    font-size: 14px;
    margin: 0;
    font-weight: normal;
}

/* 留言按钮 */
.message-item {
    cursor: pointer;
}

/* 折叠按钮 */
.floating-toggle {
    background-color: #c9302c;
    color: white;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    border-top: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.floating-toggle:hover {
    background-color: #a52a2a;
}

.floating-toggle i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.floating-sidebar.collapsed .floating-items {
    display: none;
}

.floating-sidebar.collapsed .floating-toggle i {
    transform: rotate(180deg);
}

/* 留言弹窗 */
.floating-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.floating-modal-overlay.show {
    display: flex;
}

.floating-modal-content {
    /* background-color: white; */
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.floating-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

.floating-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
}

.floating-modal-close {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.floating-modal-close:hover {
    color: #e74c3c;
}

.floating-modal-body {
    padding: 20px;
}

.floating-modal-body .form-group {
    margin-bottom: 15px;
}

.floating-modal-body label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.floating-modal-body .required {
    color: #e74c3c;
}

.floating-modal-body input,
.floating-modal-body textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.floating-modal-body input:focus,
.floating-modal-body textarea:focus {
    outline: none;
    border-color: #3498db;
}

.floating-modal-body .btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.floating-modal-body .btn-submit:hover {
    background-color: #c0392b;
}

.floating-modal-body .form-message {
    margin-top: 15px;
}

.floating-modal-body .alert {
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.floating-modal-body .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.floating-modal-body .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 返回顶部按钮 */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 20px;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: #2980b9;
}

#back-to-top i {
    color: white;
    font-size: 24px;
}

/* ==================== 产品页面特色图片区域 ==================== */
.products-hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.products-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.products-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 搜索框样式 */
.search-form {
    display: flex;
    margin: 20px 0;
}

.search-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-submit {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-submit:hover {
    background-color: #2980b9;
}

/* 热门关键词 */
.hot-keywords {
    margin: 10px 0;
    padding: 10px 0;
}

.hot-keywords span {
    display: inline-block;
    background-color: #e7f5ff;
    color: #3498db;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hot-keywords span:hover {
    background-color: #3498db;
    color: white;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .carousel {
        height: 300px;
    }
    
    .features-grid,
    .cases-grid,
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* 移动端footer第一列居左对齐 */
    .footer-col-1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: left;
    }
    
    /* 移动端contact-info-footer宽度50%并居中 */
    .footer-col-1 .contact-info-footer {
        width: 50%;
        margin: 0 auto;
    }

    .footer-col-3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* 移动端footer第四列缩放到适应大小并添加padding */
    .footer-col-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        text-align:center;
    }
    
    .footer-contact-form {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .footer-contact-form input,
    .footer-contact-form textarea {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* 为footer所有列添加左右padding，确保内容不贴边 */
    .footer-widget {
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .partner-logo {
        max-width: 100px;
    }
    
    .floating-contact {
        right: 10px;
    }
    
    #back-to-top {
        bottom: 10px;
        right: 10px;
    }
}

@media screen and (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .carousel {
        height: 300px;
    }
    
    .features-grid,
    .cases-grid,
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .partner-item {
        max-width: 150px;
    }
    
    .partner-logo {
        max-width: 130px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border-radius: 4px;
    }
    
    .partner-logo:hover {
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .floating-contact {
        right: 10px;
    }
    
    #back-to-top {
        bottom: 10px;
        right: 10px;
    }
}

@media screen and (max-width: 480px) {
    .carousel {
        height: 200px;
    }
    
    .site-title {
        font-size: 22px;
    }
    
    .main-navigation a {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .contact-tooltip {
        right: 55px;
        min-width: 120px;
    }
    
    .partner-item {
        max-width: 120px;
    }
    
    .partner-logo {
        max-width: 100px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border-radius: 3px;
    }
    
    .partner-logo:hover {
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 联系我们展示 */
.contact-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    position: relative;
    overflow: hidden;
}

.contact-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

.contact-showcase .container {
    position: relative;
    z-index: 1;
}

.contact-showcase h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: white;
    font-weight: 700;
}

.contact-showcase .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
}

.contact-container {
    display: flex;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.contact-container.animate {
    animation: fadeInUp 1.5s ease forwards;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon i {
    font-size: 24px;
    color: #3498db;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-action {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact-action h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-action p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
}

.contact-btn .arrow-icon {
    transition: transform 0.3s ease;
}

.contact-btn:hover .arrow-icon {
    transform: translateX(5px);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 40px;
    }
    
    .contact-info,
    .contact-action {
        flex: 1;
        width: 100%;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ==================== 产品页面样式 ==================== */

/* 面包屑导航 */
.breadcrumb-nav {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: #3498db;
}

.breadcrumb-nav .separator {
    margin: 0 10px;
}

.breadcrumb-nav .current {
    color: #999;
}

/* 产品页面标题 */
.products-page .page-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.products-page .page-title {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* 产品页面布局 */
.products-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    margin-top: 60px;
    width: 100%;
}

/* 左侧边栏 */
.products-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-section {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.sidebar-title {
    background-color: #e74c3c;
    color: white;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}

/* 产品分类 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list > li > a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.category-list .sub-category li a {
    display: block;
    padding: 12px 20px 12px 35px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list > li > a:hover,
.category-list > li.active > a {
    background-color: #f8f9fa;
    color: #e74c3c;
    padding-left: 25px;
}

/* 子分类样式 */
.category-list .sub-category {
    background-color: #fafafa;
    border-top: 1px solid #e0e0e0;
}

.category-list .sub-category li {
    border-bottom: 1px solid #e8e8e8;
}

.category-list .sub-category li:last-child {
    border-bottom: none;
}

.category-list .sub-category li a:hover,
.category-list .sub-category li.active > a {
    background-color: #f0f0f0;
    color: #e74c3c;
    padding-left: 40px;
}

/* 有子分类的父分类标记 */
.category-list li.has-children > a {
    position: relative;
}

.category-list li.has-children > a::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-weight: bold;
    color: #999;
}

/* 联系我们区块 */
.contact-box {
    background-color: #2c3e50;
    color: white;
    padding: 30px;
    text-align: center;
}

.contact-box .sidebar-title {
    background-color: transparent;
    padding: 0 0 20px 0;
    font-size: 18px;
}

.contact-box p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.btn-contact {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #c0392b;
}

/* 最新产品 */
.new-products .sidebar-title {
    background-color: #34495e;
}

.new-product-item {
    padding: 20px;
    display: flex;
    gap: 15px;
}

.new-product-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.new-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-product-info h4 {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.new-product-info h4 a {
    color: #333;
    text-decoration: none;
}

.new-product-info h4 a:hover {
    color: #e74c3c;
}

/* 热门产品 */
.hot-products .sidebar-title {
    background-color: #e74c3c;
}

.product-views {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.view-more {
    color: #e74c3c;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
}

.view-more i {
    margin-left: 5px;
}

/* 右侧产品主区域 */
.products-main {
    flex: 1;
}

/* 视图切换工具栏 */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.products-toolbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.products-toolbar-title {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
    text-transform: uppercase;
}

.products-toolbar-breadcrumb {
    font-size: 14px;
    color: #666;
}

.products-toolbar-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.products-toolbar-breadcrumb a:hover {
    color: #e74c3c;
}

.products-toolbar-breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.products-toolbar-breadcrumb .current {
    color: #e74c3c;
    font-weight: bold;
}

.view-switcher {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

/* 产品容器 - Grid视图 */
.products-container.grid-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.products-container.grid-view .product-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-container.grid-view .product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.products-container.grid-view .product-image {
    height: 200px;
    overflow: hidden;
}

.products-container.grid-view .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.products-container.grid-view .product-card:hover .product-image img {
    transform: scale(1.05);
}

.products-container.grid-view .product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.products-container.grid-view .product-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.products-container.grid-view .product-title a {
    color: #2c3e50;
    text-decoration: none;
}

.products-container.grid-view .grid-view-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
    display: block;
}

.products-container.grid-view .list-view-desc {
    display: none;
}

.products-container.list-view .grid-view-desc {
    display: none;
}

.products-container.list-view .list-view-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-container.grid-view .btn-view-more {
    display: inline-block;
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 33.33%;
    text-align: center;
}

.products-container.grid-view .btn-view-more:hover {
    color: white;
    border-color: inherit;
}

/* 产品容器 - List视图 */
.products-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.products-container.list-view .product-card {
    display: flex;
    background-color: white;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
	width: 100%;
}

.products-container.list-view .product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.products-container.list-view .product-image {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}

.products-container.list-view .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-container.list-view .product-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-container.list-view .product-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.products-container.list-view .product-title a {
    color: #2c3e50;
    text-decoration: none;
}



.products-container.list-view .btn-view-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.products-container.list-view .btn-view-more:hover {
    background-color: var(--primary-color-dark);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

/* ==================== 产品详情页样式 ==================== */
.single-product-page .product-hero-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.single-product-page .product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-product-page .product-breadcrumb-section {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.single-product-page .product-breadcrumb {
    font-size: 14px;
    color: #666;
}

.single-product-page .product-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.single-product-page .product-breadcrumb a:hover {
    color: #e74c3c;
}

.single-product-page .product-breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.single-product-page .product-breadcrumb .current {
    color: #e74c3c;
    font-weight: bold;
}

/* 产品简介区域 */
.single-product-page .product-intro-section {
    margin-bottom: 50px;
}

.single-product-page .product-intro-layout {
    display: flex;
    gap: 40px;
}

.single-product-page .product-main-image {
    width: 45%;
    flex-shrink: 0;
    position: relative;
}

.single-product-page .product-main-image::before {
    content: '';
    padding-top: 100%;
    display: block;
}

.single-product-page .product-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.single-product-page .product-intro-content {
    flex: 1;
}

.single-product-page .product-title {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.single-product-page .product-features {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.single-product-page .product-parameters-table {
    margin-bottom: 25px;
}

.single-product-page .product-parameters-table table {
    width: 100%;
    border-collapse: collapse;
}

.single-product-page .product-parameters-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.single-product-page .product-parameters-table tr:last-child {
    border-bottom: none;
}

.single-product-page .product-parameters-table td {
    padding: 12px 15px;
    font-size: 14px;
}

.single-product-page .product-parameters-table .param-name {
    width: 40%;
    background-color: #f8f9fa;
    color: #666;
    font-weight: 500;
}

.single-product-page .product-parameters-table .param-value {
    width: 60%;
    color: #333;
}

.single-product-page .btn-consult {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e74c3c;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.single-product-page .btn-consult:hover {
    background-color: #c0392b;
}

/* 下方内容区域 */
.single-product-page .product-content-layout {
    display: flex;
    gap: 30px;
}

.single-product-page .product-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.single-product-page .product-sidebar .sidebar-section {
    margin-bottom: 30px;
}

.single-product-page .product-sidebar .sidebar-title {
    background-color: #e74c3c;
    color: white;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.single-product-page .product-sidebar .sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e0e0e0;
    border-top: none;
}

.single-product-page .product-sidebar .sidebar-category-list li {
    border-bottom: 1px solid #e0e0e0;
}

.single-product-page .product-sidebar .sidebar-category-list li:last-child {
    border-bottom: none;
}

.single-product-page .product-sidebar .sidebar-category-list a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.single-product-page .product-sidebar .sidebar-category-list a:hover,
.single-product-page .product-sidebar .sidebar-category-list li.active > a {
    background-color: #f8f9fa;
    color: #e74c3c;
    padding-left: 20px;
}

.single-product-page .product-sidebar .sidebar-category-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8f9fa;
}

.single-product-page .product-sidebar .sidebar-category-list ul li {
    border-bottom: 1px solid #e8e8e8;
}

.single-product-page .product-sidebar .sidebar-category-list ul a {
    padding-left: 30px;
    font-size: 13px;
}

/* 侧边栏产品项 */
.single-product-page .sidebar-product-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-top: none;
    background-color: white;
}

.single-product-page .sidebar-product-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.single-product-page .sidebar-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-product-page .sidebar-product-info h4 {
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.single-product-page .sidebar-product-info h4 a {
    color: #333;
    text-decoration: none;
}

.single-product-page .sidebar-product-info h4 a:hover {
    color: #e74c3c;
}

/* 产品详情内容 */
.single-product-page .product-detail-content {
    flex: 1;
}

.single-product-page .product-detail-header {
    background-color: #e74c3c;
    color: white;
    padding: 15px 20px;
    margin-bottom: 0;
}

.single-product-page .product-detail-header h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.single-product-page .product-detail-body {
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-top: none;
    background-color: white;
    line-height: 1.8;
}

.single-product-page .product-detail-body h2,
.single-product-page .product-detail-body h3,
.single-product-page .product-detail-body h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.single-product-page .product-detail-body p {
    margin-bottom: 15px;
}

.single-product-page .product-detail-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* 上一个/下一个产品导航 */
.single-product-page .product-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 15px;
}

.single-product-page .prev-product,
.single-product-page .next-product {
    max-width: 45%;
}

.single-product-page .next-product {
    text-align: right;
}

.single-product-page .prev-product a,
.single-product-page .next-product a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.single-product-page .prev-product a:hover,
.single-product-page .next-product a:hover {
    color: #e74c3c;
}

.single-product-page .prev-product.empty,
.single-product-page .next-product.empty {
    color: #999;
}

.single-product-page .nav-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.single-product-page .nav-title {
    font-size: 14px;
    font-weight: bold;
}

/* 相关产品 */
.single-product-page .related-products-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.single-product-page .related-products-header {
    background-color: #e74c3c;
    color: white;
    padding: 15px 20px;
    margin-bottom: 0;
}

.single-product-page .related-products-header h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.single-product-page .related-products-wrapper {
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 20px;
    background-color: white;
    overflow: hidden;
}

.single-product-page .related-products-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.single-product-page .related-products-scroll::-webkit-scrollbar {
    height: 6px;
}

.single-product-page .related-products-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.single-product-page .related-products-scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.single-product-page .related-product-item {
    flex: 0 0 180px;
    text-align: center;
}

.single-product-page .related-product-item a {
    text-decoration: none;
    color: #333;
    display: block;
    transition: transform 0.3s ease;
}

.single-product-page .related-product-item a:hover {
    transform: translateY(-5px);
}

.single-product-page .related-product-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
}

.single-product-page .related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-product-page .related-product-item h4 {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* 左侧相关产品滚动 */
.single-product-page .related-products-sidebar .sidebar-title {
    background-color: #e74c3c;
}

.single-product-page .related-products-scroll-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-top: none;
}

.single-product-page .related-products-vertical-scroll {
    padding: 10px;
}

.single-product-page .related-products-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.single-product-page .related-products-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.single-product-page .related-products-scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

/* 产品页面响应式 */
@media screen and (max-width: 1024px) {
    .products-layout {
        flex-direction: column;
    }
    
    .products-sidebar {
        width: 100%;
    }
    
    .products-container.grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .single-product-page .product-intro-layout {
        flex-direction: column;
    }
    
    .single-product-page .product-main-image {
        width: 100%;
    }
    
    .single-product-page .product-content-layout {
        flex-direction: column;
    }
    
    .single-product-page .product-sidebar {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .products-container.grid-view {
        grid-template-columns: 1fr;
    }
    
    .products-container.list-view .product-card {
        flex-direction: column;
    }
    
    .products-container.list-view .product-image {
        width: 100%;
        height: 200px;
    }
    
    .single-product-page .product-hero-banner {
        height: 250px;
    }
    
    .single-product-page .product-title {
        font-size: 22px;
    }
}

/* ==================== Footer样式 ==================== */
.site-footer {
    background-color: #1a252f;
    color: #bdc3c7;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 260px 260px 260px 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0px;

}

.footer-widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
    display: inline-block;
}

/* 第一列：Logo和联系信息 */
.footer-col-1 .footer-logo {
    margin-bottom: 20px;
}

.footer-col-1 .footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-desc {
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-footer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item-footer i {
    font-size: 20px;
    color: #e74c3c;
    margin-top: 3px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
}

.contact-detail .label {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 3px;
}

.contact-detail .value {
    font-size: 14px;
    color: #fff;
}

/* 第二列：快速导航 */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 第二列：快速导航 */
.footer-col-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-nav li {
    margin-bottom: 58px;
}

.footer-nav li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    display: block;
}

.footer-nav li a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

/* 第三列：最新产品 */
.latest-products-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.latest-products-list li {
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.latest-products-list li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.latest-products-list li a:hover {
    color: #e74c3c;
}

/* 第四列：订阅和社交媒体 */
.subscribe-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
    margin-bottom: 25px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background-color: #2c3e50;
    color: #fff;
    font-size: 14px;
}

.subscribe-form input::placeholder {
    color: #7f8c8d;
}

.subscribe-form button {
    padding: 12px 20px;
    background-color: #e74c3c;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #c0392b;
}

/* 二维码 */
.qr-codes {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 25px;
}

.qr-codes.qr-single {
    justify-content: center;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.qr-item span {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
}

/* 社交媒体图标 */
.social-icons-footer {
    display: flex;
    gap: 15px;
}

.social-icons-footer a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons-footer a:hover {
    background-color: #e74c3c;
    color: #fff;
    transform: translateY(-3px);
}

/* 版权信息 */
.site-info {
    border-top: 1px solid #2c3e50;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #7f8c8d;
}

/* Footer响应式 */
@media screen and (max-width: 1024px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer留言表单 */
.footer-contact-form .form-group {
    margin-bottom: 16px;
}

.footer-contact-form input,
.footer-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2c3e50;
    background-color: #2c3e50;
    color: #fff;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder {
    color: #7f8c8d;
}

.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
    background-color: #34495e;
}

.footer-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.footer-contact-form .btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #e74c3c;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.footer-contact-form .btn-submit:hover {
    background-color: #c0392b;
}

.footer-contact-form .btn-submit:disabled {
    background-color: #7f8c8d;
    cursor: not-allowed;
}

#footerFormMessage {
    margin-top: 10px;
}

#footerFormMessage .alert {
    padding: 10px;
    border-radius: 3px;
    font-size: 13px;
}

#footerFormMessage .alert-success {
    background-color: #27ae60;
    color: #fff;
}

#footerFormMessage .alert-danger {
    background-color: #e74c3c;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .qr-codes {
        justify-content: center;
    }
    
    .social-icons-footer {
        justify-content: center;
    }
}

/* ==================== 新闻页面样式 ==================== */

/* 新闻Banner */
.news-banner {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    color: white;
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 筛选栏 */
.news-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    min-width: 120px;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-search-form {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    width: 200px;
}

.search-btn {
    padding: 8px 15px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
}

.search-btn:hover {
    background-color: #c0392b;
}

/* 视图切换 */
.view-switcher {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background-color: white;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

/* 网格视图 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-grid .news-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-grid .news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-grid .news-image {
    height: 200px;
    overflow: hidden;
}

.news-grid .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-grid .news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-grid .news-info {
    padding: 20px;
    transition: background-color 0.3s ease;
    min-height: calc(100% - 200px);
    box-sizing: border-box;
}

/* hover 颜色由 page-news.php 内联样式动态设置 */

.news-grid .news-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-grid .news-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-grid .news-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-grid .news-title a:hover {
    color: #e74c3c;
}

.news-grid .news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 列表视图 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.news-item-list {
    display: flex;
    align-items: stretch;
    height: 200px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.news-item-list:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-list-image {
    width: 280px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    margin-right: 0;
}

.news-list-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item-list:hover .news-list-image img {
    transform: scale(1.05);
}

.news-right-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 30px;
    min-width: 0;
}

.news-content-left {
    flex: 1;
    min-width: 0;
}

/* hover 颜色由 page-news.php 内联样式动态设置 */

.news-date-box {
    text-align: center;
    min-width: 80px;
}

.news-item-list .news-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-item-list .news-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item-list .news-title a:hover {
    color: #e74c3c;
}

.news-item-list .news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.news-date-box .day {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
}

.news-date-box .month-year {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

/* 分页 */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.pagination-info {
    color: #666;
    font-size: 14px;
}

.pagination {
    display: flex;
    gap: 5px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background-color: white;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

.pagination .current {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

.pagination .prev,
.pagination .next {
    padding: 8px 15px;
}

/* 无新闻提示 */
.no-news {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
}

/* 山推新闻区块 */
.featured-news-section {
    margin-bottom: 50px;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.featured-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #e74c3c;
}

.breadcrumb .separator {
    color: #999;
}

.breadcrumb .current {
    color: #2c3e50;
    font-weight: bold;
}

.date-filters {
    display: flex;
    gap: 20px;
}

.date-filter {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.date-filter:hover,
.date-filter.active {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

/* 三栏布局：三等分 */
.featured-news-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 左侧和中间大区块 */
.featured-left,
.featured-center {
    position: relative;
}

.featured-large-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.featured-large-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.featured-large-image {
    height: 300px;
    overflow: hidden;
}

.featured-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-large-item:hover .featured-large-image img {
    transform: scale(1.05);
}

.featured-large-content {
    padding: 20px;
    margin: 0;
    transition: background-color 0.3s ease;
    min-height: calc(100% - 300px);
    box-sizing: border-box;
}

/* hover 颜色由 page-news.php 内联样式动态设置 */

.featured-large-content .featured-date {
    color: #999;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.featured-large-content .featured-title {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.featured-large-content .featured-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 右侧小区块（无图） */
.featured-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-small-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #e74c3c;
    flex: 1;
}

/* hover 颜色由 page-news.php 内联样式动态设置 */

.featured-small-content .featured-date {
    color: #999;
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
}

.featured-small-content .featured-small-title {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}

.featured-small-content .featured-small-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* 新闻页面响应式 */
@media screen and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-title {
        font-size: 36px;
    }
    
    .featured-news-layout {
        grid-template-columns: 1fr;
    }
    
    .featured-large-image {
        height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .news-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-left,
    .filter-right {
        justify-content: center;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item-list {
        flex-direction: column;
        text-align: center;
    }
    
    .news-content-left {
        padding-right: 0;
        margin-bottom: 15px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .pagination-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .featured-news-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date-filters {
        flex-wrap: wrap;
    }
    
    .news-list-image {
        width: 100%;
        height: 200px;
    }
    
    .news-item-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-content-left {
        text-align: center;
    }
}

/* ==================== 夜间模式样式 ====================
当电脑处于夜间模式时，整个网站的风格切换成夜间模式
====================================================== */

/* 夜间模式基础样式 */
.dark-mode {
    color-scheme: dark;
}

.dark-mode body {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* 导航栏 */
.dark-mode .site-header {
    background-color: #222;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.dark-mode .main-navigation a {
    color: #e0e0e0;
}

.dark-mode .main-navigation a:hover {
    color: #3498db;
}

.dark-mode .main-navigation ul ul {
    background-color: #222;
    box-shadow: 0 3px 5px rgba(0,0,0,0.6);
}

.dark-mode .main-navigation > div > ul > li > ul > li > a {
    color: #e0e0e0;
    border-bottom: 1px solid #333;
}

.dark-mode .main-navigation > div > ul > li > ul > li > a:hover {
    color: #3498db;
}

.dark-mode .main-navigation > div > ul > li > ul > li > ul > li > a {
    color: #b0b0b0;
}

.dark-mode .main-navigation > div > ul > li > ul > li > ul > li > a:hover {
    color: #3498db;
}

/* 搜索栏 */
.dark-mode .search-form {
    border: 1px solid #444;
}

.dark-mode .search-field {
    background-color: #333;
    color: #e0e0e0;
}

.dark-mode .search-submit {
    background-color: #3498db;
}

.dark-mode .search-submit:hover {
    background-color: #2980b9;
}

/* 语言切换 */
.dark-mode .language-toggle {
    background-color: #333;
    border: 1px solid #444;
    color: #e0e0e0;
}

.dark-mode .language-toggle:hover {
    background-color: #444;
    color: #3498db;
}

/* 主内容区域 */
.dark-mode .site-content {
    background-color: #1a1a1a;
}

/* 标题 */
.dark-mode .section-title {
    color: #e0e0e0;
}

.dark-mode .section-title::before,
.dark-mode .section-title::after {
    background-color: #444;
}

.dark-mode .section-subtitle {
    color: #b0b0b0;
}

/* 卡片和容器 */
.dark-mode .feature-item {
    background: #222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dark-mode .feature-item h3 {
    color: #e0e0e0;
}

.dark-mode .feature-item p {
    color: #b0b0b0;
}

.dark-mode .case-item {
    background-color: #222;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.dark-mode .case-content h3 {
    color: #e0e0e0;
}

.dark-mode .case-excerpt {
    color: #b0b0b0;
}

.dark-mode .cases-more-btn {
    background-color: #222;
    border: 1px solid #444;
    color: #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dark-mode .cases-more-btn:hover {
    background-color: #3498db;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* 产品页面 */
.dark-mode .products-section {
    background-color: #222;
}

.dark-mode .product-item {
    background-color: #2a2a2a;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.dark-mode .product-content h3 {
    color: #e0e0e0;
}

.dark-mode .product-query-btn {
    background-color: #3498db;
}

.dark-mode .product-query-btn:hover {
    background-color: #2980b9;
}

/* 新闻页面 */
.dark-mode .news-section {
    background-color: #1a1a1a;
}

.dark-mode .news-main {
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.dark-mode .news-main-overlay h3 {
    color: white;
}

.dark-mode .news-sidebar-item {
    background-color: #222;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.dark-mode .news-sidebar-content h4 {
    color: #e0e0e0;
}

.dark-mode .news-sidebar-excerpt {
    color: #b0b0b0;
}

/* 合作伙伴 */
.dark-mode .partners-section {
    background-color: #222;
}

.dark-mode .partner-logo {
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.dark-mode .partner-logo:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* 联系我们 */
.dark-mode .contact-showcase {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.dark-mode .contact-container {
    background: rgba(30, 30, 30, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dark-mode .contact-item {
    background: rgba(40, 40, 40, 0.5);
}

.dark-mode .contact-action {
    background: #222;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dark-mode .contact-action h3 {
    color: #e0e0e0;
}

.dark-mode .contact-action p {
    color: #b0b0b0;
}

/* 产品详情页 */
.dark-mode .single-product-page .product-intro-section {
    background-color: #1a1a1a;
}

.dark-mode .single-product-page .product-title {
    color: #e0e0e0;
}

.dark-mode .single-product-page .product-features {
    color: #b0b0b0;
}

.dark-mode .single-product-page .product-parameters-table tr {
    border-bottom: 1px solid #333;
}

.dark-mode .single-product-page .product-parameters-table .param-name {
    background-color: #2a2a2a;
    color: #b0b0b0;
}

.dark-mode .single-product-page .product-parameters-table .param-value {
    color: #e0e0e0;
}

.dark-mode .single-product-page .btn-consult {
    background-color: #3498db;
}

.dark-mode .single-product-page .btn-consult:hover {
    background-color: #2980b9;
}

.dark-mode .single-product-page .sidebar-section {
    background-color: #222;
    border: 1px solid #333;
}

.dark-mode .single-product-page .sidebar-title {
    background-color: #34495e;
}

.dark-mode .single-product-page .sidebar-category-list a {
    color: #e0e0e0;
}

.dark-mode .single-product-page .sidebar-category-list a:hover,
.dark-mode .single-product-page .sidebar-category-list li.active > a {
    background-color: #2a2a2a;
    color: #3498db;
}

.dark-mode .single-product-page .sidebar-category-list ul {
    background-color: #2a2a2a;
}

.dark-mode .single-product-page .sidebar-product-item {
    background-color: #222;
    border: 1px solid #333;
}

.dark-mode .single-product-page .sidebar-product-info h4 a {
    color: #e0e0e0;
}

.dark-mode .single-product-page .sidebar-product-info h4 a:hover {
    color: #3498db;
}

.dark-mode .single-product-page .product-detail-header {
    background-color: #34495e;
}

.dark-mode .single-product-page .product-detail-body {
    background-color: #222;
    border: 1px solid #333;
}

.dark-mode .single-product-page .product-detail-body h2,
.dark-mode .single-product-page .product-detail-body h3,
.dark-mode .single-product-page .product-detail-body h4 {
    color: #e0e0e0;
}

.dark-mode .single-product-page .product-navigation a {
    color: #e0e0e0;
}

.dark-mode .single-product-page .product-navigation a:hover {
    color: #3498db;
}

.dark-mode .single-product-page .related-products-header {
    background-color: #34495e;
}

.dark-mode .single-product-page .related-products-wrapper {
    background-color: #222;
    border: 1px solid #333;
}

.dark-mode .single-product-page .related-product-item a {
    color: #e0e0e0;
}

/* 页脚 */
.dark-mode .site-footer {
    background-color: #111;
    color: #b0b0b0;
}

.dark-mode .footer-widget-title {
    color: #e0e0e0;
    border-bottom: 2px solid #3498db;
}

.dark-mode .footer-desc {
    color: #b0b0b0;
}

.dark-mode .contact-detail .label {
    color: #888;
}

.dark-mode .contact-detail .value {
    color: #e0e0e0;
}

.dark-mode .footer-nav li a {
    color: #b0b0b0;
}

.dark-mode .footer-nav li a:hover {
    color: #3498db;
}

.dark-mode .latest-products-list li a {
    color: #b0b0b0;
}

.dark-mode .latest-products-list li a:hover {
    color: #3498db;
}

.dark-mode .subscribe-form input {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #333;
}

.dark-mode .subscribe-form button {
    background-color: #3498db;
}

.dark-mode .subscribe-form button:hover {
    background-color: #2980b9;
}

.dark-mode .social-icons-footer a {
    background-color: #2a2a2a;
    color: #b0b0b0;
}

.dark-mode .social-icons-footer a:hover {
    background-color: #3498db;
    color: #fff;
}

.dark-mode .copyright {
    color: #888;
}

/* 表单元素 */
.dark-mode input,
.dark-mode textarea {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #333;
}

.dark-mode input:focus,
.dark-mode textarea:focus {
    border-color: #3498db;
    background-color: #333;
}

.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
    color: #888;
}

.dark-mode .btn-submit {
    background-color: #3498db;
}

.dark-mode .btn-submit:hover {
    background-color: #2980b9;
}

/* 分页 */
.dark-mode .pagination a,
.dark-mode .pagination span {
    border: 1px solid #444;
    background-color: #222;
    color: #e0e0e0;
}

.dark-mode .pagination a:hover,
.dark-mode .pagination .current {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
}

/* 悬浮栏 */
.dark-mode .floating-sidebar {
    background-color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.dark-mode .floating-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dark-mode .floating-item:hover {
    background-color: #444;
}

.dark-mode .floating-toggle {
    background-color: #333;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.dark-mode .floating-toggle:hover {
    background-color: #444;
}

/* 模态框 */
.dark-mode .floating-modal-content {
    background-color: #222;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.dark-mode .floating-modal-header {
    background-color: #2a2a2a;
    border-bottom: 1px solid #333;
}

.dark-mode .floating-modal-header h3 {
    color: #e0e0e0;
}

.dark-mode .floating-modal-close {
    color: #888;
}

.dark-mode .floating-modal-close:hover {
    color: #3498db;
}

/* 滚动条 */
.dark-mode ::-webkit-scrollbar {
    width: 3px;
    height: 6px;
}

.dark-mode ::-webkit-scrollbar-track {
    background: #222;
    border-radius: 3px;
}

.dark-mode ::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Firefox滚动条 */
.dark-mode * {
    scrollbar-width: thin;
    scrollbar-color: #555 #222;
}

/* 移动端菜单 */
.dark-mode .menu-toggle {
    color: #e0e0e0;
}

.dark-mode .main-navigation ul {
    background-color: #222;
    box-shadow: 0 3px 5px rgba(0,0,0,0.4);
}

.dark-mode .main-navigation ul ul {
    background-color: #2a2a2a;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

/* 产品分类 */
.dark-mode .product-categories {
    background: #222;
}

.dark-mode .category-item {
    background: #2a2a2a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dark-mode .category-item:hover {
    background: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.dark-mode .category-item.active {
    background: #3498db;
}

.dark-mode .all-categories a {
    background: #2a2a2a;
    color: #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dark-mode .all-categories a:hover {
    background: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* 新闻页面 */
.dark-mode .news-banner {
    background-color: #222;
}

.dark-mode .news-filter-bar {
    border-bottom: 1px solid #333;
}

.dark-mode .filter-label {
    color: #e0e0e0;
}

.dark-mode .filter-select {
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.dark-mode .news-search-form input {
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.dark-mode .news-search-form button {
    background-color: #3498db;
}

.dark-mode .news-search-form button:hover {
    background-color: #2980b9;
}

.dark-mode .view-btn {
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.dark-mode .view-btn:hover,
.dark-mode .view-btn.active {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
}

.dark-mode .news-grid .news-item {
    background-color: #222;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-mode .news-grid .news-title a {
    color: #e0e0e0;
}

.dark-mode .news-grid .news-title a:hover {
    color: #3498db;
}

.dark-mode .news-grid .news-excerpt {
    color: #b0b0b0;
}

.dark-mode .news-item-list {
    background-color: #222;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-mode .news-item-list .news-title a {
    color: #e0e0e0;
}

.dark-mode .news-item-list .news-title a:hover {
    color: #3498db;
}

.dark-mode .news-item-list .news-excerpt {
    color: #b0b0b0;
}

.dark-mode .no-news {
    color: #888;
}

.dark-mode .featured-news-section {
    border-bottom: 1px solid #333;
}

.dark-mode .featured-large-item {
    background-color: #222;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-mode .featured-large-content .featured-title {
    color: #e0e0e0;
}

.dark-mode .featured-large-content .featured-excerpt {
    color: #b0b0b0;
}

.dark-mode .featured-small-item {
    background-color: #222;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #3498db;
}

.dark-mode .featured-small-content .featured-small-title {
    color: #e0e0e0;
}

.dark-mode .featured-small-content .featured-small-excerpt {
    color: #b0b0b0;
}

.dark-mode .date-filter {
    color: #e0e0e0;
}

.dark-mode .date-filter:hover,
.dark-mode .date-filter.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

/* 面包屑 */
.dark-mode .breadcrumb a {
    color: #b0b0b0;
}

.dark-mode .breadcrumb a:hover {
    color: #3498db;
}

.dark-mode .breadcrumb .current {
    color: #e0e0e0;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .dark-mode .footer-widgets {
        text-align: center;
    }
}
