/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 96%;
    max-width: 1650px;
    margin: 0 auto;
}

/* 顶部样式 */
.header-top {
    background: #fff;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.contact-info span {
    margin-right: 20px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
}

.contact-info i {
    margin-right: 5px;
}

.user-actions {
    display: flex;
    align-items: center;
}

.user-actions a {
    margin-left: 15px;
    font-size: 13px;
    color: #555;
}

.social-icons {
    display: flex;
    margin: 0 15px;
}

.social-icons a {
    margin: 0 8px;
    color: #333;
}

/* 主导航 */
.main-nav {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    /* height: 45px; */
}

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

.nav-menu li {
    margin: 0 15px;
}

.nav-menu li a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #165eb2;
}

.nav-menu li a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #165eb2;
}

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

.search-lang a {
    margin-left: 15px;
    color: #333;
}

/* Banner */
.banner {
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 50px;
}

.banner h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 500;
}

/* 产品内容 */
.products-container {
    display: flex;
    padding: 40px 0;
}

/* 左侧导航 */
.page_l {
    width: 240px;
    flex-shrink: 0;
}

.products-nav {
    border: 1px solid #eee;
}

.products-nav-title {
    background: #5d99d2;
    color: #fff;
    padding: 15px;
    font-size: 30px;
}


.products-nav ul li {
    font-size: 16px;
    position: relative;
}


.products-nav ul li:last-child {
    border-bottom: none;
}

.products-nav ul li a {
    display: block;
    padding: 12px 15px 12px 30px;
    color: #333;
    font-size: 20px;
    transition: all 0.3s;
}
.products-nav ul li a::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #e6e6e6;
    left: 15px;
    top: 55%;
    transform: translateY(-50%);
    border-radius: 50%;
}
.products-nav ul li a:hover,
.products-nav ul li a.active {
    color: #5d99d2;
    background: #f0f0f0;
}

/* 右侧产品列表 */
.products-list {
    flex: 1;
    padding-left: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item {
    background: #fff;
    border: 1px solid #eee;
    position: relative;
}

.product-image {
    width: 100%;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    display: block;
}

.product-info {
    padding: 15px;
}

.product-title {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
}

.product-number {
    font-size: 13px;
    color: #000;
}

.product-more {
    position: absolute;
    right: 0px;
    bottom: 0px;
}

.more-btn {
    width: 40px;
    height: 40px;
    background: #444;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* 页脚 */
.footer {
    background: #222;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #aaa;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
}

.social-footer a {
    margin-right: 10px;
    color: #aaa;
}

.copyright {
    color: #aaa;
    font-size: 13px;
}

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

@media (max-width: 768px) {
    .products-container {
        flex-direction: column;
    }
    
    .page_l {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .products-list {
        padding-left: 0;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .banner h1 {
        font-size: 32px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-footer {
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
    }
}