/* 叉车销售分销系统首页样式 - 现代化设计 v20250802004 */

/* 测试CSS加载标记 */
body::after {
    content: "CSS已加载 v20250802004";
    position: fixed;
    top: 0;
    right: 0;
    background: red;
    color: white;
    padding: 2px 5px;
    font-size: 10px;
    z-index: 99999;
    display: none; /* 取消注释可显示测试标记 */
}

/* 基础重置和通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    background-color: #f8fafc;
    color: #2d3748;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

/* LOGO区域 */
.logo {
    flex-shrink: 0;
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.logo-fallback .logo-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.logo-fallback .logo-text {
    color: white;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* 搜索栏 */
.search-bar {
    flex: 1;
    max-width: 420px;
    margin: 0 25px;
    position: relative;
}

.search-input-wrapper {
    position: relative;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.search-input-wrapper:focus-within {
    background: white;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input {
    width: 100%;
    height: 100%;
    padding: 0 50px 0 16px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: #2d3748;
    font-weight: 400;
}

.search-input::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    background: #667eea;
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 0 8px 8px 0;
}

.search-btn:hover {
    background: #5a67d8;
}

/* 用户操作区域 */
.user-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 50px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    height: 40px;
}

.user-info .welcome-text {
    color: #718096;
}

.user-info .username {
    color: #667eea;
    font-weight: 600;
}

.profile-btn, .logout-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-btn:hover, .logout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.login-btn, .register-btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn {
    color: #667eea;
    background: transparent;
    border-color: #667eea;
}

.login-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.register-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.register-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Banner轮播图 */
.banner-section {
    position: relative;
    height: 450px;
    overflow: hidden;
    margin-top: 0;
}

.banner-swiper {
    height: 100%;
}

.banner-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Banner背景图片样式 */
.banner-slide-1,
.banner-slide-2, 
.banner-slide-3 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* 增强遮罩效果，确保文字可读性 */
.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.2) 50%, 
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 600px;
    padding: 0 20px;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.5);
    background: linear-gradient(135deg, #ff5252, #d32f2f);
}

/* Swiper样式覆盖 */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.3);
}

.swiper-button-next, .swiper-button-prev {
    color: white;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/* 叉车资讯区块 */
.news-section {
    background: #fff;
    padding: 60px 0;
}

.news-section .section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    overflow: hidden;
}

.news-section .section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsgrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23newsgrid)"/></svg>');
    opacity: 0.3;
}

.news-section .section-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-right 6s ease-in-out infinite;
}

@keyframes float-right {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.news-section .section-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.news-section .section-title i {
    font-size: 32px;
    color: #ffd700;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.4));
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.4));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.6));
    }
}

.section-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-desc::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.news-section .section-title::after {
    display: none;
}

.news-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 上方资讯区域 */
.news-featured {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.featured-header {
    grid-column: 1 / -1;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.featured-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-title i {
    color: #ff6b6b;
    font-size: 18px;
}

/* 特色文章 */
.featured-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.featured-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-main:hover .featured-image img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 20px;
    color: white;
}

.featured-tag {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.featured-article-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* 右侧信息区域 */
.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 标签 */
.hot-tags {
    background: white;
    border-radius: 8px;
    padding: 18px;
    border: 1px solid #e2e8f0;
}

.tags-header {
    margin-bottom: 14px;
}

.tags-title {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #eef2ff;
    color: #667eea;
    padding: 6px 12px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag-item:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 统计数据 */
.news-stats {
    background: white;
    border-radius: 8px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 6px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* 右侧新闻列表 */
.news-list {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.news-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.news-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: #5a67d8;
}

.news-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
    color: #667eea;
}

.news-summary {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 12px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #94a3b8;
}

.news-date {
    color: #64748b;
    font-weight: 500;
}

.news-category {
    background: #eef2ff;
    color: #667eea;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

/* 更多按钮 */
.more-news-wrapper {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.more-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-news-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.more-news-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.more-news-btn:hover i {
    transform: translateX(2px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-section {
        padding: 50px 0;
    }
    
    .news-wrapper {
        gap: 25px;
    }
    
    .news-featured {
        gap: 25px;
        padding: 20px;
    }
    
    .featured-image {
        height: 200px;
    }
    
    .news-list {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }
    
    .news-section .section-title {
        font-size: 24px;
    }
    
    .news-wrapper {
        gap: 20px;
    }
    
    .news-featured {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 18px;
    }
    
    .featured-title {
        font-size: 18px;
    }
    
    .featured-image {
        height: 180px;
    }
    
    .featured-article-title {
        font-size: 16px;
    }
    
    .featured-sidebar {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        display: grid;
        gap: 15px;
    }
    
    .hot-tags,
    .news-stats {
        padding: 15px;
    }
    
    .tags-title {
        font-size: 14px;
    }
    
    .tag-item {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .news-list {
        padding: 20px;
    }
    
    .news-items {
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .news-item {
        padding: 16px;
    }
    
    .news-item-title {
        font-size: 15px;
    }
    
    .news-summary {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 30px 0;
    }
    
    .news-section .section-title {
        font-size: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .news-wrapper {
        gap: 16px;
    }
    
    .news-featured {
        padding: 16px;
        gap: 16px;
    }
    
    .featured-title {
        font-size: 16px;
    }
    
    .featured-title i {
        font-size: 16px;
    }
    
    .featured-image {
        height: 160px;
    }
    
    .featured-overlay {
        padding: 30px 16px 16px;
    }
    
    .featured-tag {
        padding: 4px 8px;
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .featured-article-title {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .featured-sidebar {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .hot-tags,
    .news-stats {
        padding: 12px;
    }
    
    .tags-title {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .tags-list {
        gap: 6px;
    }
    
    .tag-item {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 14px;
    }
    
    .news-stats {
        gap: 12px;
    }
    
    .stat-item {
        padding: 8px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .news-list {
        padding: 16px;
    }
    
    .news-items {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .news-item {
        padding: 12px;
    }
    
    .news-item-title {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .news-summary {
        font-size: 12px;
        margin-bottom: 10px;
        -webkit-line-clamp: 1;
    }
    
    .news-meta {
        font-size: 11px;
        gap: 12px;
    }
    
    .news-category {
        padding: 1px 6px;
        font-size: 10px;
    }
    
    .more-news-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* 通用区域样式 */
section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}



.more-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #e4393c;
}

.more-link i {
    margin-left: 4px;
    font-size: 12px;
}

/* 商品容器 */
.products-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 京东风格商品卡片 */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #e4393c;
}

/* 商品图片区域 */
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #f9f9f9;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.02);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 48px;
    background: #f5f5f5;
}

/* 商品信息区域 */
.product-info {
    padding: 12px;
}

/* 商品名称 */
.product-name {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 400;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: #e4393c;
}

/* 价格区域 */
.product-price-section {
    margin-bottom: 8px;
}

/* 商品价格区域特殊样式 */
.products-container .product-price-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
}

/* 优化价格项目布局 */
.price-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

/* 现代化价格显示样式 */
.price-item .price-label,
.products-grid .price-item .price-label {
    font-size: 11px;
    color: #868e96;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-item .retail-price,
.products-grid .price-item .retail-price {
    font-size: 16px;
    color: #e4393c;
    font-weight: 600;
}

.price-item .discount-price,
.products-grid .price-item .discount-price {
    font-size: 16px;
    color: #ff4757;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 71, 87, 0.1);
}

/* 优化价格区域背景 */
.product-price,
.products-grid .product-price {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 优化批发价按钮 */
.wholesale-price-btn,
.products-grid .wholesale-price-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wholesale-price-btn:hover,
.products-grid .wholesale-price-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
}

.wholesale-hint,
.products-grid .wholesale-hint {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: #6c757d;
    text-align: center;
}

.products-container .product-price-section .price-row {
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

.products-container .product-price-section .price-row:last-of-type {
    margin-bottom: 8px;
}

.products-container .price-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    display: inline-block;
    margin-right: 8px;
}

.products-container .retail-price {
    color: #e4393c;
    font-size: 16px;
    font-weight: bold;
}

.products-container .discount-price {
    color: #dc3545;
    font-size: 16px;
    font-weight: bold;
}

.products-container .wholesale-price-row {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.products-container .wholesale-price-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.products-container .wholesale-price-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.products-container .wholesale-price-btn i {
    font-size: 11px;
}

.products-container .wholesale-hint {
    display: block;
    font-size: 10px;
    color: #6c757d;
    margin-top: 6px;
    font-style: italic;
}

.current-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 4px;
}

.price-symbol {
    color: #e4393c;
    font-size: 12px;
    font-weight: 400;
    margin-right: 2px;
}

.price-value {
    color: #e4393c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.original-price {
    color: #e4393c;
    font-size: 14px;
    font-weight: 500;
}

/* 商品元信息 */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.category-tag {
    background: #f0f0f0;
    color: #666;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.sales-count {
    color: #999;
}

/* 无商品占位符 */
.no-products-placeholder {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background: white;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.placeholder-content {
    text-align: center;
    color: #999;
}

.placeholder-content i {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.placeholder-content h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #666;
}

.placeholder-content p {
    font-size: 14px;
    margin: 0 0 20px 0;
}

.browse-all-btn {
    display: inline-block;
    background: #e4393c;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.browse-all-btn:hover {
    background: #c73e3a;
    color: white;
}

.browse-all-btn i {
    margin-right: 6px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .products-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
}


    
    .products-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .product-image-wrapper {
        height: 160px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-name {
        font-size: 13px;
        height: 36px;
    }
    
    .price-value {
        font-size: 18px;
    }
    
    /* 商品移动端价格样式优化 */
    .products-container .product-price-section {
        padding: 8px;
        margin-bottom: 8px;
    }
    
    .products-container .price-row {
        display: block;
        margin-bottom: 6px;
        text-align: left;
    }
    
    .products-container .price-label {
        font-size: 10px;
        margin-right: 6px;
    }
    
    .products-container .retail-price {
        font-size: 12px;
    }
    
    .products-container .discount-price {
        font-size: 14px;
    }
    
    .products-container .wholesale-price-btn {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .products-container .wholesale-hint {
        font-size: 8px;
        margin-top: 3px;
    }
}

@media (max-width: 480px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-image-wrapper {
        height: 140px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-name {
        font-size: 12px;
        height: 32px;
    }
    
    .price-value {
        font-size: 16px;
    }
    
    /* 超小屏幕商品价格样式 */
    .products-container .product-price-section {
        padding: 6px;
        margin-bottom: 6px;
    }
    
    .products-container .price-row {
        display: block;
        margin-bottom: 5px;
        text-align: left;
    }
    
    .products-container .price-label {
        font-size: 9px;
        margin-right: 5px;
    }
    
    .products-container .retail-price {
        font-size: 11px;
    }
    
    .products-container .discount-price {
        font-size: 13px;
    }
    
    .products-container .wholesale-price-btn {
        padding: 4px 6px;
        font-size: 9px;
    }
    
    .products-container .wholesale-hint {
        font-size: 7px;
        margin-top: 2px;
    }
}

/* 核心业务区域 - 京东风格 */
.core-services {
    background: #fff;
    padding: 60px 0;
}

.core-services .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.core-services .section-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-services .section-title::after {
    display: none;
}

.section-desc {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* 服务项目容器 */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 服务卡片 */
.service-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #0066cc;
}

.service-item:hover::before {
    background: linear-gradient(90deg, #0066cc, #4285f4);
}

/* FontAwesome 图标通用修复 - 只针对子服务按钮 */
.sub-service-btn .fas::before,
.sub-service-btn .far::before,
.sub-service-btn .fab::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

/* 强制显示子服务按钮的FontAwesome图标 */
.sub-service-btn .fas, 
.sub-service-btn .far, 
.sub-service-btn .fab {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

/* 服务头部 */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

/* 服务图标 - 纯图标样式 */
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    background: linear-gradient(135deg, #0066cc, #4285f4);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    line-height: 1 !important;
}

/* 服务图标内的伪元素居中 */
.service-icon::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: block !important;
    text-align: center !important;
    line-height: 1 !important;
}

/* 不同服务的图标颜色 */
.service-icon.battery {
    background: linear-gradient(135deg, #52c41a, #73d13d);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.service-icon.maintenance {
    background: linear-gradient(135deg, #fa541c, #ff7a45);
    box-shadow: 0 4px 12px rgba(250, 84, 28, 0.3);
}

.service-icon.parts {
    background: linear-gradient(135deg, #722ed1, #9254de);
    box-shadow: 0 4px 12px rgba(114, 46, 209, 0.3);
}


.service-item:hover .service-icon {
    transform: scale(1.1);
}

/* 服务标签 */
.service-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: white;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-badge.hot {
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
}

.service-badge.recommend {
    background: linear-gradient(135deg, #ff9c00, #ffc53d);
}

.service-badge.professional {
    background: linear-gradient(135deg, #1890ff, #40a9ff);
}

.service-badge.complete {
    background: linear-gradient(135deg, #52c41a, #73d13d);
}

/* 服务内容 */
.service-content {
    flex: 1;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.service-item:hover .service-title {
    color: #0066cc;
}

.service-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

/* 特性标签 */
.service-features {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-tag {
    background: #f0f2f5;
    color: #666;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-item:hover .feature-tag {
    background: #e6f7ff;
    color: #0066cc;
}

/* 子服务按钮区域 - 手机端优化 */
.sub-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.sub-service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

.sub-service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.sub-service-btn:active::before {
    left: 100%;
}

.sub-service-btn i {
    font-size: 24px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sub-service-btn:active {
    transform: scale(0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* 不同服务的子按钮手机端样式 */
.service-item[data-service="forklift"] .sub-service-btn {
    border-color: rgba(0, 102, 204, 0.3);
}

.service-item[data-service="forklift"] .sub-service-btn:active {
    background: linear-gradient(135deg, #0066cc, #4285f4);
    border-color: #0066cc;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.service-item[data-service="forklift"] .sub-service-btn i {
    color: #0066cc;
}

.service-item[data-service="forklift"] .sub-service-btn:active i {
    color: white;
    transform: scale(1.2);
}

.service-item[data-service="battery"] .sub-service-btn {
    border-color: rgba(82, 196, 26, 0.3);
}

.service-item[data-service="battery"] .sub-service-btn:active {
    background: linear-gradient(135deg, #52c41a, #73d13d);
    border-color: #52c41a;
    color: white;
    box-shadow: 0 6px 20px rgba(82, 196, 26, 0.4);
}

.service-item[data-service="battery"] .sub-service-btn i {
    color: #52c41a;
}

.service-item[data-service="battery"] .sub-service-btn:active i {
    color: white;
    transform: scale(1.2);
}

.service-item[data-service="maintenance"] .sub-service-btn {
    border-color: rgba(250, 84, 28, 0.3);
}

.service-item[data-service="maintenance"] .sub-service-btn:active {
    background: linear-gradient(135deg, #fa541c, #ff7a45);
    border-color: #fa541c;
    color: white;
    box-shadow: 0 6px 20px rgba(250, 84, 28, 0.4);
}

.service-item[data-service="maintenance"] .sub-service-btn i {
    color: #fa541c;
}

.service-item[data-service="maintenance"] .sub-service-btn:active i {
    color: white;
    transform: scale(1.2);
}

.service-item[data-service="parts"] .sub-service-btn {
    border-color: rgba(114, 46, 209, 0.3);
}

.service-item[data-service="parts"] .sub-service-btn:active {
    background: linear-gradient(135deg, #722ed1, #9254de);
    border-color: #722ed1;
    color: white;
    box-shadow: 0 6px 20px rgba(114, 46, 209, 0.4);
}

.service-item[data-service="parts"] .sub-service-btn i {
    color: #722ed1;
}

.service-item[data-service="parts"] .sub-service-btn:active i {
    color: white;
    transform: scale(1.2);
}

/* 移除桌面端响应式，只保留手机端优化 */
@media (max-width: 768px) {
    .sub-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 16px 0;
    }
    
    .sub-service-btn {
        padding: 14px 10px;
        font-size: 12px;
        min-height: 75px;
        border-radius: 10px;
    }
    
    .sub-service-btn i {
        font-size: 22px;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .sub-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 14px 0;
    }
    
    .sub-service-btn {
        padding: 12px 8px;
        font-size: 11px;
        min-height: 70px;
        border-radius: 8px;
        border-width: 1.5px;
    }
    
    .sub-service-btn i {
        font-size: 20px;
        margin-bottom: 4px;
    }
}

/* 操作区域 */
.service-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    margin-top: auto;
}

.action-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.action-arrow {
    color: #ccc;
    font-size: 12px;
    transition: all 0.3s ease;
}

.service-item:hover .action-text {
    color: #0066cc;
}

.service-item:hover .action-arrow {
    color: #0066cc;
    transform: translateX(4px);
}

.service-item:hover .service-action {
    border-top-color: #e6f7ff;
}

/* 特定服务项目的悬停效果 */
.service-item[data-service="forklift"]:hover .service-icon {
    background: linear-gradient(135deg, #003d82, #0066cc);
}

.service-item[data-service="battery"]:hover .service-icon {
    background: linear-gradient(135deg, #389e0d, #52c41a);
}

.service-item[data-service="maintenance"]:hover .service-icon {
    background: linear-gradient(135deg, #d4380d, #fa541c);
}

.service-item[data-service="parts"]:hover .service-icon {
    background: linear-gradient(135deg, #531dab, #722ed1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .core-services {
        padding: 40px 0;
    }
    
    .core-services .section-header {
        margin-bottom: 30px;
    }
    
    .core-services .section-title {
        font-size: 24px;
    }
    
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-icon::before {
        display: block !important;
        text-align: center !important;
        line-height: 1 !important;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-description {
        font-size: 13px;
    }
    
    .service-badge {
        padding: 3px 8px;
        font-size: 10px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .services-wrapper {
        gap: 16px;
    }
    
    .service-item {
        padding: 16px;
    }
    
    .service-header {
        margin-bottom: 16px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-icon::before {
        display: block !important;
        text-align: center !important;
        line-height: 1 !important;
    }
    
    .service-title {
        font-size: 16px;
    }
    
    .service-features {
        margin-bottom: 16px;
    }
    
    .feature-tag {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .service-badge {
        padding: 2px 6px;
        font-size: 9px;
        border-radius: 8px;
        min-width: 28px;
        text-align: center;
    }
}

/* 关于我们区域 - 京东手机端风格 */
.about-us {
    background: #f5f5f5;
    padding: 50px 0;
}

.about-us .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-us .section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-us .section-title::after {
    display: none;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 公司简介卡片 */
.intro-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
}

.intro-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #4285f4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.company-logo i {
    font-size: 28px;
    color: white;
}

.company-info {
    flex: 1;
}

.company-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px 0;
}

.company-tagline {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.intro-description {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.intro-description p {
    margin: 0;
}

/* 核心优势区域 */
.advantages-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
}

.advantages-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.advantage-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f0f7ff, #e6f4ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 18px;
    color: #0066cc;
}

.advantage-content h5 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
}

.advantage-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* 服务数据区域 */
.stats-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
}

.stats-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa, #f1f3f4);
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 6px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* 联系我们卡片 */
.contact-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
}

.contact-header {
    margin-bottom: 20px;
}

.contact-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.method-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0066cc, #4285f4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 联系方式图标修复 */
.method-icon i {
    font-size: 18px;
    color: white;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
}

.method-icon i::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

.method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.method-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.method-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.method-action {
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-action:hover {
    background: #0066cc;
    border-color: #0066cc;
    color: white;
}

.method-action i {
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.method-action:hover i {
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-us {
        padding: 40px 0;
    }
    
    .about-us .section-header {
        margin-bottom: 30px;
    }
    
    .about-us .section-title {
        font-size: 22px;
    }
    
    .about-content {
        gap: 20px;
    }
    
    .intro-card,
    .advantages-section,
    .stats-section,
    .contact-card {
        padding: 20px;
    }
    
    .intro-header {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
    }
    
    .company-logo i {
        font-size: 24px;
    }
    
    .company-name {
        font-size: 18px;
    }
    
    .advantages-title,
    .stats-title,
    .contact-header h4 {
        font-size: 16px;
    }
    
    .advantages-grid,
    .stats-grid {
        gap: 16px;
    }
    
    .contact-methods {
        gap: 12px;
    }
    
    .contact-method {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .about-us {
        padding: 30px 0;
    }
    
    .intro-card,
    .advantages-section,
    .stats-section,
    .contact-card {
        padding: 16px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .stats-grid {
        gap: 12px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .advantage-item {
        gap: 10px;
    }
    
    .advantage-icon {
        width: 36px;
        height: 36px;
    }
    
    .advantage-icon i {
        font-size: 16px;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
    }
    
    .method-icon i {
        font-size: 16px;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
    }
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 3rem;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3748;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-desc {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 15px;
    line-height: 1.5;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #e53e3e;
}

.original-price {
    font-size: 1rem;
    color: #e4393c;
    font-weight: 500;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sales-info {
    font-size: 0.8rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 5px;
}

.buy-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* 公司介绍 */
.company-intro {
    background: white;
    padding: 50px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 40px;
}

.intro-text .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.intro-text .section-title::after {
    left: 0;
    transform: none;
}

.intro-description p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 40px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.3rem;
    color: white;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.feature-content p {
    color: #718096;
    line-height: 1.5;
}

.intro-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 450px;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.intro-image-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-image-fallback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.intro-image-fallback i {
    font-size: 4rem;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.intro-image-fallback p {
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 1;
    position: relative;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 50px 0 25px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footergrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footergrid)"/></svg>');
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* 联系我们区域 - 水平布局 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.contact-item i {
    width: 20px;
    text-align: center;
    color: #667eea;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item span {
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-radius: 6px;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
    padding-left: 15px;
}

.footer-links a:hover::before {
    width: 10px;
}

.social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e0;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100px;
    justify-content: center;
}

.social-link:hover {
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.social-link i {
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.copyright p {
    color: #a0aec0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 17px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4285F4, #0d6efd);
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
    cursor: pointer;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.6);
}

.back-to-top-icon {
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.back-to-top-text {
    display: none;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    margin-top: 1px;
}

.back-to-top:hover .back-to-top-text {
    display: block;
}

/* 智能客服浮动图标 */
.customer-service-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.customer-service-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.customer-service-float .service-icon {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.customer-service-float .service-text {
    display: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.customer-service-float .service-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 5px rgba(255, 71, 87, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .forklift-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .forklift-item {
        height: 350px;
        padding: 35px 25px;
    }
    
    .forklift-image {
        width: 150px;
        height: 150px;
    }
    
    .forklift-image i {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .forklift-showcase {
        padding: 40px 0;
    }
    
    .forklift-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 25px;
        margin-top: 25px;
    }
    
    .forklift-item {
        height: 320px;
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .forklift-image {
        width: 130px;
        height: 130px;
        border-radius: 18px;
    }
    
    .forklift-image i {
        font-size: 3rem;
    }
    
    .forklift-title {
        font-size: 1.2rem;
        margin: 20px 0 12px 0;
        min-height: 60px;
    }
    
    .product-price span {
        font-size: 1.4rem;
    }
    
    .forklift-item:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 480px) {
    .forklift-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .forklift-item {
        height: 290px;
        padding: 25px 15px;
        border-radius: 18px;
    }
    
    .forklift-image {
        width: 110px;
        height: 110px;
        border-radius: 16px;
    }
    
    .forklift-image i {
        font-size: 2.5rem;
    }
    
    .forklift-title {
        font-size: 1.1rem;
        margin: 18px 0 10px 0;
        min-height: 55px;
    }
    
    .product-price span {
        font-size: 1.3rem;
    }
}
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .header-container {
        padding: 12px 15px;
        min-height: 65px;
    }
    
    .logo {
        width: 180px;
        height: 45px;
    }
    
    .logo-fallback .logo-text {
        font-size: 15px;
    }
    
    .search-bar {
        margin: 0 25px;
        max-width: 400px;
    }
    
    .search-input-wrapper {
        height: 38px;
    }
    
    .search-btn {
        width: 38px;
        height: 38px;
        border-radius: 0 6px 6px 0;
    }
    
    .user-actions {
        height: 45px;
    }
    
    .user-info, .login-btn, .register-btn {
        height: 36px;
    }
    
    .banner-title {
        font-size: 2.8rem;
    }
    
    .forklift-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        min-height: 220px;
        padding: 40px 30px;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-text .section-header {
        text-align: center;
    }
    
    .intro-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        padding: 10px 15px;
        min-height: 60px;
    }
    
    .logo {
        width: 160px;
        height: 40px;
    }
    
    .logo-fallback {
        padding: 6px 12px;
        gap: 8px;
    }
    
    .logo-fallback .logo-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .logo-fallback .logo-text {
        font-size: 14px;
    }
    
    .search-bar {
        margin: 0 20px;
        max-width: 300px;
    }
    
    .search-input-wrapper {
        height: 36px;
    }
    
    .search-input {
        font-size: 13px;
        padding: 0 40px 0 14px;
    }
    
    .search-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
        border-radius: 0 6px 6px 0;
    }
    
    .user-actions {
        height: 40px;
    }
    
    .user-info {
        padding: 6px 12px;
        font-size: 13px;
        height: 32px;
    }
    
    .profile-btn, .logout-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .login-btn, .register-btn {
        padding: 8px 16px;
        font-size: 13px;
        height: 32px;
    }
    
    section {
        padding: 30px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .banner-section {
        height: 350px;
    }
    
    .banner-title {
        font-size: 2.2rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .forklift-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 18px;
    }
    
    .forklift-showcase {
        padding: 25px 0;
    }
    
    .forklift-item {
        padding: 20px 15px;
    }
    
    .forklift-image {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .forklift-title {
        font-size: 0.9rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 25px;
        min-height: 160px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .customer-service-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .header-container {
        padding: 8px 10px;
        min-height: 55px;
    }
    
    .logo {
        width: 140px;
        height: 35px;
    }
    
    .logo-fallback {
        padding: 4px 8px;
        gap: 6px;
    }
    
    .logo-fallback .logo-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .logo-fallback .logo-text {
        font-size: 12px;
    }
    
    .search-bar {
        margin: 0 15px;
        max-width: 200px;
    }
    
    .search-input-wrapper {
        height: 32px;
    }
    
    .search-input {
        font-size: 12px;
        padding: 0 36px 0 12px;
    }
    
    .search-btn {
        width: 32px;
        height: 32px;
        font-size: 11px;
        border-radius: 0 6px 6px 0;
    }
    
    .user-actions {
        height: 35px;
        gap: 8px;
    }
    
    .user-info {
        padding: 4px 8px;
        font-size: 11px;
        height: 28px;
        gap: 6px;
    }
    
    .profile-btn, .logout-btn {
        padding: 2px 6px;
        font-size: 9px;
    }
    
    .auth-buttons {
        gap: 6px;
    }
    
    .login-btn, .register-btn {
        padding: 6px 12px;
        font-size: 11px;
        height: 28px;
    }
    
    section {
        padding: 25px 0;
    }
    
    .section-header {
        margin-bottom: 25px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .banner-section {
        height: 280px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .banner-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .forklift-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 15px;
    }
    
    .forklift-showcase {
        padding: 20px 0;
    }
    
    .forklift-item {
        padding: 15px 10px;
    }
    
    .forklift-image {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .forklift-image i {
        font-size: 1.5rem;
    }
    
    .forklift-title {
        font-size: 0.8rem;
    }
    
    .service-card {
        padding: 25px 20px;
        min-height: 140px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .intro-features {
        gap: 20px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-icon {
        align-self: center;
    }
    
    .customer-service-float {
        width: 50px;
        height: 50px;
    }
    
    .service-badge {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }
}

/* 主导航菜单样式 */
.main-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.nav-item {
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 1001;
}

.nav-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 8px 4px;
    position: relative;
}

.nav-title:hover {
    color: #0066cc;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.nav-title i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* 主菜单彩色图标 */
.nav-item[data-category="forklift"] .nav-title i {
    color: #e67e22; /* 橙色 - 叉车 */
}

.nav-item[data-category="battery"] .nav-title i {
    color: #27ae60; /* 绿色 - 电池 */
}

.nav-item[data-category="maintenance"] .nav-title i {
    color: #3498db; /* 蓝色 - 维修 */
}

.nav-item[data-category="parts"] .nav-title i {
    color: #9b59b6; /* 紫色 - 配件 */
}

.nav-title:hover i {
    transform: scale(1.1);
}

/* 子菜单彩色图标样式 */
.nav-sub-icon {
    color: #666 !important;
    transition: all 0.3s ease;
}

/* 叉车业务子菜单图标 */
.nav-item[data-category="forklift"] .nav-sub-item:nth-child(1) .nav-sub-icon {
    color: #e74c3c !important; /* 红色 - 销售 */
}

.nav-item[data-category="forklift"] .nav-sub-item:nth-child(2) .nav-sub-icon {
    color: #f39c12 !important; /* 橙色 - 租赁 */
}

.nav-item[data-category="forklift"] .nav-sub-item:nth-child(3) .nav-sub-icon {
    color: #3498db !important; /* 蓝色 - 代购 */
}

/* 电池业务子菜单图标 */
.nav-item[data-category="battery"] .nav-sub-item:nth-child(1) .nav-sub-icon {
    color: #f1c40f !important; /* 黄色 - 电池销售 (闪电图标) */
}

.nav-item[data-category="battery"] .nav-sub-item:nth-child(2) .nav-sub-icon {
    color: #1abc9c !important; /* 青色 - 电池租赁 */
}

/* 维修保养子菜单图标 */
.nav-item[data-category="maintenance"] .nav-sub-item:nth-child(1) .nav-sub-icon {
    color: #e74c3c !important; /* 红色 - 报修 */
}

.nav-item[data-category="maintenance"] .nav-sub-item:nth-child(2) .nav-sub-icon {
    color: #3498db !important; /* 蓝色 - 保养 */
}

/* 配件供应子菜单图标 */
.nav-item[data-category="parts"] .nav-sub-item:nth-child(1) .nav-sub-icon {
    color: #9b59b6 !important; /* 紫色 - 订购 */
}

.nav-item[data-category="parts"] .nav-sub-item:nth-child(2) .nav-sub-icon {
    color: #27ae60 !important; /* 绿色 - 直采 (快递图标) */
}

/* 悬停效果 */
.nav-sub-item:hover .nav-sub-icon {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* 下拉菜单样式 */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    white-space: nowrap;
}

/* 悬停显示下拉菜单 */
.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 点击激活状态显示下拉菜单 */
.nav-item.active .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 激活状态的主菜单样式 */
.nav-item.active .nav-title {
    color: #0066cc;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.nav-sub-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 8px;
}

.nav-sub-item:hover {
    color: #0066cc;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
    transform: translateX(4px);
}

.nav-sub-item i {
    font-size: 14px;
    width: 16px;
    transition: all 0.3s ease;
}

/* 简化资讯区块样式 */
.news-section-compact {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 0;
    margin: 20px 0;
}

.news-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.news-title-compact {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-title-compact i {
    color: #0066cc;
    font-size: 20px;
}

.more-news-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.more-news-link:hover {
    color: #004499;
}

.news-list-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.news-item-compact {
    background: white;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #0066cc;
}

.news-content-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-title-text {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-date-compact {
    font-size: 12px;
    color: #718096;
}

.news-category-compact {
    font-size: 12px;
    background: linear-gradient(135deg, #0066cc, #4299e1);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .news-section-compact {
        padding: 30px 0;
        margin: 15px 0;
    }
    
    .news-header-compact {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .news-list-compact {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .news-item-compact {
        padding: 14px;
    }
    
    .news-title-text {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .main-nav {
        position: relative;
        z-index: 1000;
    }
    
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 16px;
        flex-wrap: nowrap;
        overflow: visible;
        max-width: 100%;
    }
    
    .nav-item {
        flex: 1;
        min-width: 70px;
        margin: 0 1px;
        z-index: 1001;
    }
    
    .nav-title {
        padding: 10px 6px;
        font-size: 12px;
        margin: 4px 1px;
        white-space: nowrap;
    }
    
    .nav-title i {
        font-size: 14px;
    }
    
    .nav-dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 140px;
        font-size: 12px;
        z-index: 1002;
        max-width: 160px;
    }
    
    .nav-item:hover .nav-dropdown,
    .nav-item.active .nav-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-sub-item {
        padding: 8px 12px;
        font-size: 12px;
        margin: 2px 4px;
        border-radius: 6px;
        white-space: nowrap;
    }
}

/* 简洁清晰的价格展示 */
.product-price-section,
.product-price {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

/* 价格行布局 */
.product-price-section .price-row,
.product-price .price-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    gap: 8px;
}

.product-price-section .price-row:last-of-type,
.product-price .price-row:last-of-type {
    margin-bottom: 8px;
}

/* 价格标签 */
.price-label {
    font-size: 12px;
    color: #666;
    min-width: 50px;
    font-weight: normal;
}

/* 零售价 */
.retail-price {
    color: #e4393c;
    font-size: 16px;
    font-weight: bold;
}

/* 优惠价 */
.discount-price {
    color: #ff4757;
    font-size: 16px;
    font-weight: bold;
}

/* 批发价区域 */
.wholesale-price-row {
    text-align: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

/* 批发价按钮 */
.wholesale-price-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.wholesale-price-btn:hover {
    background: #0056b3;
}

.wholesale-price-btn i {
    margin-right: 4px;
}

/* 批发价提示 */
.wholesale-hint {
    display: block;
    font-size: 10px;
    color: #999;
    margin-top: 4px;
}

/* 模态框样式 */
.modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 25px 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.close {
    color: #999;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close:hover {
    color: #666;
}

.modal-body {
    padding: 20px 25px;
}

.wholesale-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #2196f3;
}

.wholesale-info i {
    color: #2196f3;
    margin-right: 8px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-footer {
    padding: 15px 25px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-secondary,
.btn-primary {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #666;
}

.btn-secondary:hover {
    background-color: #e9e9e9;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
/* 手机端专用价格布局 - 垂直显示 */
@media (max-width: 768px) {
    .product-price-section,
    .product-price {
        padding: 12px;
        margin-bottom: 10px;
        background: #fafafa;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
    }
    
    /* 强制垂直布局 */
    .product-price .price-row,
    .products-grid .product-price .price-row {
        display: block !important;
        margin-bottom: 8px;
        text-align: left;
    }
    
    /* 优化价格项目在手机端的显示 */
    .price-item,
    .products-grid .price-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        margin-bottom: 6px;
    }
    
    .price-label {
        display: block;
        font-size: 11px;
        color: #666;
        margin-bottom: 2px;
        font-weight: normal;
    }
    
    .retail-price {
        display: block;
        color: #e4393c;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 4px;
    }
    
    .discount-price {
        display: block;
        color: #ff4757;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 8px;
    }
    
    .wholesale-price-row {
        text-align: center;
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px solid #e0e0e0;
    }
    
    .wholesale-price-btn,
    .products-grid .wholesale-price-btn {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: white;
        border: none;
        padding: 10px 16px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        display: block;
        width: 100%;
        margin-bottom: 6px;
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.25);
        transition: all 0.3s ease;
    }
    
    .wholesale-price-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
    }
    
    .wholesale-hint {
        display: block;
        font-size: 10px;
        color: #999;
        text-align: center;
    }
}

/* 推荐商品分页控件样式 */
.recommended-pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.recommended-pagination-container .pagination-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.recommended-pagination-container .pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.recommended-pagination-container .pagination-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.recommended-pagination-container .pagination-btn:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #adb5bd;
}

.recommended-pagination-container .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.recommended-pagination-container .page-numbers {
    display: flex;
    gap: 5px;
}

.recommended-pagination-container .page-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.recommended-pagination-container .page-number:hover {
    background: #e9ecef;
}

.recommended-pagination-container .page-number.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.recommended-pagination-container .page-info {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* 响应式分页样式 */
@media (max-width: 768px) {
    .recommended-pagination-container {
        padding: 15px;
        margin-top: 20px;
    }
    
    .recommended-pagination-container .pagination-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .recommended-pagination-container .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .recommended-pagination-container .pagination-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .recommended-pagination-container .page-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}