/* 
 * 中国商用车网 - 导购资讯门户统一样式表
 * 风格：重工业感、专业导购、力量感
 * 配色：#004a99 (商用车蓝), #ff6600 (价格/高亮橙), #2d2d2d (钢铁灰), #f4f7f9 (背景)
 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: #2d2d2d; line-height: 1.6; background: #f4f7f9; }
a { text-decoration: none; color: #2d2d2d; transition: 0.3s; }
a:hover { color: #004a99; }
ul { list-style: none; }

.container { width: 1200px; margin: 0 auto; }

/* 头部 */
.header-top { background: #f8f9fa; border-bottom: 1px solid #e9ecef; padding: 8px 0; font-size: 12px; color: #6c757d; }
.header-top .container { background: transparent; box-shadow: none; }
.header-main { background: #fff; padding: 25px 0; border-bottom: 1px solid #f1f1f1; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; background: transparent; box-shadow: none; }
.logo h1 { font-size: 34px; color: #004a99; font-weight: 900; letter-spacing: -2px; display: flex; align-items: center; }
.logo h1 a { color: #004a99; }
.logo h1::after { content: "COMMERCIAL"; font-size: 10px; background: #004a99; color: #fff; padding: 2px 6px; margin-left: 12px; border-radius: 3px; vertical-align: middle; font-weight: 800; letter-spacing: 1px; font-family: Arial; }

/* 导航 */
.nav-wrap { background: #004a99; border-bottom: 4px solid #003366; }
.nav-wrap .container { background: transparent; box-shadow: none; }
.nav { display: flex; height: 50px; }
.nav li a { display: block; padding: 0 30px; line-height: 50px; color: #fff !important; font-size: 16px; font-weight: bold; }
.nav li a:hover, .nav li.active a { background: #003366; box-shadow: inset 0 -4px 0 #ff6600; color: #fff !important; }

/* 导购分类栏 */
.guide-bar { background: #fff; margin: 20px 0; padding: 25px 0; border: 1px solid #dee2e6; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.guide-flex { display: flex; justify-content: space-around; align-items: center; }
.guide-item { text-align: center; border-right: 1px solid #eee; flex: 1; transition: 0.3s; padding: 10px 0; }
.guide-item:hover { background: #f8f9fa; }
.guide-item:last-child { border-right: none; }
.guide-item span { display: block; font-size: 20px; font-weight: 800; color: #004a99; margin-bottom: 5px; }
.guide-item p { font-size: 11px; color: #adb5bd; text-transform: uppercase; letter-spacing: 1px; }

/* 首页布局 */
.index-grid { display: grid; grid-template-columns: 880px 300px; gap: 20px; margin-bottom: 40px; }

/* 车型卡片 */
.truck-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.truck-card { background: #fff; border: 1px solid #eee; transition: 0.3s; position: relative; }
.truck-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: #004a99; }
.truck-img { height: 160px; overflow: hidden; background: #f8f9fa; }
.truck-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.truck-info { padding: 15px; }
.truck-info h3 { font-size: 15px; height: 44px; overflow: hidden; margin-bottom: 10px; line-height: 1.4; }
.truck-price { color: #ff6600; font-size: 18px; font-weight: 900; }
.truck-price span { font-size: 12px; font-weight: normal; margin-left: 5px; }

/* 侧边栏排行 */
.side-rank { background: #fff; border: 1px solid #dee2e6; }
.side-title { padding: 15px; border-bottom: 2px solid #004a99; font-weight: 800; font-size: 16px; display: flex; justify-content: space-between; }
.rank-list { padding: 10px 15px; }
.rank-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px dashed #eee; }
.rank-num { width: 20px; height: 20px; background: #eee; text-align: center; line-height: 20px; font-size: 12px; margin-right: 10px; }
.rank-item:nth-child(-n+3) .rank-num { background: #ff6600; color: #fff; }

/* 面包屑 */
.breadcrumb { font-size: 13px; color: #6c757d; margin: 20px 0; padding: 10px 15px; background: #fff; border-radius: 4px; border: 1px solid #eee; }
.breadcrumb a { color: #004a99; margin: 0 5px; }
.breadcrumb span { margin: 0 5px; color: #dee2e6; }

/* 内容页优化 */
.article-wrap { background: #fff; padding: 50px; border-radius: 4px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.spec-table { width: 100%; border-collapse: collapse; margin: 30px 0; }
.spec-table td { border: 1px solid #eee; padding: 12px 15px; }
.spec-table td.label { background: #f8f9fa; width: 120px; color: #666; font-weight: bold; }

/* 分页 */
.pagination { margin: 40px 0; text-align: center; }
.pagination ul { display: inline-flex; }
.pagination li { margin: 0 3px; }
.pagination li a { display: block; padding: 8px 15px; background: #fff; border: 1px solid #dee2e6; border-radius: 3px; }
.pagination li.thisclass a { background: #004a99; color: #fff; border-color: #004a99; }

/* 页脚 */
.footer { background: #2d2d2d; color: #adb5bd; padding: 60px 0 40px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; margin-bottom: 25px; }
.footer-links a { color: #adb5bd; display: block; margin-bottom: 10px; font-size: 13px; }
.footer-bottom { border-top: 1px solid #3d3d3d; margin-top: 40px; padding-top: 30px; text-align: center; font-size: 12px; }
