/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    line-height: 1.5;
    background-color: #fff;
    overflow-x: hidden; /* 防止水平滚动 */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 顶部导航 */
.top-nav {
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    line-height: 30px;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.top-nav .left {
    margin-right: 10px;
    color: #444;
}

.top-nav .left a {
    margin: 0 10px;
    color: #444;
}

.top-nav .left a:hover {
    color: #694afe;
}

.top-nav .right {
    display: flex;
    flex-wrap: wrap;
}

.top-nav .right .tel {
    color: #ff6600;
    margin-right: 15px;
    font-weight: 500;
}

.top-nav .right a {
    margin-left: 15px;
    color: #444;
}

.top-nav .right a:hover {
    color: #694afe;
}

/* 头部 */
.header {
    background-color: #fff;
    padding: 20px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    padding: 10px 0;
}

.logo img, .logo-img {
    height: 40px;
    margin-right: 10px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    color: #694afe;
    margin-right: 10px;
}

.company-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 10px;
}

.company-name-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-left: 3px solid #4169e1;
}

.company-info .name {
    font-size: 18px;
    color: #333;
    margin-right: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    display: inline-block;
    background: linear-gradient(to right, #4169e1, #694afe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border-bottom: 2px solid #4169e1;
}

.company-info .verify {
    color: #fff;
    font-size: 12px;
    background: linear-gradient(45deg, #4169e1, #694afe);
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 5px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(65, 105, 225, 0.3);
    position: relative;
    display: inline-block;
}

.search {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 450px;
    flex-wrap: wrap;
}

.search input {
    width: calc(100% - 160px);
    height: 36px;
    border: 2px solid #4169e1;
    padding: 0 10px;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-btn, .shop-search-btn, .search-all-btn {
    height: 36px;
    background-color: #4169e1;
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    white-space: nowrap;
}

.search-btn, .shop-search-btn {
    border-radius: 0;
}

.search-all-btn {
    border-radius: 0 4px 4px 0;
    background-color: #ff6600;
}

/* 主导航 */
.main-nav {
    background-color: #4169e1;
    position: relative;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.main-nav li {
    position: relative;
    flex: 1;
    text-align: center;
}

.main-nav li a {
    display: block;
    padding: 0;
    line-height: 50px;
    color: #fff;
    font-size: 16px;
}

.main-nav li a.active,
.main-nav li a:hover {
    background-color: #3254c5;
}

/* 轮播图 */
.banner {
    height: 400px;
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 1920px;
    margin: 0 auto;
    margin-bottom: 0;
    background-color: #fff;
}

.banner .container {
    height: 100%;
    position: static;
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.banner-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 5;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dots span.active {
    background-color: #fff;
    transform: scale(1.2);
}

.banner-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.banner-arrow-left {
    left: 20px;
}

.banner-arrow-right {
    right: 20px;
}

/* 内容区块 */
.section {
    margin: 0 0 30px 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.section:first-of-type {
    margin-top: 30px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #4169e1, #6a8be9);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 推荐产品标题 */
.recommended-title {
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 30px 0;
    margin: -20px -20px 20px -20px;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.recommended-title:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 5px 5px 0 0;
}

.recommended-title h2 {
    text-align: center;
    font-size: 28px;
    color: #000;
    position: relative;
    z-index: 2;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

/* 产品展示标题 */
.product-display-title {
    background-color: #694afe;
    padding: 30px 0;
    margin: -20px -20px 20px -20px;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.product-display-title h2 {
    text-align: center;
    font-size: 28px;
    color: #fff;
    position: relative;
    margin: 0;
}

/* 推荐产品 */
.product-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.product-item {
    width: calc(20% - 20px);
    margin: 10px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    border-top: 3px solid #694afe;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(105, 74, 254, 0.15);
}

.product-img {
    height: 180px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-item:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 10px;
}

.product-info h3 {
    font-size: 14px;
    margin-bottom: 5px;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #222;
}

.product-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}

.product-price {
    display: flex;
    align-items: center;
}

.price {
    color: #f60;
    font-size: 16px;
    font-weight: bold;
    margin-right: 5px;
}

.original-price {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}

/* 产品展示 */
.product-display {
    display: flex;
    flex-wrap: wrap;
}

.category-menu {
    width: 240px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    margin-right: 20px;
    border: 1px solid #eee;
}

.category-menu h3 {
    font-size: 16px;
    padding: 10px 20px;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    background-color: #f9f9f9;
    border-radius: 6px 6px 0 0;
}

.category-list {
    padding: 0 10px;
}

.category-list li {
    position: relative;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.category-list li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
}

.category-list li a:hover {
    color: #4169e1;
    background-color: #f5f7ff;
}

/* 一级分类样式 */
.category-list > li {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.category-list > li:last-child {
    border-bottom: none;
}

.category-list > li.active > a {
    color: #4169e1;
    font-weight: 600;
    background-color: #f0f5ff;
}

/* 二级分类样式 */
.category-list ul {
    padding-left: 15px;
    margin: 5px 0;
    display: none;
}

.category-list li.expanded > ul {
    display: block;
}

.category-list ul li {
    margin-bottom: 0;
    position: relative;
}

.category-list ul li a {
    padding: 8px 15px;
    font-size: 13px;
    position: relative;
}

.category-list ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 6px;
    height: 1px;
    background-color: #ccc;
}

.category-list ul li.active:before {
    background-color: #4169e1;
}

.category-list ul li.active > a {
    color: #4169e1;
    font-weight: 600;
    background-color: #f0f5ff;
}

/* 展开/折叠指示器 */
.category-list li.has-children > a {
    position: relative;
    padding-right: 30px;
}

.category-list li.has-children > a:after {
    content: "▸";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #999;
    font-size: 18px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

.category-list li.has-children.expanded > a:after {
    transform: translateY(-50%) rotate(90deg);
    color: #4169e1;
}

/* 为移动设备优化点击区域 */
@media (max-width: 768px) {
    .category-list li.has-children > a:after {
        font-size: 22px;
        width: 30px;
        height: 30px;
        line-height: 30px;
        right: 8px;
    }
    
    .category-list li a {
        padding: 12px 15px;
    }
}

.product-content {
    display: none;
}

.product-content.active {
    display: block;
}

.product-grid {
    flex: 1;
    padding-left: 20px;
}

.product-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.product-grid-item {
    width: calc(20% - 20px);
    margin: 10px;
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    border-bottom: 3px solid #694afe;
}

.product-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(105, 74, 254, 0.15);
}

.product-grid-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-grid-item p {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.product-grid-item p:last-child {
    color: #777;
    font-size: 12px;
}

/* 新闻中心 */
.news-list {
    display: flex;
    flex-wrap: wrap;
}

.news-main {
    width: 40%;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.news-main .img-container {
    width: 100%;
    height: 300px;
}

.news-main .img-container img {
    width: 107px !important;
    height: 40px !important;
    object-fit: cover;
    display: block;
}

.news-title {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.news-main .news-date {
    position: absolute;
    bottom: 10px;
    left: 15px;
    color: #fff;
    font-size: 12px;
    background-color: rgba(105, 74, 254, 0.8);
    padding: 3px 8px;
    border-radius: 3px;
}

.news-main .news-more {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: #fff;
    font-size: 12px;
    background-color: rgba(255, 102, 0, 0.8);
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.news-main .news-more:hover {
    background-color: rgba(255, 102, 0, 1);
    text-decoration: none;
}

.news-sidebar {
    width: 60%;
    padding-left: 20px;
}

.news-item {
    display: flex;
    padding: 15px;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #694afe;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(3px);
    box-shadow: 0 5px 15px rgba(105, 74, 254, 0.15);
}

/* 新闻小项样式 */
.news-small-items {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    margin-top: 20px;
}

.news-small-item {
    width: calc(33.33% - 20px);
    margin: 0 10px;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #694afe;
    transition: all 0.3s ease;
}

.news-small-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(105, 74, 254, 0.15);
}

.news-small-item h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #222;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-small-item p {
    font-size: 12px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 10px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-small-item .news-date {
    font-size: 12px;
    color: #777;
    margin-top: auto;
    margin-bottom: 5px;
}

.news-small-item .news-more {
    color: #694afe;
    font-size: 12px;
    font-weight: 500;
    align-self: flex-end;
    padding: 2px 6px;
    background-color: rgba(105, 74, 254, 0.1);
    border-radius: 3px;
    transition: background-color 0.3s;
}

.news-small-item .news-more:hover {
    background-color: rgba(105, 74, 254, 0.2);
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
}

.footer-col {
    width: 16%;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: normal;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.qrcode {
    width: 120px;
    height: 120px;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
}

.qrcode img {
    width: 100%;
    height: 100%;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.cert-icons {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cert-icons img {
    height: 40px;
    width: 107px;
    margin: 5px;
    object-fit: contain;
}

.copyright {
    color: #999;
    font-size: 12px;
    line-height: 1.8;
}

/* 移动菜单按钮 */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
    z-index: 100;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #4169e1;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动菜单抽屉 */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: -80%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.mobile-menu-drawer.active {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #4169e1;
    color: #fff;
}

.drawer-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.drawer-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.drawer-menu li {
    border-bottom: 1px solid #eee;
}

.drawer-menu li:last-child {
    border-bottom: none;
}

.drawer-menu li a {
    display: block;
    padding: 15px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.drawer-menu li a:hover,
.drawer-menu li a.active {
    background-color: #f5f5f5;
    color: #4169e1;
    padding-left: 20px;
}

/* 遮罩层 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* 防止滚动 */
body.drawer-open {
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .product-item,
    .product-grid-item {
        width: calc(25% - 20px);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .product-item,
    .product-grid-item {
        width: calc(33.333% - 20px);
    }
    
    .footer-col {
        width: 33.333%;
        padding: 0 15px;
    }
    
    .news-main {
        width: 100%;
    }
    
    .news-sidebar {
        width: 100%;
        padding-left: 0;
    }
    
    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .top-nav .container {
        flex-direction: column;
        align-items: center;
    }
    
    .top-nav .left,
    .top-nav .right {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin: 5px 0;
    }
    
    .top-nav .right a,
    .top-nav .right .tel {
        margin: 0 5px;
        font-size: 11px;
    }
    
    .header .container {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 15px;
        justify-content: flex-start;
        text-align: center;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .company-info {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
    
    .company-name-wrapper {
        margin: 10px auto;
    }
    
    .company-info .name {
        text-align: center;
        font-size: 16px;
    }
    
    .company-info .verify {
        margin: 5px auto;
        text-align: center;
    }
    
    .search {
        margin: 0 auto;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .banner {
        height: 300px;
    }
    
    .banner-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .product-item,
    .product-grid-item {
        width: calc(50% - 20px);
    }
    
    .category-menu {
        width: 100%;
    }
    
    .product-grid {
        padding-left: 0;
        width: 100%;
    }
    
    .footer-col {
        width: 50%;
    }
    
    .qrcode {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .product-list,
    .product-row {
        margin: 0;
    }
    
    .product-item,
    .product-grid-item {
        width: 100%;
        margin: 10px 0;
    }
    
    .banner {
        height: 200px;
    }
    
    .banner-dots span {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    .banner-arrow {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .banner-arrow-left {
        left: 10px;
    }
    
    .banner-arrow-right {
        right: 10px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .footer-col {
        width: 100%;
        text-align: center;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item .news-more {
        margin-top: 10px;
        margin-left: 0;
        text-align: right;
    }
    
    .product-img {
        height: 150px;
    }
    
    .search {
        flex-wrap: wrap;
    }
    
    .search input {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 4px;
    }
    
    .search-btn, .shop-search-btn, .search-all-btn {
        width: calc(50% - 5px);
        margin-right: 5px;
        border-radius: 4px;
    }
    
    .search-all-btn {
        margin-left: 5px;
        margin-right: 0;
    }
    
    .pagination .page-item {
        min-width: 32px;
        height: 32px;
        line-height: 32px;
        margin: 0 3px;
        font-size: 12px;
    }
    
    .pagination .page-item.next {
        padding: 0 10px;
    }
}

/* 图片错误处理 */
.img-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-container.error::before {
    content: "暂时无图";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 14px;
}

.img-container.error img {
    opacity: 0;
}

/* 产品图片 */
.product-img {
    height: 180px;
    overflow: hidden;
}

.product-img .img-container {
    width: 100%;
    height: 100%;
}

/* 产品网格项图片 */
.product-grid-item .img-container {
    width: 100%;
    height: 120px;
    margin-bottom: 10px;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #222;
}

.news-content p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-item .news-date {
    position: static;
    color: #777;
}

.news-item .news-more {
    position: static;
    color: #694afe;
    align-self: flex-end;
    margin-left: 20px;
    font-weight: 500;
    padding: 3px 8px;
    background-color: rgba(105, 74, 254, 0.1);
    border-radius: 3px;
}

.news-item .news-more:hover {
    background-color: rgba(105, 74, 254, 0.2);
    text-decoration: none;
}

/* 面包屑导航 */
.breadcrumb-container {
    background-color: #f8f8f8;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumb li:not(:last-child):after {
    content: ">";
    margin: 0 10px;
    color: #ccc;
}

.breadcrumb li a {
    color: #4169e1;
    text-decoration: none;
}

.breadcrumb li a:hover {
    color: #694afe;
    text-decoration: underline;
}

.breadcrumb li.active {
    color: #666;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    color: #4169e1;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination a:hover {
    background-color: #f0f0f0;
    border-color: #4169e1;
}

.pagination .current {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background-color: #4169e1;
    color: white;
    border-radius: 4px;
    border: 1px solid #4169e1;
}

.pagination .disabled {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #eee;
    color: #ccc;
    border-radius: 4px;
    cursor: not-allowed;
}

.pagination span {
    margin: 0 8px;
}

/* 公司名称新样式 */
.company-title {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    color: #4169e1;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.company-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #4169e1;
}

@media (max-width: 768px) {
    .company-title {
        font-size: 20px;
        text-align: center;
        display: block;
        margin: 0 auto;
    }
    
    .company-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.OutLinkItem { 
    margin-left: 5px; 
    margin-right: 5px;
    display: inline-block;
}