* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    line-height: 1.6;
    color: #333;
}
/* 顶部黑色通栏 */
.top-bar {
    width: 100%;
    height: 40px;
    background: #000;
    color: #fff;
    font-size: 14px;
    line-height: 40px;
}
.top-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}
/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-btn {
    background: transparent;
    color: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 40px;
    line-height: 40px;
}
.dropdown-btn:hover {
    color: #e63946;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
}
.dropdown-content a {
    color: #333;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}
.dropdown-content a:hover {
    background: #f5f5f5;
    color: #e63946;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-right .dropdown-content {
    left: auto;
    right: 0;
}
/* 独立导航 */
.header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo {
    font-size: 28px;
    font-weight: bold;
    color: #e63946;
    white-space: nowrap;
}
/* 导航紧跟LOGO */
.nav-menu {
    display: flex;
    gap: 30px;
    margin-left: 0;
}
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
}
.nav-menu a:hover {
    color: #e63946;
}
.nav-menu a::after {
    content: '';
    width: 0;
    height: 2px;
    background: #e63946;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.3s;
}
.nav-menu a:hover::after {
    width: 100%;
}
/* 搜索框 */
.search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    max-width: 380px;
}
.search-box {
    width: 60%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.search-btn {
    background: #e63946;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}
/* 移动端导航按钮 */
.menu-toggle {
    display: none;
    background: #e63946;
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}
/* 视频横幅 */
.banner {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.banner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.banner-content {
    z-index: 2;
}
.banner-title {
    font-size: 90px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.banner-subtitle {
    font-size: 24px;
    margin-top: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
/* 公司简介 */
.company-intro {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.intro-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}
.intro-text {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}
.intro-list {
    list-style: none;
}
.intro-list li {
    font-size: 15px;
    color: #555;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}
.intro-list li::before {
    content: "✓";
    color: #fff;
    background: #e63946;
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
/* 轮播多图 */
.intro-right {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: 6px;
    overflow: hidden;
}
.slider {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: slideAnimation 12s infinite;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }
@keyframes slideAnimation {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; }
    100% { opacity: 0; }
}
/* 首页服务模块 灰色背景 */
.home-services {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 20px;
    text-align: center;
}
.home-services-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
.home-services-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
}
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
/* 首页服务卡片灰色背景 */
.home-service-item {
    background: #f2f2f2;
    padding: 25px 15px;
    border-radius: 8px;
    text-align: center;
}
.home-service-icon {
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.home-service-name {
    font-size: 18px;
    color: #555;
    margin-top: 30px;
}

/* 列表页服务模块 */
.services {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 20px;
}
.services-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}
.services-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

/* ====================== 客户评价：气泡样式（正确版） ====================== */
.reviews {
    width: 100%;
    background: #f8f9fa;
    padding: 80px 0;
    margin: 80px 0;
}
.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.reviews-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 50px;
    position: relative;
    color: #222;
}
.reviews-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #e63946;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.review-item {
    background: transparent;
    padding: 0;
    box-shadow: none;
}
/* 文字气泡 + 尖尖指向头像 */
.review-text {
    background: #fff;
    padding: 45px 25px 25px 45px;
    border-radius: 16px;
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.quote-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 24px;
    height: 24px;
    opacity: 0.3;
}
.review-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #fff;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 10px;
}
.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e63946;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}
.author-info p {
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.author-info p:last-child {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}
/* =========================================================================== */

/* 数据 */
.stats {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 20px;
    text-align: center;
}
.stats-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
.stats-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}
.stat-item {
    background: #f7f7f7;
    padding: 30px 20px;
    border-radius: 8px;
}
.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #e63946;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 14px;
    color: #666;
}
/* 认证 */
.certifications {
    width: 100%;
    background: #f5f5f5;
    padding: 70px 0 30px 0;
    margin: 70px 0 0 0;
}
.cert-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.cert-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.cert-item {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}
.cert-item img{
    
    height:80px;
}
/* 合作厂商 */
.partners {
    width: 100%;
    background: #f5f5f5;
    padding: 40px 0 70px 0;
    margin:0;
}
.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.partners-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
}
.partners-slider-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.partners-slider {
    display: flex;
    gap: 40px;
    animation: partnersSlide 30s linear infinite;
}
.partners-slider.paused {
    animation-play-state: paused;
}
.partner-logo {
	   width: 224px;
    height: 104px;
    opacity: 1;
    transition: 0.3s;
    flex-shrink: 0;
}
.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}
@keyframes partnersSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* 页脚 */
.footer {
    background: #2d3142;
    color: #fff;
    padding: 60px 0 20px;
   
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
}
.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 13px;
    color: #ccc;
}

/* 分类导航和幻灯片模块 */
.category-slider-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.category-slider-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: start;
}

/* 左侧分类导航 */
.category-nav {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.category-title {
    background: #e63946;
    color: #fff;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
}
.category-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
}
.category-list a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}
.category-list a:hover {
    background: #e63946;
    color: #fff;
    padding-left: 20px;
}

/* 右侧幻灯片 */
.slider {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: slideAnimation 12s infinite;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }

/* 产品展示模块 */
.products-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.container {
    width: 100%;
}
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.section-title h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}
.view-more {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.view-more:hover {
    color: #e63946;
}

/* Tab切换样式 */
.tabs {
    margin-bottom: 40px;
}
.tab-buttons {
        text-align: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 10px 18px;
    border: 1px solid #ddd;
    background: #fff;
     
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}
.tab-btn:hover {
    border-color: #e63946;
    color: #e63946;
}
.tab-btn.active {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}

/* Tab内容 */
.tab-content {
    position: relative;
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.product-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: 0.3s;
}
.product-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.product-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 4px;
}
.product-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    white-space: nowrap;
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-price {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.view-price {
    display: inline-block;
    padding: 6px 12px;
    background: #e63946;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
    transition: 0.3s;
}
.view-price:hover {
    background: #c1121f;
}

/* 在线批发玩具 */
.wholesale-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin-top: 60px;
}
.wholesale-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}
.wholesale-list {
    list-style: none;
}
.wholesale-list li {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.wholesale-list li::before {
    content: "✓";
    color: #e63946;
    position: absolute;
    left: 0;
    top: 2px;
    font-weight: bold;
}
.wholesale-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 综合查询模块 */
.search-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.search-container {
    background: #f8f9fa;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}
.search-header h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.toggle-search {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
.toggle-search:hover {
    color: #e63946;
}

/* 搜索表单 */
.search-form {
    margin-bottom: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    align-items: end;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-group label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}
.form-group input[type="text"],
.form-group input[type="date"],
.form-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.price-inputs,
.date-inputs,
.dimension-inputs,
.weight-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}
.price-inputs input,
.date-inputs input,
.dimension-inputs input,
.weight-inputs input {
    flex: 1;
    max-width: 80px;
}
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
.reset-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}
.reset-btn:hover {
    border-color: #e63946;
    color: #e63946;
}
.search-btn,
.search-submit-btn {
    padding: 8px 20px;
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}
.search-btn:hover,
.search-submit-btn:hover {
    background: #c1121f;
}

/* 分类部分 */
.category-section {
    margin-top: 30px;
}
.category-group {
    margin-bottom: 20px;
}
.category-group label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    margin-bottom: 10px;
    display: inline-block;
}
.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.category-links a {
    display: inline-block;
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}
.category-links a:hover {
    border-color: #e63946;
    color: #e63946;
}
.category-links a.active {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}

/* 产品展示模块 */
.products-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.products-container {
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 排序选项 */
.sort-options {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.sort-options label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: 0.3s;
}
.sort-options input[type="radio"] {
    accent-color: #e63946;
}
.sort-options label:hover {
    color: #e63946;
}
.sort-options input[type="radio"]:checked + span {
    color: #e63946;
    font-weight: 500;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.product-card {
    border: 1px solid #f0f0f0;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}
.product-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}
.product-card h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    text-align: center;
}
.price-link {
    color: #e63946;
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}
.price-link:hover {
    text-decoration: underline;
}
.add-to-cart {
    width: 100%;
    padding: 8px 0;
    background: #e63946;
    border: 1px solid #e63946;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}
.add-to-cart:hover {
    background: #c1121f;
    color: #fff;
    border-color: #c1121f;
}

/* 产品链接 */
.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 悬浮购物车 */
.floating-cart {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.cart-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e63946;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.cart-toggle:hover {
    background: #c1121f;
    transform: scale(1.1);
}

.cart-icon {
    font-size: 24px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff9800;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-panel.active {
    display: flex;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.cart-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.clear-cart {
    padding: 6px 12px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-cart:hover {
    background: #ff5252;
    transform: translateY(-1px);
}

.close-cart {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background: #e63946;
    color: #fff;
}

.cart-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.cart-items {
    flex: 1;
    padding: 10px 20px;
    overflow-y: auto;
    max-height: 300px;
}

.cart-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
    margin-right: 15px;
}

.cart-item-info h5 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.cart-item-info p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.cart-item-info h5 a {
    color: #333;
    text-decoration: none;
}

.cart-item-info h5 a:hover {
    color: #e63946;
    text-decoration: underline;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 15px;
    max-width: 120px;
}

.cart-item-total {
    font-size: 14px;
    font-weight: 500;
    color: #e63946;
    margin-bottom: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quantity-btn {
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}

.cart-item-quantity span {
    font-size: 12px;
    min-width: 30px;
    text-align: center;
    font-weight: 500;
}

.remove-item {
    width: 24px;
    height: 24px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
    margin-left: 10px;
    margin-top: 2px;
}

.remove-item:hover {
    background: #e63946;
    color: #fff;
    transform: scale(1.1);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

/* 优化购物车面板样式 */
.cart-panel {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    width: 320px;
    max-height: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
}

.cart-panel.active {
    display: flex;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.cart-items {
    flex: 1;
    padding: 10px 20px;
    overflow-y: auto;
    max-height: 300px;
}

/* 滚动条样式 */
.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.cart-total {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.export-excel {
    padding: 8px 16px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.export-excel:hover {
    background: #45a049;
}

/* 通知 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

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

@media (max-width: 768px) {
    .floating-cart {
        right: 10px;
    }
    
    .cart-panel {
        right: 60px;
        width: 280px;
    }
}

@media (max-width: 480px) {
    .floating-cart {
        right: 10px;
        bottom: 20px;
        top: auto;
        transform: none;
    }
    
    .cart-toggle {
        width: 50px;
        height: 50px;
    }
    
    .cart-icon {
        font-size: 20px;
    }
    
    .cart-panel {
        position: fixed;
        left: 50%;
        right: auto;
        bottom: 60px;
        top: auto;
        transform: translateX(-50%);
        width: 90vw;
        max-width: 400px;
        max-height: 70vh;
        border-radius: 8px 8px 0 0;
        z-index: 1001;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .sort-options {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 10px 0;
    }
    .sort-options label {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-card img {
        height: 140px;
    }
    .product-card h4 {
        font-size: 12px;
        height: 35px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
        text-align: center;
    }
}

/* 产品详情模块 */
.product-detail-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 10px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-item {
    list-style: none;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-link:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.page-item.active .page-link {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}

.page-item.disabled .page-link {
    background: #f8f9fa;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
}

.page-info {
    font-size: 14px;
    color: #666;
    margin: 0 15px;
}

/* 响应式分页 */
@media (max-width: 768px) {
    .pagination-container {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 8px;
    }
    
    .page-info {
        font-size: 12px;
        margin: 0 10px;
    }
}
.product-detail-container {
    background: #fff;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* 产品图片 */
.product-image {
    border: 1px solid #f0f0f0;
    padding: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    position: relative;
}

/* 放大镜效果 */
.magnifier-container {
    position: relative;
    display: inline-block;
    cursor: crosshair;
}

.magnifier-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
}

.magnifier-zoom {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid #000;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    display: none;
}

.magnifier-preview {
    width: 100%;
    height: 100%;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.magnifier-preview img {
    position: absolute;
    max-width: none;
    max-height: none;
}

/* 产品信息 */
.product-info h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}
.product-details {
    margin-bottom: 30px;
}
.detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row > div {
    flex: 1 1 calc(50% - 10px);
    min-width: 150px;
    display: flex;
    align-items: center;
}
.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.detail-row span.label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}
.detail-row span.value {
    font-size: 14px;
    color: #333;
}
.detail-row span.login-required {
    color: #e63946;
}

/* 产品操作按钮 */
.product-actions {
    display: flex;
    gap: 20px;
}
.add-to-cart-btn {
    padding: 12px 30px;
    background: #e63946;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    flex: 1;
}
.add-to-cart-btn:hover {
    background: #c1121f;
}
.buy-now-btn {
    padding: 12px 30px;
    background: #ff9f1c;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    flex: 1;
	    text-align: center;
}
.buy-now-btn:hover {
    background: #e68a00;
}

/* 相似产品模块 */
.similar-products-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.similar-products-container {
    background: #fff;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.similar-products-container h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}
.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.similar-product-card {
    border: 1px solid #f0f0f0;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}
.similar-product-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.similar-product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 15px;
}
.similar-product-card h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.similar-product-card .price-link {
    color: #e63946;
    font-size: 14px;
    cursor: pointer;
}
.similar-product-card .price-link:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-image {
        order: 1;
    }
    .product-info {
        order: 2;
    }
    .similar-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .product-detail-container,
    .similar-products-container {
        padding: 20px;
    }
    .product-actions {
        flex-direction: column;
    }
    .similar-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .detail-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .detail-row > div {
        flex: 1 1 calc(50% - 5px);
        min-width: 120px;
    }
    .similar-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .similar-product-card img {
        height: 140px;
    }
    .similar-product-card h4 {
        font-size: 12px;
        height: 35px;
    }
}

/* 联系我们页面 */

/* 顶部横幅 */
.contact-banner {
    position: relative;
    height: 400px;
    background-image: url('/skin/image/contact-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}
.banner-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}
.banner-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 联系我们内容 */
.contact-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.contact-container {
    background: #fff;
    padding: 40px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.contact-container h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: center;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* 联系信息 */
.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}
.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.info-item .label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    min-width: 100px;
}
.info-item .value {
    font-size: 14px;
    color: #333;
    flex: 1;
}

/* 联系表单 */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-form .form-group {
    display: flex;
    flex-direction: column;
}
.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    border-radius: 4px;
    transition: 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.1);
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}
.submit-btn {
    padding: 12px 30px;
    background: #333;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
}
.submit-btn:hover {
    background: #e63946;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-banner {
        height: 300px;
    }
    .banner-content h1 {
        font-size: 28px;
    }
    .banner-content p {
        font-size: 14px;
    }
    .contact-container {
        padding: 30px;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-info {
        order: 2;
    }
    .contact-form {
        order: 1;
    }
}

@media (max-width: 480px) {
    .contact-banner {
        height: 250px;
    }
    .banner-content h1 {
        font-size: 24px;
    }
    .contact-container {
        padding: 20px;
    }
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .info-item .label {
        min-width: auto;
    }
    .submit-btn {
        align-self: stretch;
    }
}

/* 优势展示页面 */

/* 顶部横幅 */
.advantage-banner {
    position: relative;
    height: 400px;
    background-image: url('/skin/image/advantage-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
}
.advantage-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
}
.advantage-banner .banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}
.advantage-banner .banner-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}
.advantage-banner .banner-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    color: #666;
}

/* 为什么选择我们 */
.why-choose-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.why-choose-container {
    text-align: center;
}
.why-choose-container h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}
.why-choose-container .subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.advantage-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    transition: 0.3s;
}
.advantage-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.advantage-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}
.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 批发步骤 */
.steps-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.steps-container {
    text-align: center;
}
.steps-container h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.step-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    text-align: left;
    transition: 0.3s;
}
.step-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.step-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step-icon .icon {
    font-size: 24px;
    z-index: 2;
    position: relative;
}
.step-icon .step-number {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #e63946;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}
.step-card h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}
.step-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

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

@media (max-width: 768px) {
    .advantage-banner {
        height: 300px;
    }
    .advantage-banner .banner-content h1 {
        font-size: 28px;
    }
    .advantage-banner .banner-content p {
        font-size: 14px;
    }
    .why-choose-container h2 {
        font-size: 24px;
    }
    .steps-container h2 {
        font-size: 20px;
    }
    .advantages-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .advantage-banner {
        height: 250px;
    }
    .advantage-banner .banner-content h1 {
        font-size: 24px;
    }
    .advantage-card,
    .step-card {
        padding: 20px;
    }
    .step-icon {
        width: 50px;
        height: 50px;
    }
    .step-icon .icon {
        font-size: 20px;
    }
}

/* 服务类页面 */

/* 顶部横幅 */
.services-banner {
    position: relative;
    height: 300px;
    background-image: url('/skin/image/services-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.services-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.services-banner .banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}
.services-banner .banner-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #fff;
}
.services-banner .banner-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    color: #fff;
}

/* 服务内容 */
.services-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.services-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* 服务项目 */
.service-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

/* 偶数项：图片在右，文字在左 */
.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* 服务内容 */
.service-content {
    text-align: left;
}
.service-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}
.service-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}
.service-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 0;
}
.service-content li {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}
.service-content li:last-child {
    margin-bottom: 0;
}

/* 服务图片 */
.service-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* 服务内容 */
.service-content {
    flex: 1;
}

.service-content p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .service-image {
        flex: 0 0 100%;
        max-width: 100%;
        order: -1;
    }
    
    .service-image img {
        height: 200px;
    }
    
    .service-content h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .service-item {
        margin-bottom: 40px;
        padding: 20px;
        gap: 15px;
    }
    
    .service-image img {
        height: 150px;
    }
    
    .service-content h2 {
        font-size: 18px;
    }
    
    .service-content p,
    .service-content li {
        font-size: 13px;
    }
}

/* 响应式 */
@media (max-width:992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        gap: 15px;
    }
    .nav-menu.show {
        display: flex;
    }
    .menu-toggle {
        display: block;
        margin-left: 10px;
    }
    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .reviews-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2,1fr);
    }
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-slider-container {
        grid-template-columns: 1fr;
    }
    .category-nav {
        margin-bottom: 20px;
    }
    .category-list {
        max-height: 200px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .slider {
        height: 300px;
    }
    .form-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .price-inputs input,
    .date-inputs input,
    .dimension-inputs input,
    .weight-inputs input {
        max-width: 60px;
    }
    .category-links {
        gap: 5px;
    }
    .category-links a {
        font-size: 11px;
        padding: 3px 8px;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .wholesale-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}
@media (max-width:768px) {
    .top-bar {
        height: auto;
        padding: 5px 0;
        line-height: 40px;
    }
    .top-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .dropdown-btn {
        font-size: 12px;
    }
    .dropdown-content {
        min-width: 120px;
    }
    .company-intro {
        grid-template-columns: 1fr;
    }
    .banner {
        height: 300px;
    }
    .banner-title {
        font-size: 50px;
    }
    /* 手机端：评价一行一个 */
    .reviews-grid {
        grid-template-columns: 1fr !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .category-list {
        grid-template-columns: 1fr;
        max-height: 150px;
    }
    .slider {
        height: 200px;
    }
    .search-container {
        padding: 15px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .price-inputs input,
    .date-inputs input,
    .dimension-inputs input,
    .weight-inputs input {
        max-width: 80px;
    }
    .form-group input[type="text"],
    .form-group input[type="date"],
    .form-group select {
        padding: 6px 10px;
        font-size: 13px;
    }
    .category-links a {
        font-size: 16px;
        padding: 2px 6px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tab-buttons {
        gap: 5px;
    }
    .tab-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
	.logo img{width: 130px;}
	.search-box {
    width: 50%;}
	.cert-item img {
    height: 50px;
}.partner-logo {
	    width: 100px;
    height: 80px;
   
}.search-btn, .search-submit-btn {
    padding: 8px 8px;
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}
}
.footer-bottom a{color: #ffffff;text-decoration: none; }
.similar-product-card a{text-decoration: none; }




/* 服务内容模块样式 */
.service-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 偶数项：图片在右，文字在左 */
.service-item:nth-of-type(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.service-content {
    flex: 1;
}

.service-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.service-content p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .service-image {
        flex: 0 0 100%;
        max-width: 100%;
        order: -1;
    }
    
    .service-image img {
        height: 200px;
    }
    
    .service-content h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .service-section {
        padding: 40px 0;
    }
    
    .service-item {
        margin-bottom: 40px;
        padding: 20px;
        gap: 15px;
    }
    
    .service-image img {
        height: 150px;
    }
    
    .service-content h2 {
        font-size: 18px;
    }
    
    .service-content p {
        font-size: 13px;
    }
}


.pglist {
    padding: 30px 0 15px;
    width: 100%;
    text-align: center;
    clear: both;
}.pglist * {
    display: inline-block;
    vertical-align: middle;
    line-height: 34px;
    padding-bottom: 1px;
}.pglist a {
    color: #333;
    padding: 0 15px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid #edebeb;
}.pglist .active a{
    display: inline-block;
    color: #fff;
    background: #e63946;
    border-color: #e63946;
}.pglist span{
    color: #333;
    padding: 0 15px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid #edebeb;
}
.pglist .current{  background: #e63946; color: aliceblue; }
.pglist .hover{  background: #e63946; color: aliceblue; }


.nav-menu .active{
 
    color: #ff0000;
	
	}