/*
Theme Name: Shacman Group Style
Theme URI: https://example.com/
Author: Your Company
Author URI: https://example.com/
Description: Heavy-duty truck export website theme, SHACMAN GROUP style. Homepage + Trucks/Models/Video/Service/News/About/Contact templates. News via WordPress posts. Contact info editable in Customizer.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shacman-style
Tags: business, one-column, custom-logo, custom-menu, featured-images
*/

/* ============================================================
   SHACMAN GROUP 风格独立站 — 静态预览版
   设计系统: 主蓝 #0061ac | 深蓝 #002052/#003c72/#003267 | 红 #ED1B24
   字体: Montserrat + Impact
   ============================================================ */
:root {
  --blue: #0061ac;
  --blue-dark: #003c72;
  --navy: #002052;
  --red: #ed1b24;
  --footer-bg: #252728;
  --light: #f9f9f9;
  --text: #333;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { width: 100%; margin: 0 auto; font-family: 'Montserrat', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif; font-size: 16px; color: var(--text); line-height: 1.6; background: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
.container { max-width: 1920px; margin: 0 auto; padding: 0 120px; }
/* ---------- 工具类 ---------- */
.flex { display: flex; }
.flex-1 { flex: 1; }
.flex-pack-justify { justify-content: space-between; }
.flex-pack-center { justify-content: center; }
.flex-align-center { align-items: center; }
.flex-warp { flex-wrap: wrap; }
.te_c { text-align: center; }
.text-uppercase { text-transform: uppercase; }
.di_bl { display: block; }
.p_r { position: relative; }
.fo_we { font-weight: 600; }
.ellipsis-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ellipsis-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 头部（悬浮于 banner 上） ---------- */
.header { position: absolute; left: 0; top: 0; width: 100%; z-index: 999; }
.header .logo { margin-right: 30px; height: 80px; display: flex; align-items: center; }
.header .logo img { height: 56px; }
.nav-con { height: 80px; }
.nav li { position: relative; margin-right: 14px; }
.nav li:last-child { margin-right: 0; }
.nav li > a { display: inline-block; font-size: 16px; line-height: 80px; color: #fff; font-weight: 500; padding: 0 10px; position: relative; transition: color .2s; }
.nav li > a::after {
  content: ''; position: absolute; right: 0; top: 50%; width: 7px; height: 7px;
  border-right: 1px solid #fff; border-bottom: 1px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.nav li.home > a::after { display: none; }
.nav li > a:hover { color: #8cb8da; }
.nav .drop {
  position: absolute; left: 50%; top: 70px; min-width: 300px; background: #fff; color: #333;
  padding: 20px 30px; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.18);
  transform: translateX(-50%) rotateX(90deg); transform-origin: top; opacity: 0;
  transition: transform .25s linear, opacity .25s linear; z-index: 9; line-height: 2;
}
.nav li:hover .drop { transform: translateX(-50%) rotateX(0); opacity: 1; }
.nav .drop .subnav { width: 200px; }
.nav .drop .subnav a { display: block; font-size: 15px; color: #333; padding: 4px 0; }
.nav .drop .subnav a:hover, .nav .drop .subnav a.on { color: var(--blue); }
.nav .drop .pic { display: block; overflow: hidden; }
.nav .drop .pic img { width: 240px; border-radius: 6px; }
.nav .drop .title { font-weight: 700; font-size: 16px; color: var(--blue-dark); text-transform: uppercase; margin-bottom: 8px; }
.nav .drop .more { margin-top: 8px; }
.nav .drop .more a { color: var(--blue); font-weight: 600; font-size: 14px; }
/* 移动端导航（桌面默认隐藏） */
.nav-mobile { display: none; }
.menu-btn { display: none; background: none; border: none; width: 40px; height: 40px; cursor: pointer; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); font-size: 26px; color: #fff; z-index: 20; }

/* ---------- Banner 轮播 ---------- */
.banner { position: relative; }
.banner .swiper-track { display: flex; }
.banner .swiper-slide { min-width: 100%; }
.pc_banner .swiper-slide { width: 100%; }
.pc_banner .swiper-slide img, .pc_banner .swiper-slide video { width: 100%; height: auto; display: block; }
.swiper-pagination { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 10; }
.swiper-pagination span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .3s; }
.swiper-pagination span.on { background: #fff; }
.mb_banner { display: none; }

/* ---------- 区块通用标题 ---------- */
.home-title { font-size: 40px; font-weight: 800; line-height: 1.2; text-align: center; color: #111; text-transform: uppercase; }
.section-title { font-size: 34px; font-weight: 800; text-transform: uppercase; color: #111; }

/* ---------- home-about ---------- */
.home-about { margin-top: 56px; }
.home-about .title { font-size: 34px; font-weight: 800; text-align: center; text-transform: uppercase; color: #111; }
.home-about .des { font-weight: 300; font-size: 16px; margin-top: 20px; text-align: center; line-height: 1.7; color: #555; }
.home-about .content { display: flex; justify-content: space-between; flex-wrap: wrap; margin-top: 36px; gap: 24px; }
.home-about .item { width: calc(33.33% - 16px); display: block; transition: transform .3s; }
.home-about .item:hover { transform: translateY(-6px); }
.home-about .pic { overflow: hidden; }
.home-about .pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.home-about .text-con { margin-top: 14px; }
.home-about .tit { font-size: 20px; font-weight: 700; text-transform: uppercase; color: #111; }
.home-about .text { font-size: 14px; color: #666; margin-top: 6px; }
.home-more { margin-top: 32px; display: flex; justify-content: flex-end; }
.home-more a { color: var(--blue); font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

/* ---------- home-pro 模型 ---------- */
.home-pro { margin-top: 64px; }
.home-pro .content { margin-top: 36px; position: relative; }
.home-pro .swiper-track { display: flex; overflow: hidden; }
.home-pro .swiper-slide { min-width: 100%; display: flex; gap: 20px; }
.home-pro .con { width: 46%; }
.home-pro .con a { display: block; margin-bottom: 20px; transition: opacity .2s; }
.home-pro .pic { overflow: hidden; }
.home-pro .pic img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s; }
.home-pro .con a:hover .pic img, .home-pro .play-con:hover .pic img { transform: scale(1.04); }
.home-pro .tit { font-size: 20px; font-weight: 800; text-transform: uppercase; color: #111; margin-top: 12px; }
.home-pro .txt { font-size: 14px; color: #666; margin-top: 4px; }
.home-pro .play-con { flex: 1; position: relative; }
.home-pro .play-con .pic { position: relative; cursor: pointer; }
.home-pro .play-con .pic::after {
  content: '▶'; position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; padding-left: 6px;
}
.home-pro .swiper-nav { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
.home-pro .swiper-nav button, .home-video .swiper-nav button, .home-news .swiper-nav button {
  width: 44px; height: 44px; border: 1px solid #ddd; background: #fff; font-size: 20px; cursor: pointer; color: var(--blue); transition: all .2s; border-radius: 4px;
}
.home-pro .swiper-nav button:hover, .home-video .swiper-nav button:hover, .home-news .swiper-nav button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- home-news ---------- */
.home-news { margin-top: 90px; padding-left: 60px; overflow: hidden; }
.home-news .txt-con { display: flex; align-items: center; margin-top: 18px; }
.home-news .txt { color: #777; font-size: 15px; }
.home-news .content { margin-top: 30px; position: relative; }
.home-news .swiper-track { display: flex; overflow: hidden; gap: 16px; }
.home-news .swiper-slide { min-width: calc(25% - 18px); display: block; }
.home-news .pic { overflow: hidden; }
.home-news .pic img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.home-news .swiper-slide:hover .pic img { transform: scale(1.05); }
.home-news .date { font-size: 13px; color: #999; text-transform: uppercase; margin-top: 14px; letter-spacing: 1px; }
.home-news .tit { font-size: 15px; font-weight: 600; line-height: 1.5; color: #222; margin-top: 6px; text-transform: none; }
.home-news .tit .ellipsis-3 { -webkit-line-clamp: 2; }
.home-news .swiper-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; padding-right: 60px; }

/* ---------- home-video ---------- */
.home-video { background: var(--light); padding: 64px 0; margin-top: 120px; }
.home-video .container { position: relative; }
.home-video .title { font-size: 32px; font-weight: 800; text-transform: uppercase; color: #111; }
.home-video .des { color: #777; margin-top: 8px; }
.home-video .content { margin-top: 30px; position: relative; }
.home-video .swiper-track { display: flex; overflow: hidden; gap: 16px; }
.home-video .swiper-slide { min-width: calc(20% - 16px); }
.home-video .pic { position: relative; cursor: pointer; overflow: hidden; }
.home-video .pic img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.home-video .pic::after {
  content: '▶'; position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; padding-left: 4px;
}
.home-video .sub { font-size: 13px; color: var(--blue); font-weight: 700; margin-top: 12px; text-transform: uppercase; }
.home-video .tit { font-size: 15px; font-weight: 600; color: #222; margin-top: 4px; line-height: 1.5; }
.home-video .more { color: #999; font-size: 13px; margin-top: 8px; align-items: center; gap: 6px; }
.home-video .more:hover { color: var(--blue); }
.home-video .swiper-nav { display: flex; gap: 10px; position: absolute; top: 0; right: 120px; }

/* ---------- home-hot ---------- */
.home-hot { margin-top: 80px; padding-bottom: 40px; }
.home-hot .content { display: flex; flex-wrap: wrap; margin-top: 40px; }
.home-hot .item { width: calc(20% - 24px); margin: 0 12px 40px; display: block; }
.home-hot .item:nth-child(n+6) { margin-bottom: 0; }
.home-hot .pic { display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border: 1px solid #f0f0f0; }
.home-hot .pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.home-hot .item:hover .pic img { transform: scale(1.05); }
.home-hot .tit { font-size: 18px; font-weight: 700; line-height: 1.3; margin-top: 18px; color: #111; }
.home-hot .txt { font-size: 13px; color: #999; margin-top: 4px; }

/* ---------- CTA ---------- */
.pub-Qa { background: linear-gradient(90deg, #002052, #003c72, #002052); padding: 48px 0; color: #fff; text-align: center; margin-top: 72px; }
.pub-Qa .title { font-size: 28px; font-weight: 800; }
.pub-Qa .text { font-size: 15px; margin-top: 14px; opacity: .9; }
.pub-Qa .more { margin-top: 26px; justify-content: center; }
.pub-Qa .more a { display: inline-block; border: 2px solid #fff; color: #fff; font-weight: 600; font-size: 15px; padding: 10px 44px; border-radius: 30px; transition: all .25s; }
.pub-Qa .more a:hover { background: #fff; color: var(--blue-dark); }

/* ---------- 页脚 ---------- */
.footer { background: var(--footer-bg); padding: 48px 0; color: #fff; }
.f-nav { display: flex; flex-wrap: wrap; justify-content: space-between; }
.f-nav .item { width: 13%; min-width: 150px; }
.f-nav .tit { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.f-nav .tit a:hover { color: #8cb8da; }
.f-nav .sub a { display: block; font-size: 13px; color: #aab; padding: 4px 0; }
.f-nav .sub a:hover { color: #fff; }
.f-info { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); align-items: center; }
.f-info .logo { display: flex; justify-content: center; }
.f-info .logo img { height: 40px; filter: brightness(0) invert(1); }
.f-info .copyright { margin-top: 14px; font-size: 13px; color: #8a8f99; text-align: center; }

/* ---------- 悬浮客服 ---------- */
.kefu { position: fixed; right: 20px; bottom: 90px; z-index: 999; }
.kefu .item { height: 52px; border-radius: 30px; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px 0 12px; box-shadow: 0 6px 20px rgba(0,0,0,.28); margin-top: 12px; transition: transform .2s; font-weight: 700; font-size: 15px; white-space: nowrap; }
.kefu .item:hover { transform: scale(1.06); }
.kefu .item:hover { transform: scale(1.08); }
.kefu svg { width: 26px; height: 26px; }

/* ---------- 视频弹层 ---------- */
.video-mask { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 3000; display: none; align-items: center; justify-content: center; }
.video-mask.show { display: flex; }
.video-mask video { max-width: 90vw; max-height: 80vh; outline: none; }
.video-mask .vclose { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 40px; cursor: pointer; background: none; border: none; }

/* ---------- 页面横幅（子页） ---------- */
.page-banner { position: relative; color: #fff; }
.page-banner img { width: 100%; aspect-ratio: 21/7; object-fit: cover; }
.page-banner .cap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,32,82,.45); }
.page-banner h1 { font-family: Impact, 'Montserrat', sans-serif; font-size: 52px; letter-spacing: 4px; text-transform: uppercase; }
.page-banner .crumb { margin-top: 10px; font-size: 14px; opacity: .9; }
.page-banner .crumb a:hover { text-decoration: underline; }

/* ---------- 内容页通用 ---------- */
.page-section { padding: 64px 0; }
.page-section .container { max-width: 1600px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 36px; }
.cat-card { border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; transition: transform .3s, box-shadow .3s; background: #fff; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(0,0,0,.12); }
.cat-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cat-card .bd { padding: 16px 20px 20px; }
.cat-card h3 { font-size: 17px; font-weight: 700; color: #111; }
.cat-card p { font-size: 13px; color: #777; margin-top: 6px; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.model-card { border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; transition: transform .3s, box-shadow .3s; background: #fff; }
.model-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(0,0,0,.12); }
.model-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.model-card .bd { padding: 18px 22px; }
.model-card h3 { font-size: 18px; font-weight: 800; color: #111; }
.model-card p { font-size: 13px; color: #777; margin-top: 6px; }
.news-page-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 36px; }
.news-page-item { border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; transition: box-shadow .3s; background: #fff; }
.news-page-item:hover { box-shadow: 0 14px 36px rgba(0,0,0,.12); }
.news-page-item img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.news-page-item .bd { padding: 20px 24px 24px; }
.news-page-item .date { color: #999; font-size: 13px; }
.news-page-item h3 { font-size: 18px; margin-top: 8px; }
.news-page-item p { color: #777; font-size: 14px; margin-top: 8px; }
.video-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.video-page-item { border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; }
.video-page-item .pic { position: relative; }
.video-page-item .pic::after { content: '▶'; position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; padding-left: 5px; }
.video-page-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.video-page-item .bd { padding: 16px 20px; }
.video-page-item h3 { font-size: 16px; }
.about-page-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 40px; }
.about-page-wrap img { border-radius: 8px; }
.about-page-wrap h3 { font-size: 26px; color: var(--blue-dark); margin-bottom: 16px; }
.about-page-wrap p { color: #555; margin-bottom: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.service-card { text-align: center; border: 1px solid #f0f0f0; border-radius: 10px; padding: 36px 26px; background: #fff; transition: transform .3s; }
.service-card:hover { transform: translateY(-6px); }
.service-card .ico { font-size: 42px; }
.service-card h3 { font-size: 18px; margin-top: 16px; }
.service-card p { color: #777; font-size: 14px; margin-top: 8px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; margin-top: 40px; }
.contact-info { background: var(--navy); color: #fff; border-radius: 10px; padding: 36px; }
.contact-info h3 { font-size: 22px; margin-bottom: 20px; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 16px; font-size: 15px; }
.contact-info svg { width: 22px; height: 22px; flex-shrink: 0; }
.contact-form { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 36px; }
.contact-form h3 { font-size: 20px; margin-bottom: 18px; color: var(--blue-dark); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 6px; }
.form-group label i { color: var(--red); font-style: normal; }
.form-group input, .form-group textarea { width: 100%; border: 1px solid #ddd; border-radius: 6px; padding: 11px 14px; font-size: 14px; font-family: inherit; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { height: 110px; resize: vertical; }
.form-submit { width: 100%; background: var(--blue); color: #fff; border: none; border-radius: 6px; height: 46px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .25s; }
.form-submit:hover { background: var(--blue-dark); }
.form-tip { font-size: 12px; color: var(--red); margin-top: 6px; display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .container { padding: 0 40px; }
  .home-hot .item { width: calc(25% - 24px); }
  .home-news .swiper-slide { min-width: calc(33.33% - 18px); }
  .home-video .swiper-slide { min-width: calc(33.33% - 14px); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 950px) {
  .nav-con .nav { display: none; }
  .menu-btn { display: block; }
  .nav-con { position: relative; }
  .nav-mobile { display: none; position: absolute; top: 80px; right: 0; left: 0; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.15); padding: 10px 0; z-index: 999; }
  .nav-mobile.open { display: block; }
  .nav-mobile li a { display: block; padding: 12px 24px; color: #333; font-size: 16px; border-bottom: 1px solid #f5f5f5; }
  .nav-mobile .drop { position: static; transform: none; opacity: 1; box-shadow: none; padding: 0 24px; display: none; min-width: 0; }
  .nav-mobile li.open .drop { display: block; }
  .home-pro .con { width: 100%; }
  .home-pro .play-con { display: none; }
  .home-hot .item { width: calc(33.33% - 24px); }
  .about-page-wrap, .contact-grid { grid-template-columns: 1fr; }
  .model-grid, .video-page-grid { grid-template-columns: repeat(2, 1fr); }
  .news-page-list { grid-template-columns: 1fr; }
  .home-news { padding-left: 40px; }
  .home-video .swiper-nav { right: 40px; }
}
@media (max-width: 767px) {
  .pc_banner { display: none; }
  .mb_banner { display: block; }
  .mb_banner .swiper-slide img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
  .container { padding: 0 20px; }
  .home-about .item { width: 100%; }
  .home-news { padding-left: 20px; }
  .home-news .swiper-slide { min-width: 85%; }
  .home-video .swiper-slide { min-width: 80%; }
  .home-hot .item { width: calc(50% - 16px); margin: 0 8px 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid, .video-page-grid { grid-template-columns: 1fr; }
  .f-nav .item { width: 48%; margin-bottom: 24px; }
  .home-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .header .logo img { height: 40px; }
}
@media (max-width: 540px) {
  .home-hot .item { width: 100%; margin: 0 0 24px; }
  .cat-grid { grid-template-columns: 1fr; }
  .home-news .swiper-slide, .home-video .swiper-slide { min-width: 100%; }
  .f-nav .item { width: 100%; }
}

/* ---------- 滚动动画 ---------- */
.wow { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.wow.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .wow { opacity: 1; transform: none; } }

/* ---------- 内页头部（非透明背景） ---------- */
.header.nei_zong { position: relative; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.header.nei_zong .nav li > a { color: #333; }
.header.nei_zong .nav li > a::after { border-right-color: #333; border-bottom-color: #333; }
.header.nei_zong .nav li > a:hover { color: #0061ac; }
.header.nei_zong .menu-btn { color: #333; }

/* ---------- 导航激活态 ---------- */
.nav li.on > a { color: #0061ac; }
.header.nei_zong .nav li.on > a::after { border-right-color: #0061ac; border-bottom-color: #0061ac; }

/* ============================================================
   子页面组件（对照 shacman-group.com 原版样式）
   ============================================================ */
/* ---------- 内页 Banner ---------- */
.n-banner { position: relative; overflow: hidden; }
.n-banner img { width: 100%; aspect-ratio: 21/8; object-fit: cover; display: block; }
.n-banner .text-content { position: absolute; left: 240px; right: 240px; bottom: 60px; color: #fff; }
.n-banner .title { font-size: 41px; font-family: 'Montserrat', Impact, sans-serif; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.warpper { padding-left: 240px; padding-right: 240px; }

/* ---------- trucks 页: 使命 + 亮点 ---------- */
.warpper .text-con { margin-top: 50px; }
.warpper .text-con .title { font-size: 26px; font-family: 'Montserrat', Impact, sans-serif; font-weight: 800; line-height: 1.4; text-transform: uppercase; }
.warpper .text-con .title span { color: #0061ac; }
.warpper .text-con .text { font-weight: 300; font-size: 16px; margin-top: 20px; line-height: 1.7; color: #555; }
.p-con { margin-top: 50px; }
.p-con .title { font-size: 26px; font-weight: 800; line-height: 1.4; text-transform: uppercase; }
.p-con .con { margin-top: 10px; }
.p-con .item { width: 32%; margin-right: 2%; margin-top: 40px; display: block; }
.p-con .item:nth-child(3n) { margin-right: 0; }
.p-con .pic { overflow: hidden; }
.p-con .pic img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.p-con .tit { font-size: 20px; font-weight: 700; color: #111; margin-top: 14px; }
.p-con .text { font-size: 14px; color: #666; margin-top: 8px; line-height: 1.6; }

/* ---------- trucks 页: 分类交替卡片 ---------- */
.trucks .content { margin-top: 60px; }
.trucks .content .card { display: flex; flex-wrap: wrap; align-items: flex-start; margin-bottom: 80px; }
.trucks .content .card .pic { overflow: hidden; width: 760px; height: 470px; margin-right: 60px; flex-shrink: 0; }
.trucks .content .card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.trucks .content .card:hover .pic img { transform: scale(1.04); }
.trucks .content .card .text-content { flex: 1; position: relative; padding-bottom: 90px; min-width: 320px; }
.trucks .content .card .title { font-weight: 800; line-height: 1.4; font-size: 32px; text-transform: uppercase; color: #111; margin-top: 20px; }
.trucks .content .card .des { font-weight: 300; line-height: 1.7; margin-top: 30px; color: #333; font-size: 15px; }
.trucks .content .card .more {
  border: 1px solid #0061ab; line-height: 60px; border-radius: 30px; color: #0061ab;
  background: #fff; width: 220px; position: absolute; left: 0; bottom: 0; text-align: center;
  font-weight: 400; transition: all .25s;
}
.trucks .content .card .more:hover { background: #0061ab; color: #fff; }
.trucks .content .card:nth-child(even) { flex-direction: row-reverse; }
.trucks .content .card:nth-child(even) .pic { margin-right: 0; margin-left: 60px; }

/* ---------- Why Choose ---------- */
.trucks-why-content { margin-top: 90px; }
.trucks-why-content .title { font-size: 41px; font-weight: 800; line-height: 1.2; text-transform: uppercase; text-align: center; color: #111; }
.trucks-why-content .text { line-height: 1.65; margin-top: 16px; text-align: center; color: #666; }
.trucks-why-content .flex { display: flex; flex-wrap: wrap; margin-top: 10px; }
.trucks-why-content .item { width: 32.3%; margin-right: 1.5%; margin-top: 45px; display: block; }
.trucks-why-content .item:nth-child(3n) { margin-right: 0; }
.trucks-why-content .pic { overflow: hidden; }
.trucks-why-content .pic img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.trucks-why-content .tit { font-size: 20px; font-weight: 700; color: #111; margin-top: 16px; }
.trucks-why-content .des { font-size: 14px; color: #666; margin-top: 8px; line-height: 1.6; }

/* ---------- models 页: 过滤菜单 + 列表 ---------- */
.sub-menu { padding: 40px 0 30px; }
.sub-menu dl { display: flex; align-items: flex-start; border-bottom: 1px solid #eee; padding: 14px 0; }
.sub-menu dt { width: 140px; font-weight: 700; }
.sub-menu dt a { color: #0061ac; font-size: 16px; }
.sub-menu dd { flex: 1; display: flex; flex-wrap: wrap; gap: 8px 30px; }
.sub-menu dd a { color: #555; font-size: 14px; }
.sub-menu dd a:hover { color: #0061ac; }
.list-con { background: #f1f1f1; padding: 30px 0 90px; }
.list-con .list { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.list-con .item { width: calc(25% - 20px); margin: 10px; background: #fff; padding: 14px; }
.list-con .item .pic { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.list-con .item .pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.list-con .item .tit { display: block; text-align: center; font-size: 15px; font-weight: 700; text-transform: uppercase; color: #111; margin: 14px 0; line-height: 1.4; }
.list-con .item .tit:hover { color: #0061ac; }
.list-con .button { display: flex; justify-content: space-between; border-top: 1px solid #eee; padding-top: 10px; }
.list-con .button a { font-size: 13px; color: #666; }
.list-con .button a:hover { color: #0061ac; }
.list-con .button a.p_r { color: #0061ac; }
.mores { text-align: center; margin-top: 40px; color: #0061ac; font-weight: 600; cursor: pointer; font-size: 15px; }

/* ---------- video 页 ---------- */
.video-content { padding-top: 20px; }
.video-content .submenu { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; border-bottom: 1px solid #eee; padding-bottom: 16px; }
.video-content .submenu a { font-size: 16px; color: #555; font-weight: 600; }
.video-content .submenu a.active, .video-content .submenu a:hover { color: #0061ac; }
.video-content .content { display: flex; flex-wrap: wrap; margin-top: 10px; }
.video-content .item { width: 32%; overflow: hidden; margin-right: 2%; cursor: pointer; margin-top: 35px; }
.video-content .item:nth-child(3n) { margin-right: 0; }
.video-content .pic { position: relative; cursor: pointer; overflow: hidden; }
.video-content .pic img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s; }
.video-content .item:hover .pic img { transform: scale(1.04); }
.video-content .pic::after {
  content: '▶'; position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; padding-left: 5px;
}
.video-content .sub-title { font-size: 13px; font-weight: 700; color: #0061ac; text-transform: uppercase; margin-top: 14px; }
.video-content .tit { font-size: 15px; font-weight: 600; color: #222; margin-top: 6px; line-height: 1.5; }

/* ---------- news 页 ---------- */
.news-banner { position: relative; height: 180px; color: #fff; display: flex; align-items: center; margin-top: 10px; }
.news-banner .text-content { padding-left: 240px; }
.news-banner .txt { font-weight: 300; font-size: 23px; line-height: 1.4; }
.news-banner .title { font-size: 36px; font-weight: 700; line-height: 1.4; margin-top: 8px; text-transform: capitalize; }
.news-content .box { display: flex; flex-wrap: wrap; margin-top: 45px; }
.news-content .big-picture { width: 58%; display: block; padding-right: 30px; }
.news-content .big-picture .pic { overflow: hidden; }
.news-content .big-picture .pic img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s; }
.news-content .big-picture:hover .pic img { transform: scale(1.03); }
.news-content .date { font-size: 14px; color: #999; margin-top: 14px; }
.news-content .big-picture .title { font-size: 20px; font-weight: 600; color: #111; margin-top: 8px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-content .big-picture:hover .title { color: #0061ac; }
.news-content .flex-1 { flex: 1; }
.news-content .item { display: flex; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.news-content .item .pic { width: 220px; flex-shrink: 0; margin-right: 24px; overflow: hidden; }
.news-content .item .pic img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s; }
.news-content .item:hover .pic img { transform: scale(1.04); }
.news-content .item .date { margin-top: 0; font-size: 13px; }
.news-content .item .title { font-size: 15px; font-weight: 600; color: #222; margin-top: 6px; line-height: 1.5; }
.news-content .item:hover .title { color: #0061ac; }

/* ---------- about 页 ---------- */
.about { margin-top: 40px; }
.adv-con { display: flex; flex-wrap: wrap; align-items: flex-start; margin-top: 10px; }
.adv-con .text-con { flex: 1; min-width: 320px; }
.adv-con .tit { font-size: 26px; font-weight: 800; text-transform: uppercase; color: #111; line-height: 1.4; }
.adv-con .des { font-weight: 300; line-height: 1.7; color: #555; margin-top: 20px; font-size: 15px; }
.adv-con .more { color: #0061ac; font-weight: 600; font-size: 14px; margin-top: 24px; display: inline-block; border-bottom: 1px solid #0061ac; padding-bottom: 2px; }
.adv-con .play-con { width: 735px; height: 400px; overflow: hidden; margin-left: 60px; }
.adv-con .play-con video { width: 100%; height: 100%; object-fit: cover; }
.number-con { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 90px; }
.number-con .card { text-align: center; width: 19%; }
.number-con .num { color: #0061ac; font-size: 20px; line-height: 1.2; }
.number-con .counter { font-weight: 800; font-size: 54px; }
.number-con .tit { font-size: 16px; color: #555; margin-top: 8px; }
.Culture { margin-top: 70px; height: 480px; background: center / cover no-repeat; color: #fff; padding-top: 70px; }
.Culture .title { font-size: 41px; font-weight: 800; text-align: center; text-transform: uppercase; position: relative; }
.Culture .content { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 50px; }
.Culture .item { width: 24%; }
.Culture .tit { font-size: 17px; font-weight: 700; }
.Culture .text { font-size: 14px; margin-top: 8px; opacity: .92; line-height: 1.6; }
.about .content .card { display: flex; flex-wrap: wrap; align-items: center; margin-top: 60px; }
.about .content .card .picture { width: 46%; }
.about .content .card .picture img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.about .content .card .txt-con { flex: 1; padding-left: 60px; }
.about .content .card:nth-child(even) { flex-direction: row-reverse; }
.about .content .card:nth-child(even) .txt-con { padding-left: 0; padding-right: 60px; }
.about .content .card .title { font-size: 30px; font-weight: 800; text-transform: uppercase; color: #111; }
.about .content .card .txt { font-weight: 300; color: #555; line-height: 1.7; margin-top: 18px; font-size: 15px; }
.about .content .card .more { color: #0061ac; font-weight: 600; font-size: 14px; margin-top: 20px; display: inline-block; border-bottom: 1px solid #0061ac; }

/* ---------- contact 页 ---------- */
.us .content { display: flex; flex-wrap: wrap; align-items: flex-start; margin-top: 50px; }
.us .text-content { flex: 1; min-width: 320px; margin-right: 50px; }
.us .title { font-size: 30px; font-weight: 800; text-transform: uppercase; color: #111; }
.us .des { font-weight: 300; color: #666; margin-top: 12px; font-size: 15px; }
.us .con { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 30px; }
.us .text-grid { width: 30%; }
.us .text-grid .tit { font-size: 17px; font-weight: 700; text-transform: uppercase; color: #0061ac; }
.us .text-grid .text { font-size: 14px; color: #444; margin-top: 10px; }
.us .text-grid p { margin: 6px 0; }
.us .text-grid span { display: inline-block; min-width: 78px; color: #999; }
.us .text-grid a { color: #444; }
.us .text-grid a:hover { color: #0061ac; }
.us .picture { display: block; }
.us .picture img { width: 480px; max-width: 100%; aspect-ratio: 16/12; object-fit: cover; }
.mess { margin-top: 120px; }
.mess .title { font-size: 30px; font-weight: 800; text-transform: uppercase; color: #111; }
.mess .des { font-weight: 300; color: #666; margin-top: 12px; font-size: 15px; line-height: 1.7; }
.mess form { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 20px; }
.mess .ff-el-group { width: 48%; }
.mess .ff-el-group.ff-el-form-full { width: 100%; }
.mess label { display: block; font-size: 14px; margin-bottom: 6px; }
.mess input, .mess textarea { width: 100%; border: 1px solid #ddd; border-radius: 5px; padding: 11px 14px; font-size: 14px; font-family: inherit; }
.mess input:focus, .mess textarea:focus { outline: none; border-color: #0061ac; }
.mess textarea { height: 120px; resize: vertical; }
.mess .submit { background: #0061ac; color: #fff; border: none; border-radius: 5px; height: 46px; padding: 0 60px; font-size: 15px; font-weight: 700; cursor: pointer; }
.mess .submit:hover { background: #003c72; }

/* ---------- 头部搜索框 ---------- */
.search { border: 1px solid #dedddd; width: 210px; height: 36px; background: #fff; border-radius: 18px; display: flex; align-items: center; }
.search .content { display: flex; align-items: center; width: 100%; }
.search input[type="submit"] { border: none; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/></svg>') no-repeat center; width: 34px; height: 34px; cursor: pointer; }
.search input[type="text"] { border: none; background: transparent; flex: 1; font-size: 13px; outline: none; color: #333; }

/* ---------- 子页响应式 ---------- */
@media (max-width: 1199px) {
  .warpper { padding-left: 40px; padding-right: 40px; }
  .n-banner .text-content { left: 40px; right: 40px; }
  .news-banner .text-content { padding-left: 40px; }
  .trucks .content .card .pic { width: 520px; height: 340px; margin-right: 30px; }
  .trucks .content .card:nth-child(even) .pic { margin-left: 30px; margin-right: 0; }
  .adv-con .play-con { width: 520px; height: 290px; margin-left: 30px; }
  .list-con .item { width: calc(33.33% - 20px); }
  .us .picture img { width: 380px; }
}
@media (max-width: 950px) {
  .trucks .content .card .pic { width: 100%; margin-right: 0; order: 1; height: auto; aspect-ratio: 16/9; }
  .trucks .content .card:nth-child(even) .pic { margin-left: 0; }
  .trucks .content .card .text-content { order: 2; }
  .p-con .item, .trucks-why-content .item { width: 48%; margin-right: 4%; }
  .p-con .item:nth-child(3n), .trucks-why-content .item:nth-child(3n) { margin-right: 4%; }
  .p-con .item:nth-child(2n), .trucks-why-content .item:nth-child(2n) { margin-right: 0; }
  .list-con .item { width: calc(50% - 20px); }
  .video-content .item { width: 49%; margin-right: 2%; }
  .video-content .item:nth-child(3n) { margin-right: 2%; }
  .video-content .item:nth-child(2n) { margin-right: 0; }
  .news-content .big-picture { width: 100%; padding-right: 0; margin-bottom: 20px; }
  .adv-con .play-con { width: 100%; margin-left: 0; margin-top: 30px; height: auto; aspect-ratio: 16/9; }
  .Culture .item { width: 48%; margin-bottom: 24px; }
  .about .content .card .picture { width: 100%; }
  .about .content .card .txt-con { padding-left: 0; margin-top: 20px; }
  .about .content .card:nth-child(even) .txt-con { padding-right: 0; }
  .us .text-grid { width: 48%; margin-bottom: 20px; }
  .us .picture img { width: 100%; margin-top: 20px; }
  .mess .ff-el-group { width: 100%; }
}
@media (max-width: 767px) {
  .warpper { padding-left: 20px; padding-right: 20px; }
  .n-banner .text-content { left: 20px; right: 20px; bottom: 20px; }
  .n-banner .title { font-size: 25px; }
  .news-banner { height: 90px; }
  .news-banner .text-content { padding-left: 20px; }
  .news-banner .txt { font-size: 16px; }
  .news-banner .title { font-size: 22px; }
  .p-con .item, .trucks-why-content .item { width: 100%; margin-right: 0; }
  .list-con .item { width: calc(100% - 20px); }
  .video-content .item { width: 100%; margin-right: 0; }
  .news-content .item .pic { width: 130px; margin-right: 14px; }
  .number-con .card { width: 45%; margin-bottom: 24px; }
  .Culture .item { width: 100%; }
  .us .text-grid { width: 100%; }
}

/* ---------- service 页 ---------- */
.service-content { margin-top: 40px; }
.service-content .warpper .title { font-size: 34px; font-weight: 800; text-transform: uppercase; color: #111; line-height: 1.3; }
.service-content .des { font-weight: 300; font-size: 15px; color: #666; line-height: 1.8; margin-top: 20px; }
.picture-box { margin-top: 36px; display: flex; flex-wrap: wrap; padding: 60px 40px 40px; }
.picture-box .card { width: 25%; padding: 0 26px; color: #fff; }
.picture-box .dot { width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; margin: 0 auto 16px; }
.picture-box .tit { font-size: 17px; font-weight: 700; text-transform: uppercase; }
.picture-box .text { font-size: 13px; margin-top: 10px; line-height: 1.6; opacity: .92; }
.Parts { margin-top: 60px; }
.Parts .title { text-align: center; }
.Parts .con { color: #fff; font-weight: 300; font-size: 15px; line-height: 1.9; margin-top: 30px; padding: 50px 90px; }
.tab-wrap { margin-top: 60px; }
.tab-content { display: flex; flex-wrap: wrap; margin-top: 30px; }
.tab-content .title-con { flex: 1; min-width: 320px; }
.tab-content .title-con > div { padding: 20px 0; border-bottom: 1px solid #eee; cursor: pointer; }
.tab-content .title-con .tit { font-size: 18px; font-weight: 700; color: #555; position: relative; padding-left: 24px; transition: color .2s; }
.tab-content .title-con .tit::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: #ddd; transform: translateY(-50%); }
.tab-content .title-con > div.on .tit { color: #0061ac; }
.tab-content .title-con > div.on .tit::before { background: #0061ac; }
.tab-content .title-con .text { font-size: 14px; color: #666; line-height: 1.7; margin-top: 8px; display: none; }
.tab-content .title-con > div.on .text { display: block; }
.tab-content .pic-con { width: 46%; margin-left: 60px; }
.tab-content .pic-con img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service-content .more { text-align: center; margin-top: 40px; }
.service-content .more a { color: #0061ac; font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.service-content .more a:hover { color: #003c72; }
.service-content .content .title { font-size: 34px; font-weight: 800; text-transform: uppercase; color: #111; }
.service-content .content .txt { font-weight: 300; font-size: 15px; color: #666; line-height: 1.8; margin-top: 18px; }
@media (max-width: 950px) {
  .picture-box .card { width: 50%; margin-bottom: 30px; }
  .Parts .con { padding: 30px 24px; }
  .tab-content .pic-con { width: 100%; margin-left: 0; margin-top: 20px; }
  .service-content .warpper { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 767px) {
  .service-content .warpper { padding-left: 20px; padding-right: 20px; }
  .picture-box .card { width: 100%; }
}


/* ============================================================
   产品详情页（single-truck.php）
   ============================================================ */
.trucks-details { margin-top: 40px; }
.info-content { display: flex; flex-wrap: wrap; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.info-content h1 { font-size: 44px; font-weight: 800; text-transform: uppercase; color: #fff; line-height: 1.3; }
.info-content .text { margin-top: 20px; color: #dce8f5; }
.info-content .text p { font-size: 16px; line-height: 1.9; }
.info-content .button { display: flex; gap: 16px; margin-top: 26px; }
.info-content .WhatApp { background: #25d366; color: #fff; padding: 12px 34px; border-radius: 30px; font-weight: 700; font-size: 15px; transition: filter .2s; }
.info-content .WhatApp:hover { filter: brightness(1.08); }
.info-content .mess { background: #fff; color: #0061ac; padding: 12px 34px; border-radius: 30px; font-weight: 700; font-size: 15px; transition: all .2s; }
.info-content .mess:hover { background: #003c72; color: #fff; }
.info-content .picture img { width: 560px; max-width: 100%; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.title-con { margin: 40px 0 20px; align-items: center; }
.title-con span { font-size: 30px; font-weight: 800; text-transform: uppercase; color: #111; padding-left: 18px; }
.title-con span::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 26px; background: #0061ac; }
.des .card { display: flex; flex-wrap: wrap; align-items: flex-start; margin-bottom: 30px; background: #f9f9f9; border-radius: 8px; overflow: hidden; }
.des .card .flex-1 { padding: 30px 36px; }
.des .card .tit { font-size: 20px; font-weight: 700; color: #111; margin-bottom: 12px; }
.des .card .text.rich-text { font-size: 15px; color: #555; line-height: 1.9; }
.des .card .text.rich-text p { margin-bottom: 12px; }
.des .card .pic { width: 40%; overflow: hidden; }
.des .card .pic img { width: 100%; height: 100%; object-fit: cover; }
.des .card:nth-child(even) .pic { order: 2; }
.table-scroll { overflow-x: auto; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-scroll table td { border: 1px solid #e0e0e0; padding: 10px 14px; color: #444; }
.table-scroll table td:first-child { font-weight: 600; background: #f7f9fc; }
.picture-content .content { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 10px; }
.picture-content .item { width: calc(25% - 15px); overflow: hidden; border-radius: 8px; }
.picture-content .item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.form-content { background: #f4f7fb; border-radius: 12px; padding: 50px 60px; margin: 40px 0; }
.form-content .title { font-size: 30px; font-weight: 800; text-align: center; color: #111; }
.form-content form { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.form-content .ff-el-group { width: 48%; }
.form-content .ff-el-group.ff-el-form-full { width: 100%; }
.form-content label { display: block; font-size: 14px; margin-bottom: 6px; }
.form-content label i { color: #ed1b24; font-style: normal; }
.form-content input, .form-content textarea { width: 100%; border: 1px solid #d6dde6; border-radius: 6px; padding: 11px 14px; font-size: 14px; font-family: inherit; }
.form-content input:focus, .form-content textarea:focus { outline: none; border-color: #0061ac; }
.form-content textarea { height: 110px; resize: vertical; }
.form-content .submit { background: #0061ac; color: #fff; border: none; border-radius: 6px; height: 46px; padding: 0 60px; font-size: 15px; font-weight: 700; cursor: pointer; }
.form-content .submit:hover { background: #003c72; }
.related-products { margin-top: 20px; }
.related-products .content { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related-products .item { width: calc(25% - 20px); margin: 10px; background: #fff; padding: 14px; border: 1px solid #f0f0f0; border-radius: 8px; }
.related-products .item .pic { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.related-products .item .pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.related-products .item .tit { display: block; text-align: center; font-size: 14px; font-weight: 700; text-transform: uppercase; color: #111; margin: 12px 0; line-height: 1.4; }
.related-products .button { display: flex; justify-content: space-between; border-top: 1px solid #eee; padding-top: 10px; }
.related-products .button a { font-size: 13px; color: #666; }
.related-products .button a.p_r { color: #0061ac; }
@media (max-width: 950px) {
  .info-content h1 { font-size: 30px; }
  .info-content .picture { margin-top: 30px; }
  .des .card .pic { width: 100%; order: 1 !important; aspect-ratio: 16/9; }
  .des .card .pic img { height: 100%; }
  .des .card .flex-1 { order: 2; }
  .picture-content .item { width: calc(50% - 10px); }
  .related-products .item { width: calc(50% - 20px); }
  .form-content { padding: 30px 24px; }
  .form-content .ff-el-group { width: 100%; }
}
@media (max-width: 540px) {
  .picture-content .item { width: 100%; }
  .related-products .item { width: 100%; }
}

/* ============================================================
   产品详情页 v4（shacmaninternational 模板 + 三端适配）
   ============================================================ */
.pd-wrap { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* 分类 banner */
.pd-banner { padding: 34px 0; }
.pd-banner-txt { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }

/* 主体：画廊 + 信息 */
.details-content { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 46px; padding: 30px 0 10px; }
.focus { width: 46%; min-width: 300px; }
.gallery-top { position: relative; border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #f8f8f8; }
.gallery-top .g-slide { display: none; }
.gallery-top .g-slide.active { display: block; }
.gallery-top .g-slide img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-top .g-prev, .gallery-top .g-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 56px; background: rgba(0,0,0,.25); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.gallery-top .g-prev { left: 0; } .gallery-top .g-next { right: 0; }
.gallery-top .g-prev:hover, .gallery-top .g-next:hover { background: rgba(0,0,0,.5); }
.gallery-top .chev { width: 10px; height: 10px; border-top: 2px solid #fff; border-right: 2px solid #fff; }
.gallery-top .g-prev .chev { transform: rotate(-135deg); }
.gallery-top .g-next .chev { transform: rotate(45deg); }
.g-zoom { cursor: zoom-in; }

/* 信息区 */
.text-content { flex: 1; min-width: 320px; }
.text-content h1 { font-size: 26px; font-weight: 700; color: #333; line-height: 1.4; margin-bottom: 8px; }
.text-content .name { font-size: 16px; font-weight: 700; color: #0067ab; margin: 18px 0 14px; }
.text-content .txt { font-size: 14px; color: #555; line-height: 2; }
.text-content .txt span { font-weight: 700; color: #333; }
.text-content .tel { font-size: 14px; color: #666; margin-top: 22px; font-weight: 700; }
.text-content .email { font-size: 14px; color: #666; margin-top: 8px; }
.submit { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.submit .quote {
  display: inline-block; height: 52px; line-height: 52px; padding: 0 34px;
  background: #fcba1f; color: #fff; font-size: 16px; font-weight: 700;
  border-radius: 4px; transition: all .25s;
}
.submit .quote:hover { background: #e0a312; transform: translateY(-1px); }
.submit .quote.wa { background: #25d366; }
.submit .quote.wa:hover { background: #1fb857; }

/* 区块标题（蓝底白字横条，对照模板） */
.pd-wrap .title, .pd-wrap .tit { margin: 46px 0 20px; }
.pd-wrap .title span, .pd-wrap .tit span {
  display: inline-block; background-color: #0067ab; color: #fff; height: 46px; line-height: 46px;
  font-size: 17px; font-weight: 700; padding: 0 22px; text-transform: uppercase;
}
.pd-wrap .tit span { background-color: #0067ab; }

/* 产品介绍内容 */
.pd-content { font-size: 14px; color: #555; line-height: 2; }
.pd-content p { margin-bottom: 12px; }
.pd-content h1, .pd-content h2, .pd-content h3 { font-size: 19px; color: #333; margin: 22px 0 10px; }
.pd-content ul, .pd-content ol { padding-left: 22px; margin-bottom: 12px; }
.pd-content ul li { list-style: disc; margin-bottom: 6px; }
.pd-content ol li { list-style: decimal; }
.pd-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.pd-content table td { border: 1px solid #e0e0e0; padding: 8px 10px; font-size: 13px; }

/* 产品参数表 */
.pd-wrap h3 { font-size: 18px; color: #333; margin: 30px 0 12px; font-weight: 700; }
.pd-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pd-table table td { border: 1px solid #e0e0e0; padding: 8px 12px; color: #444; }
.pd-table table td:first-child { font-weight: 600; background: #f7f9fc; }
.table-scroll { overflow-x: auto; }

/* 相关产品 */
.pd-related { margin-top: 10px; }
.related { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.related .items { width: calc(25% - 20px); margin: 10px; border: 1px solid #eee; border-radius: 6px; overflow: hidden; background: #fff; transition: all .3s; }
.related .items:hover { box-shadow: 0 10px 28px rgba(0,0,0,.12); transform: translateY(-4px); }
.related .pic { background: #f7f7f7; overflow: hidden; }
.related .pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.related .items:hover .pic img { transform: scale(1.05); }
.related .txt { padding: 14px 16px; }
.related .txt h4 { font-size: 14px; font-weight: 700; color: #333; text-align: center; line-height: 1.5; }
.related .items:hover .txt h4 { color: #0067ab; }

/* 在线留言表单 */
.row.form { display: flex; flex-wrap: wrap; gap: 0; margin: 0 -10px; }
.row.form .col-lg-6 { width: calc(50% - 20px); margin: 0 10px 16px; }
.row.form .col-lg-12 { width: calc(100% - 20px); margin: 0 10px 16px; }
.row.form .form-group label { display: block; font-size: 14px; color: #333; margin-bottom: 6px; }
.row.form .form-group label span { color: #ed1b24; }
.row.form .form-group input, .row.form .form-group textarea {
  width: 100%; border: 1px solid #ddd; border-radius: 4px; padding: 10px 12px; font-size: 14px; font-family: inherit;
}
.row.form .form-group input:focus, .row.form .form-group textarea:focus { outline: none; border-color: #0067ab; box-shadow: 0 0 0 3px rgba(0,103,171,.12); }
.row.form .form-group textarea { height: 110px; resize: vertical; }
.row.form .submit { text-align: center; }
.row.form .submit .quote { border: none; cursor: pointer; height: 50px; line-height: 50px; }

/* ---- 平板 ---- */
@media (max-width: 1199px) and (min-width: 768px) {
  .pd-wrap { padding: 0 28px; }
  .focus { width: 44%; }
  .related .items { width: calc(33.33% - 20px); }
}

/* ---- 手机 ---- */
@media (max-width: 767px) {
  .pd-wrap { padding: 0 16px; }
  .details-content { gap: 22px; padding-top: 18px; }
  .focus { width: 100%; }
  .text-content h1 { font-size: 21px; }
  .submit .quote { flex: 1; text-align: center; }
  .pd-wrap .title, .pd-wrap .tit { margin: 34px 0 16px; }
  .pd-wrap .title span, .pd-wrap .tit span { font-size: 15px; height: 40px; line-height: 40px; padding: 0 16px; }
  .related .items { width: calc(50% - 16px); margin: 8px; }
  .row.form .col-lg-6, .row.form .col-lg-12 { width: calc(100% - 20px); }
}
/* ============================================================
   全站三端适配总控（PC ≥1200 / 平板 768–1199 / 手机 ≤767、≤540）
   ============================================================ */

/* ---------- 通用容器与标题 ---------- */
@media (max-width: 1199px) {
  .home-about .item { width: calc(50% - 24px); }
  .home-about .item:nth-child(3) { width: calc(50% - 24px); }
  .series-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .contact-cta .container { justify-content: center; text-align: center; }
  .nav li > a { font-size: 14px; padding: 0 6px; }
  .nav li { margin-right: 6px; }
  .search { width: 170px; }
  .home-title { font-size: 34px; }
  .section-title h2 { font-size: 36px; }
}
@media (max-width: 1024px) {
  .nav-con .search { display: none; }
}
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .header .logo img { height: 38px; }
  .header .logo { margin-right: 0; }
  .nav-con { height: 64px; }
  .nav-mobile { top: 64px; }
  .home-title { font-size: 26px; }
  .section-title h2 { font-size: 26px; }
  .home-about { margin-top: 32px; }
  .home-about .item { width: 100%; margin-bottom: 24px; }
  .home-about .content { gap: 0; }
  .series-grid { grid-template-columns: 1fr; }
  .home-pro, .home-news, .home-video, .home-hot { margin-top: 44px; }
  .home-pro .swiper-nav, .home-video .swiper-nav { margin-top: 16px; }
  .home-news .home-more { display: none; }
  .home-video .container { padding: 0 16px; }
  .pub-Qa .title { font-size: 22px; }
  .pub-Qa .text { font-size: 13px; }
  .pub-Qa .more a { padding: 9px 32px; font-size: 14px; }
  .kefu { right: 12px; bottom: 70px; }
  .kefu .item { padding: 0 14px 0 10px; font-size: 13px; height: 46px; }
  .kefu .item svg { width: 22px; height: 22px; }
  .back-top { right: 12px; bottom: 130px; width: 40px; height: 40px; }
}
@media (max-width: 540px) {
  .home-hot .item { width: calc(50% - 12px); margin: 0 6px 20px; }
  .home-hot .content { margin-left: -6px; margin-right: -6px; }
  .td-buttons .td-btn-inquiry, .td-buttons .td-btn-wa { flex: 1 1 100%; }
}

/* ---------- 页脚 ---------- */
@media (max-width: 1199px) and (min-width: 768px) {
  .footer-main { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .f-nav .item { width: 30%; min-width: 0; margin-bottom: 26px; }
}
@media (max-width: 767px) {
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .f-nav .item { width: 100%; margin-bottom: 16px; }
  .f-nav .item .sub { display: none; }
  .f-nav .item.open .sub { display: block; }
  .f-nav .tit { cursor: pointer; }
  .f-info .logo img { height: 34px; }
}

/* ---------- 首页 about 三卡 ---------- */
.home-about .content { margin-left: -12px; margin-right: -12px; }
.home-about .item { width: calc(33.333% - 24px); margin: 0 12px 24px; }
@media (max-width: 1199px) { .home-about .item { width: calc(50% - 24px); } }
@media (max-width: 767px) { .home-about .item { width: 100%; margin: 0 12px 24px; } }

/* ---------- models 页过滤菜单 ---------- */
@media (max-width: 767px) {
  .sub-menu dl { flex-direction: column; gap: 10px; }
  .sub-menu dt { width: 100%; }
  .sub-menu dd { gap: 8px 18px; }
}

/* ---------- trucks / models 网格 ---------- */
@media (max-width: 1199px) and (min-width: 768px) {
  .trucks .content .card .pic { width: 46%; height: auto; aspect-ratio: 16/10; }
  .trucks .content .card .text-content { min-width: 45%; }
  .p-con .item, .trucks-why-content .item { width: 32%; margin-right: 2%; }
}
@media (max-width: 767px) {
  .list-con .list { margin: 0 -6px; }
  .list-con .item { width: calc(50% - 12px); margin: 6px; }
  .mores { font-size: 13px; }
}
@media (max-width: 540px) {
  .list-con .item { width: calc(100% - 12px); }
  .list-con .item .tit { font-size: 13px; }
}

/* ---------- news 页 ---------- */
@media (max-width: 1199px) and (min-width: 768px) {
  .news-content .big-picture { width: 50%; }
  .news-content .item .pic { width: 170px; }
}
@media (max-width: 767px) {
  .news-content .box { margin-top: 24px; }
  .news-content .big-picture .title { font-size: 17px; white-space: normal; }
  .news-content .item .pic { width: 110px; margin-right: 10px; }
  .news-content .item .date { font-size: 12px; }
}

/* ---------- about 页统计 ---------- */
@media (max-width: 1199px) and (min-width: 768px) {
  .number-con .card { width: 30%; margin-bottom: 26px; }
  .number-con .counter { font-size: 42px; }
}
@media (max-width: 767px) {
  .number-con .card { width: 46%; }
  .number-con .counter { font-size: 36px; }
  .about .content .card .title { font-size: 22px; }
  .Culture { height: auto; padding: 40px 20px 24px; }
  .Culture .title { font-size: 28px; }
  .Culture .content { margin-top: 24px; }
  .adv-con .tit { font-size: 21px; }
}

/* ---------- contact 页 ---------- */
@media (max-width: 767px) {
  .us .content { margin-top: 24px; }
  .us .title { font-size: 24px; }
  .mess { margin-top: 60px; }
  .mess .title { font-size: 24px; }
}

/* ---------- service 页 ---------- */
@media (max-width: 1199px) and (min-width: 768px) {
  .service-content .warpper .title, .service-content .content .title { font-size: 26px; }
  .tab-content .title-con .tit { font-size: 16px; }
}

/* ---------- 表格通用（避免手机横向溢出） ---------- */
.table-scroll, .td-content { overflow-x: auto; }

/* ---------- 询盘/表单按钮手机全宽 ---------- */
@media (max-width: 540px) {
  .td-inquiry-box .submit { width: 100%; }
  .mess .submit, .contact-form .form-submit { width: 100%; }
}
