* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e1e8ed;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 顶部栏 */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}
.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.contact-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.contact-info a:hover {
    color: var(--accent-color);
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}
.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* 主导航 */
.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo {
    font-size: 40px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0px;
	
}  
.logo img {
    height: 40px;
}
.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}
.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.language-selector select {
    padding: 8px 30px 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    position: relative;
}

.dropdown-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.dropdown-item > a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

.submenu-icon {
    font-size: 12px;
    color: #999;
}

/* 二级子菜单 */
.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    z-index: 1001;
}

.dropdown-item.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-item {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    white-space: nowrap;
}

.submenu-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Swiper 幻灯片 */
.swiper-container {
    width: 100%;
    height: 600px;
    position: relative;
}
.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
    max-width: 800px;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}
.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}
.slide-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.4s both;
}
.slide-btn:hover {
    background: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255,193,7,0.3);
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color);
}
.swiper-button-prev,
.swiper-button-next {
    color: white;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(0,0,0,0.5);
}
.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}
.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}
.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 公司简介 */
.about-section {
    background: white;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}
.about-image:hover img {
    transform: scale(1.05);
}
.about-content h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.about-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature-item i {
    font-size: 24px;
    color: var(--accent-color);
}

/* 产品分类 */
.categories-section {
    background: var(--light-bg);
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.category-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(30,60,114,0.1);
    border-color: var(--primary-color);
}
.category-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.category-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.category-count {
    font-size: 14px;
    color: #666;
}

/* 推荐产品 */
.products-section {
    background: white;  /* 设置产品区域背景为白色 */
}

.products-grid {
    display: grid;  /* 使用网格布局 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));  /* 响应式列：最小300px，自动填充 */
    gap: 30px;  /* 网格项之间的间距 */
    margin-top: 40px;  /* 上边距 */
}

.product-card {
    background: white;  /* 卡片背景为白色 */
    border-radius: 10px;  /* 圆角边框 */
    overflow: hidden;  /* 隐藏溢出内容 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);  /* 轻微阴影 */
    border: 1px solid var(--border-color);  /* 边框使用CSS变量颜色 */
    transition: all 0.3s;  /* 所有变化0.3秒过渡动画 */
    text-decoration: none;  /* 去除下划线（用于链接） */
    color: var(--text-color);  /* 文字颜色使用CSS变量 */
	
}

.product-card:hover {  /* 鼠标悬停效果 */
    transform: translateY(-10px);  /* 向上移动10px */
    box-shadow: 0 10px 30px rgba(30,60,114,0.1);  /* 增强阴影效果 */
    border-color: var(--primary-color);  /* 边框变为主题色 */
}

.product-image {
    width: 200px;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: var(--light-bg);
    margin: 0 auto;
}

.product-image img {
    width: auto;  /* 宽度自动 */
    height: 100%;  /* 高度填满 */
    max-width: none;  /* 取消最大宽度限制 */
    object-fit: cover;  /* 覆盖容器，可能会裁剪宽度 */
    transition: transform 0.5s;
    display: block;
    margin: 0 auto;  /* 水平居中 */
}

.product-card:hover .product-image img {  /* 卡片悬停时图片效果 */
    transform: scale(1.1);  /* 放大1.1倍 */
}
.product-info {
    padding: 20px;
}
.product-code {
    display: inline-block;
    padding: 3px 10px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    font-family: monospace;
}
.product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.product-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-langs {
    display: flex;
    gap: 5px;
}
.no-underline {
    text-decoration: none;
    color: #000000;
	font-size: 15px;
}
.lang-tag {
    font-size: 12px;
    opacity: 0.7;
}

/* 为什么选择我们 */
.features-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}
.feature-card {
    padding: 30px;
}
.feature-card i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-color);
}
.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}
.feature-card p {
    opacity: 0.9;
    line-height: 1.8;
}

/* 联系我们 */
.contact-section {
    background: white;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info-box {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}
.contact-item-text {
    flex: 1;
}
.contact-item-text h4 {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}
.contact-item-text p {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
}
.contact-item-text a {
    color: var(--primary-color);
    text-decoration: none;
}
.contact-item-text a:hover {
    text-decoration: underline;
}
.contact-form {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30,60,114,0.1);
}
.form-group textarea {
    height: 150px;
    resize: vertical;
}
.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* 页面横幅 */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.banner-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.banner-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}
.banner-content p {
    font-size: 18px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}
.banner-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: white;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

/* 主要内容区域 */
.main-content {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* 侧边栏分类树 */
.sidebar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.sidebar-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}
.category-tree {
    list-style: none;
}
.category-tree li {
    margin: 8px 0;
}
.category-item {
    display: block;
    padding: 10px 15px;
    background: var(--light-bg);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    border-left: 3px solid transparent;
}
.category-item:hover {
    background: #e9ecef;
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}
.category-item.active {
    background: #e9ecef;
    border-left-color: var(--primary-color);
    font-weight: 600;
    color: var(--primary-color);
}
.has-children > .category-item {
    font-weight: 600;
}
.children {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}

/* 内容区域 */
.content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 25px;
    padding: 12px 18px;
    background: var(--light-bg);
    border-radius: 8px;
    font-size: 14px;
}
.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    color: #6c757d;
    margin: 0 8px;
}

/* 分类标题 */
.category-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

/* 子分类网格 */
.subcategories {
    margin-bottom: 40px;
}
.subcategories-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
}
.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}
.subcategory-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    display: block;
    text-align: center;
}
.subcategory-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30,60,114,0.1);
}
.subcategory-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.subcategory-count {
    font-size: 13px;
    color: #6c757d;
}

/* 产品网格 */
.products-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}
/* 产品卡片 - 合并了两个版本，以第二个为主 */
.product-grid .product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
}
.product-grid .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30,60,114,0.15);
    border-color: var(--primary-color);
}
.product-grid .product-image {
    width:300px;
    overflow: hidden;
    background: #ffff;
    position: relative;
}
.product-grid .product-image img {
    width: 250px ;
	height: auto;
   /* height: 100%;*/
    object-fit: cover;
    transition: transform 0.5s;
}
.product-grid .product-card:hover .product-image img {
    transform: scale(1.1);
}
.product-grid .product-info {
    padding: 20px;
}
.product-grid .product-code {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
    font-family: monospace;
}
.product-grid .product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}
.product-grid .product-category {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.product-grid .product-category a {
    color: var(--secondary-color);
    text-decoration: none;
}
.product-grid .product-category a:hover {
    text-decoration: underline;
}
.product-grid .product-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    max-height: 65px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.product-grid .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}
.product-grid .product-langs {
    display: flex;
    gap: 3px;
}
.product-grid .lang-tag {
    padding: 2px 5px;
    background: var(--light-bg);
    border-radius: 3px;
    font-size: 10px;
    cursor: help;
}
.product-grid .view-details {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
}
.product-grid .view-details i {
    transition: transform 0.3s;
}
.product-grid .product-card:hover .view-details i {
    transform: translateX(5px);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    margin-bottom: 10px;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}
.page-link:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
.page-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
}
.page-link.disabled {
    background: var(--light-bg);
    color: #adb5bd;
    border-color: var(--border-color);
    cursor: not-allowed;
    pointer-events: none;
}
.page-link.prev,
.page-link.next {
    font-size: 16px;
    font-weight: bold;
}
.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    color: #6c757d;
    font-size: 15px;
    font-weight: 500;
}
.pagination-info {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-top: 10px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}
.empty-state h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 24px;
}
.empty-state p {
    font-size: 16px;
}
.empty-state i {
    font-size: 60px;
    color: var(--border-color);
    margin-bottom: 20px;
}

/* 底部 */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 50px;
}
.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}
.footer-col p {
    margin-bottom: 10px;
    opacity: 0.9;
    line-height: 1.8;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-col ul li a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent-color);
}
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
    font-size: 14px;
}

/* RTL 支持 */
[dir="rtl"] .nav-menu {
    padding-right: 0;
}
[dir="rtl"] .contact-item i {
    margin-left: 15px;
    margin-right: 0;
}
[dir="rtl"] .feature-item i {
    margin-left: 10px;
    margin-right: 0;
}
[dir="rtl"] .footer-col h3:after {
    left: auto;
    right: 0;
}
[dir="rtl"] .footer-col ul li a {
    padding-right: 0;
    padding-left: 10px;
}
[dir="rtl"] .category-item {
    border-left: none;
    border-right: 3px solid transparent;
}
[dir="rtl"] .category-item:hover {
    border-left-color: transparent;
    border-right-color: var(--primary-color);
    transform: translateX(-5px);
}
[dir="rtl"] .children {
    padding-left: 0;
    padding-right: 20px;
}
[dir="rtl"] .breadcrumb span {
    display: inline-block;
    transform: scaleX(-1);
}
[dir="rtl"] .view-details i {
    transform: scaleX(-1);
}
[dir="rtl"] .product-grid .product-card:hover .view-details i {
    transform: translateX(-5px) scaleX(-1);
}
[dir="rtl"] .dropdown-menu {
    left: auto;
    right: 0;
}
[dir="rtl"] .submenu {
    left: auto;
    right: 100%;
}
[dir="rtl"] .dropdown-item > a:hover {
    padding-left: 20px;
    padding-right: 25px;
}
[dir="rtl"] .submenu-item:hover {
    padding-left: 20px;
    padding-right: 25px;
}
[dir="rtl"] .dropdown-icon {
    margin-left: 0;
    margin-right: 5px;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .swiper-container {
        height: 500px;
    }
    .slide-content h2 {
        font-size: 36px;
    }
    .slide-content p {
        font-size: 18px;
    }
    .main-content {
        grid-template-columns: 240px 1fr;
    }
    .banner-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: white;
        padding: 20px 0;
        margin-top: 15px;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    .nav-menu a {
        display: block;
        padding: 12px 20px;
    }
    .nav-menu a:hover {
        background: var(--light-bg);
    }
    .nav-right {
        gap: 10px;
    }
    .swiper-container {
        height: 400px;
    }
    .slide-content h2 {
        font-size: 28px;
    }
    .slide-content p {
        font-size: 16px;
    }
    .slide-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 50px 0;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    .contact-info {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .main-content {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        margin-bottom: 20px;
    }
    .banner-content h1 {
        font-size: 28px;
    }
    .banner-content p {
        font-size: 16px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* 移动端下拉菜单 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 20px;
        display: none;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 20px;
        display: none;
    }
    .dropdown-item.has-submenu:hover .submenu {
        display: block;
    }
    .dropdown-icon {
        transition: transform 0.3s;
    }
    .dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }
}

@media (max-width: 480px) {
    .swiper-container {
        height: 350px;
    }
    .slide-content h2 {
        font-size: 24px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .categories-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pagination {
        flex-wrap: wrap;
    }
}



/* 新闻区域样式 */
.news-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.news-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.news-title a:hover {
    color: #007bff;
}

.news-date {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 5px;
}

.news-date i {
    margin-right: 5px;
    font-size: 12px;
    color: #007bff;
}

.news-title.no-news {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.news-more {
    text-align: center;
}

.btn-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #0056b3;
    transform: translateX(5px);
}

.btn-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-more:hover i {
    transform: translateX(5px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-column {
        gap: 15px;
    }
    
    .news-item {
        padding: 15px;
    }
    
    .news-title {
        font-size: 15px;
    }
}



/* 关于我们区域样式 */
.about-section {
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    display: block;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #007bff;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-more {
    margin-top: 30px;
}

.btn-about {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1e3c72;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-about:hover {
    background-color: #0056b3;
    transform: translateX(5px);
}

.btn-about i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-about:hover i {
    transform: translateX(5px);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .about-content h3 {
        font-size: 20px;
    }
    
    .btn-about {
        padding: 10px 25px;
        font-size: 15px;
    }
}



	/* 首页分类卡片样式优化 */
<style>
.categories-grid {                               /* 分类卡片网格容器 */
    display: grid;                               /* 使用CSS Grid布局 */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));  /* 自动填充，每列最小200px，最大1等分 */
    gap: 20px;                                   /* 网格项间距20px */
    margin-top: 30px;                            /* 顶部外边距30px */
}

.category-card {                                 /* 单个分类卡片 */
    display: block;                              /* 块级显示 */
    text-decoration: none;                       /* 去除链接下划线 */
    color: inherit;                              /* 继承父元素文字颜色 */
    background: #fff;                            /* 白色背景 */
    border-radius: 8px;                          /* 8px圆角 */
    padding: 20px;                               /* 内边距20px */
    text-align: center;                          /* 内容居中 */
    transition: all 0.3s ease;                   /* 所有属性0.3秒缓动过渡 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);     /* 轻微阴影 */
}

.category-card:hover {                           /* 卡片悬停效果 */
    transform: translateY(-5px);                 /* 向上移动5px */
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);    /* 加深阴影 */
}

.category-icon {                                 /* 分类图标容器 */
    width: 200px;                                 /* 固定宽度80px */
    height: 200px;                               /* 固定高度80px */
    margin: 0 auto 15px;                        /* 水平居中，底部间距15px */
    display: flex;                              /* 弹性布局 */
    align-items: center;                        /* 垂直居中 */
    justify-content: center;                    /* 水平居中 */
   

    overflow: hidden;                           /* 隐藏超出部分 */
}

.category-icon i {                               /* 字体图标样式 */
    font-size: 40px;                            /* 图标大小40px */
    color: #1e3c72;                             /* 深蓝色 */
}

.category-image {                               /* 分类图片样式 */
    width: 200px;                                /* 宽度100%填充容器 */

    object-fit: cover;                          /* 保持比例覆盖容器 */
   
}

.category-name {                                 /* 分类名称 */
    font-size: 16px;                            /* 16px字号 */
    font-weight: 600;                           /* 半粗体 */
    margin-bottom: 1px;                         /* 底部间距8px */
    color: #333;                                /* 深灰色文字 */
}

.category-count {                               /* 产品数量 */
    font-size: 14px;                            /* 14px字号 */
    color: #666;                                /* 中灰色文字 */
}



/* 多语言按钮组 - 替代原有social-links */
.hb-lang-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.lang-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 1px 5px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.lang-btn i {
    font-size: 10px;
}
.lang-btn:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: #1e3c72;
    transform: translateY(-2px);
}




/* 手机端隐藏顶部栏 */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
	

}
		
/* 手机端显示 Hsinbon，隐藏公司全名 */
@media (max-width: 768px) {
    .desktop-logo {
        display: none;
		
		
    }
    .mobile-logo {
        display: inline;
		font-size: 25px;
    }
}

/* 电脑端显示公司全名，隐藏 Hsinbon */
@media (min-width: 769px) {
    .mobile-logo {
        display: none;
    }
    .desktop-logo {
        display: inline;
    }
}