* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none;    /* 去掉下划线 */
  border: none;            /* 去掉边框 */
  outline: none;          /* 去掉焦点轮廓（注意可访问性） */
  cursor: pointer;        /* 保持指针样式 */
}
body{
  background: #fff;
}
/* Breadcrumb */
.breadcrumb {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.breadcrumb a {
    color: #2850a0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #999;
}
.current{
    font-size: 14px;
}
/* Main Content */
.main-content {
    padding: 40px 0;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}


/* 页面容器 */
.page-container {
    display: flex;
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

/* ========== 左侧边栏 ========== */
.sidebar {
    width: 460px;
    padding-right: 60px;
    flex-shrink: 0;
    border-right: 1px solid #f8f8f8;
    margin-right: 50px;
}

.sidebar-section {
    padding: 25px 25px 25px 0;
    border-radius: 5px;
}

h3.sidebar-title {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
    border-bottom: 0;
}

h3.sidebar-title::before {
    content: '|';
    color: rgba(102, 102, 102, 1);
    font-weight: bold;
    margin-right: 8px;
}

/* 搜索框 */
.search-box {
    display: flex;
    gap: 0;
}

.search-input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-right: none;
    outline: none;
    font-size: 16px;
}

.search-input:focus {
    border-color: #1a5490;
}

.search-btn {
    width: 60px;
    background-color: #333;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 0 3px 3px 0;
    font-size: 16px;
}

.search-btn:hover {
    background-color: #1a5490;
}

/* 产品分类列表 */
.category-list {
    list-style: none;
}

li.category-item1 {
  display: block;
  margin-bottom: 5px;
  position: relative;
  padding: 0;
}

.category-link-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    text-decoration: none;
    color: #333;
    background-color: #f8f8f8;
    transition: all 0.3s;
    font-size: 16px;
    cursor: pointer;
}

.category-link-main:hover {
    background-color: #1a5490;
    color: #fff;
}

.category-item1:hover .category-link-main {
    background-color: #1a5490;
    color: #fff;
}

.arrow-icon {
    font-size: 12px;
    transition: transform 0.3s;
}

/* 二级菜单 - 在右侧浮动显示 */
.submenu-list {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #f8f8f8;
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 5px;
    padding: 8px 0;
    margin-left: 5px;
    z-index: 100;
}

.category-item1:hover .submenu-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-list li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: all 0.3s;
}

.submenu-list li a:hover {
    background-color: #1a5490;
    color: #fff;
    padding-left: 25px;
}

/* 热门产品 */
.hot-products {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hot-product-item {
    display: flex;
    gap: 15px;
    padding: 25px 20px;
    cursor: pointer;
    background-color: #f8f8f8;
}


.hot-product-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
}

.hot-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:transform 0.3s;
}
.hot-product-img:hover img {
    transform: scale(1.1);
}

.hot-product-info h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #333;
}

.hot-product-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 主内容区 ========== */
.main-content {
    flex: 1;
}

/* 产品分类菜单 */
.product-category-menu {
    background: #fff;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-link {
    padding: 8px 16px;
    text-decoration: none;
    color: #666;
    background-color: #f5f5f5;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-link:hover,
.category-link.active {
    background-color: #1a5490;
    color: #fff;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card1 {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 280px;
    background-color: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.product-title {
    color: rgba(51, 51, 51, 1);
    display: -webkit-box;           /* 使用弹性盒子模型 */
  -webkit-box-orient: vertical;   /* 垂直排列 */
  -webkit-line-clamp: 1;          /* 显示的行数 */
  overflow: hidden;               /* 隐藏溢出内容 */
  text-overflow: ellipsis;   
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    font-family: Poppins-Regular;
    line-height: 45px;
}

.product-desc {
    color: rgba(168, 168, 168, 1);
    display: -webkit-box;           /* 使用弹性盒子模型 */
    -webkit-box-orient: vertical;   /* 垂直排列 */
    overflow: hidden;               /* 隐藏溢出内容 */
    text-overflow: ellipsis;   
    font-size: 14px;
    -webkit-line-clamp: 2;
    text-align: center;
    font-family: Poppins-Regular;
}

/* ========== 右侧浮动联系按钮 ========== */
.floating-contacts {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
}

.contact-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 20px;
    border-radius: 50% 0 0 50%;
    margin-left: 0;
}

.contact-btn:hover {
    padding-right: 10px;
    width: 60px;
}

.contact-btn.messenger {
    background-color: #0084ff;
}

.contact-btn.email {
    background-color: #ea4335;
}

.contact-btn.whatsapp {
    background-color: #25d366;
}

.contact-btn.skype {
    background-color: #00aff0;
}

.contact-btn.scroll-top {
    background-color: #1a5490;
}

.contact-btn.scroll-bottom {
    background-color: #1a5490;
}

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

@media (max-width: 1024px) {
    .page-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 移动端二级菜单调整 */
    .submenu-list {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-left: 0;
        margin-top: 5px;
        box-shadow: none;
        border-left: 3px solid #1a5490;
        display: none;
    }
    
    .category-item1:hover .submenu-list {
        display: block;
    }
}

@media (max-width: 768px) {
    .sidebar{
        display: none;
    }
    .main-content{
        padding: 20px 0;
    }
    .page-container{
        max-width: none;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-image{
        height: auto;
    }
    .product-category-menu {
        padding: 15px;
    }
    
    .category-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .floating-contacts {
        right: 10px;
    }
    
    .contact-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 10px;
    }
    
    .hot-product-item {
        flex-direction: column;
    }
    
    .hot-product-img {
        width: 100%;
        height: 150px;
    }
}
.pagination{
  margin-top: 30px;
  text-align: center;
}