/* =============================================
   Yanfu Agriculture - Modern v2 Design System
   烟富农业现代化风格 v2
   Colors: Deep Green #1a5632 + Fresh Green #2d8a4e + Gold #c8a951
   ============================================= */

:root {
  --primary: #1a5632;
  --primary-light: #2d8a4e;
  --primary-lighter: #e8f5e9;
  --accent: #c8a951;
  --accent-light: #f0e6c8;
  --bg: #ffffff;
  --bg-light: #f7f9f8;
  --bg-card: #ffffff;
  --text: #2c3e2d;
  --text-light: #6b7c6e;
  --text-muted: #9ea8a0;
  --border: #e2e8e4;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1200px;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: hidden;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; color: var(--text); line-height: 1.7;
  background: var(--bg); -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
ul, ol { list-style: none; }
.fl { float: left; }
.fr { float: right; }
.clearfix::after { content: ""; display: table; clear: both; }
.grWidth { width: var(--max-width); margin: 0 auto; }
.hidden { overflow: hidden; }

/* ========== Top Bar ========== */
.topBar {
  background: var(--primary); color: rgba(255,255,255,0.85);
  font-size: 13px; height: 38px; line-height: 38px;
}
.topBar .grWidth { display: flex; justify-content: flex-end; align-items: center; }
.topBar ul { display: flex; gap: 0; }
.topBar li { position: relative; }
.topBar li a {
  color: rgba(255,255,255,0.85); padding: 0 14px;
  display: inline-block; transition: all var(--transition);
}
.topBar li a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.topBar li em { font-style: normal; color: rgba(255,255,255,0.3); }
.topBar li.t2 { position: relative; }
.topBar li.t2 div {
  display: none; position: absolute; top: 38px; right: 0;
  background: #fff; padding: 12px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); z-index: 100;
}
.topBar li.t2:hover div { display: block; }
.topBar li.t2 div img { width: 120px; height: 120px; }

/* ========== Header ========== */
.header {
  background: #fff; padding: 16px 0;
  box-shadow: var(--shadow-sm); position: relative; z-index: 90;
}
.header .grWidth { display: flex; justify-content: space-between; align-items: center; }
.logo a { display: flex; align-items: center; gap: 12px; }
.logo img { height: 56px; width: auto; }
.headPhone {
  text-align: right; font-size: 13px; color: var(--text-light);
}
.headPhone span {
  display: block; font-size: 26px; font-weight: 700;
  color: var(--primary); letter-spacing: 1px; line-height: 1.2;
}

/* ========== Navigation ========== */
.nav {
  background: var(--primary); position: relative; z-index: 80;
}
.nav .grWidth { display: flex; align-items: stretch; }
.nav ul { display: flex; width: 100%; justify-content: center; }
.nav li { position: relative; }
.nav li a {
  display: flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 22px;
  color: rgba(255,255,255,0.9); font-size: 15px; font-weight: 500;
  transition: all var(--transition); white-space: nowrap;
}
.nav li a:hover, .nav li a.current {
  background: rgba(255,255,255,0.15); color: #fff;
}
.nav li.first a {
  background: var(--accent); color: #fff; font-weight: 600;
}
.nav li.first a:hover { background: #b89840; }

/* Dropdown */
.navSub {
  display: none; position: absolute; top: 52px; left: 0;
  background: #fff; min-width: 160px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg); z-index: 100;
  overflow: hidden;
}
.nav li:hover .navSub { display: block; }
.navSub li a {
  color: var(--text); height: 44px; padding: 0 20px;
  font-size: 14px; font-weight: 400; justify-content: flex-start;
}
.navSub li a:hover { background: var(--primary-lighter); color: var(--primary); }

/* ========== Banner / Carousel ========== */
.banner { position: relative; overflow: hidden; background: #eee; }
.banner .bd { margin: 0; list-style: none; padding: 0; overflow: hidden; }
.banner .bd li { overflow: hidden; }
.banner .bd img { width: 100%; height: auto; display: block; }
.banner_ctr { position: absolute; top: 50%; width: 100%; z-index: 10; }
.banner_ctr a {
  position: absolute; display: block; width: 47px; height: 60px;
  margin-top: -30px; background: url(images/banner_ctr.png) no-repeat;
  opacity: 0.6; transition: opacity var(--transition);
}
.banner_ctr a:hover { opacity: 1; }
.banner_ctr a.prev { left: 20px; }
.banner_ctr a.next { right: 20px; background-position: -47px 0; }

/* ========== Search Bar ========== */
.search {
  background: var(--primary-lighter); padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.search .grWidth { display: flex; align-items: center; justify-content: space-between; }
.searFont { font-size: 13px; color: var(--text-light); }
.searFont a { color: var(--primary); margin: 0 2px; }
.searFont a:hover { text-decoration: underline; }
.searMain form { display: flex; }
.sear_text {
  width: 280px; height: 38px; border: 2px solid var(--primary);
  border-radius: var(--radius) 0 0 var(--radius); padding: 0 14px;
  font-size: 14px; outline: none;
}
.sear_text:focus { border-color: var(--accent); }
.sear_btn {
  width: 60px; height: 38px; background: var(--primary);
  border: none; border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer; color: #fff; font-size: 16px;
  transition: background var(--transition);
}
.sear_btn:hover { background: var(--primary-light); }

/* ========== Section Titles ========== */
.homeTitle {
  text-align: center; padding: 48px 0 32px; font-size: 14px;
  text-transform: uppercase; letter-spacing: 3px; color: var(--text-muted);
}
.homeTitle strong {
  display: block; font-size: 28px; color: var(--text);
  letter-spacing: 0; margin-top: 6px;
}
.homeTitle span { display: block; margin-top: 4px; font-size: 14px; }

/* ========== Products Section (Home) ========== */
.prodcut { padding: 0 0 40px; }
.proMenu {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.proMenu li {
  padding: 10px 24px; background: var(--bg-light);
  border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition); text-align: center;
}
.proMenu li.on, .proMenu li:hover {
  background: var(--primary); color: #fff;
}
.proMenu li h4 { font-size: 15px; font-weight: 600; }
.proMenu li span { font-size: 11px; opacity: 0.7; display: block; }
.proMain { position: relative; }

.proBox {
  display: flex; gap: 32px; padding: 24px 0;
  align-items: flex-start; border-bottom: 1px solid var(--border);
}
.proBox .pImg {
  flex-shrink: 0; width: 280px; height: 210px;
  border-radius: var(--radius); overflow: hidden;
}
.proBox .pImg img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.proBox .pImg:hover img { transform: scale(1.05); }
.proBox h4 { font-size: 20px; color: var(--text); margin-bottom: 10px; }
.proBox h4 a { color: var(--text); }
.proBox h4 a:hover { color: var(--primary); }
.proBox .font { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.proBox .font p { margin-bottom: 8px; }
.proBox .more {
  display: inline-block; margin-top: 12px; padding: 8px 24px;
  background: var(--primary); color: #fff; border-radius: var(--radius);
  font-size: 14px; transition: all var(--transition);
}
.proBox .more:hover { background: var(--primary-light); color: #fff; }

/* ========== Advantages Section ========== */
.odds { background: var(--primary-lighter); padding: 48px 0; }
.oddsTie { text-align: center; margin-bottom: 36px; }
.oddsTie img { height: 40px; width: auto; }
.oddsMain ul {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.oddsMain li {
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.oddsMain li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.oddsMain li img { width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; }
.oddsMain li h3 { font-size: 18px; color: var(--text); margin-bottom: 10px; }
.oddsMain li p { font-size: 13px; color: var(--text-light); line-height: 1.8; }

/* ========== News Section ========== */
.news { padding: 0 0 48px; overflow: hidden; }
.newsMenu {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 24px;
}
.newsMenu a {
  padding: 8px 24px; border-radius: 20px;
  font-size: 15px; color: var(--text); background: var(--bg-light);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.newsMenu a.on, .newsMenu a:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.newsMain { overflow: hidden; }
.newsBox { display: flex; gap: 24px; padding: 16px 0; overflow: hidden; }
.newsLeft { width: 50%; flex-shrink: 0; overflow: hidden; }
.newsLeft .nImg {
  display: block; border-radius: var(--radius); overflow: hidden;
  position: relative;
}
.newsLeft .nImg img { width: 100%; height: 360px; object-fit: cover; transition: transform var(--transition); }
.newsLeft .nImg:hover img { transform: scale(1.03); }
.newsLeft .nImg .date {
  position: absolute; top: 0; left: 0;
  background: rgba(0,0,0,0.5); color: #fff;
  width: 80px; text-align: center; padding: 8px 0;
  font-size: 13px; line-height: 1.4;
}
.newsLeft .nImg .date strong { font-size: 28px; display: block; line-height: 1.2; }
.newsLeft h3 { font-size: 18px; margin: 12px 0 6px; font-weight: 500; }
.newsLeft h3 a { color: var(--primary); }
.newsLeft h3 a:hover { color: var(--primary-light); text-decoration: underline; }
.newsLeft p { font-size: 13px; color: var(--text-light); line-height: 1.8; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.newsRight { flex: 1; overflow: hidden; }
.newsRight li {
  padding: 12px 16px; margin-bottom: 8px;
  background: var(--bg-light); border-radius: var(--radius);
  display: flex; gap: 14px; align-items: flex-start;
  transition: all var(--transition);
}
.newsRight li:hover { background: var(--primary-lighter); }
.newsRight .date {
  flex-shrink: 0; text-align: center; width: 56px;
  background: var(--primary); border-radius: var(--radius);
  padding: 6px 0; color: #fff;
}
.newsRight .date strong { display: block; font-size: 18px; }
.newsRight .date span { font-size: 11px; opacity: 0.8; }
.newsRight h3 { font-size: 15px; margin-bottom: 2px; font-weight: 500; }
.newsRight h3 a { color: var(--text); }
.newsRight h3 a:hover { color: var(--primary); }
.newsRight p { font-size: 13px; color: var(--text-muted); line-height: 1.6;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ========== Case / Variety Section ========== */
.case { background: var(--primary); padding: 48px 0; }
.case .homeTitle { color: #fff; }
.case .homeTitle strong { color: #fff; }
.case .homeTitle span { color: rgba(255,255,255,0.7); }
.caseMain ul {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.caseMain li {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.caseMain li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.caseMain li img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.caseMain li:hover img { transform: scale(1.05); }
.caseMain .tie {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff; padding: 32px 16px 12px; font-size: 16px; font-weight: 600;
  transition: all var(--transition);
}
.caseMain .font {
  position: absolute; inset: 0; background: rgba(26,86,50,0.92);
  color: #fff; padding: 24px; display: flex; flex-direction: column;
  justify-content: center; opacity: 0; transition: opacity var(--transition);
}
.caseMain li:hover .font { opacity: 1; }
.caseMain li:hover .tie { opacity: 0; }
.caseMain .font h4 span { font-size: 14px; line-height: 1.8; }
.caseMain .font i { display: none; }
.caseMain li.c1 { grid-column: span 2; grid-row: span 2; }

/* Product menu icon variants */
.proMenu li.m2 i { background-position: -70px 0; }
.proMenu li.m3 i { background-position: -140px 0; }
.proMenu li.m4 i { background-position: -210px 0; }
.proMenu li.m5 i { background-position: -280px 0; }
.proMenu li.m2.on i { background-position: -70px -70px; }
.proMenu li.m3.on i { background-position: -140px -70px; }
.proMenu li.m4.on i { background-position: -210px -70px; }
.proMenu li.m5.on i { background-position: -280px -70px; }

/* Top bar icon positions */
.topBar li.t3 a { background-position: 0 -68px; }
.topBar li.t4 a { background-position: 0 -102px; }

/* ========== About Section ========== */
.about { padding: 48px 0; display: flex; gap: 40px; }
.about .video {
  width: 560px; flex-shrink: 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.about .video iframe, .about .video embed {
  width: 100%; height: 340px; border: none;
}
.aboutRight { flex: 1; }
.aboutRight .title { margin-bottom: 16px; }
.aboutRight .title span {
  font-size: 13px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); display: block;
}
.aboutRight .title { font-size: 24px; color: var(--text); }
.aboutRight .font { font-size: 14px; color: var(--text-light); line-height: 1.9; }
.aboutRight .more {
  display: inline-block; margin-top: 16px; color: var(--primary);
  font-weight: 600; transition: color var(--transition);
}
.aboutRight .more:hover { color: var(--accent); }

/* ========== Honor Section ========== */
.honor { padding: 32px 0 48px; }
.honor .picList {
  display: flex; gap: 20px; overflow: hidden;
}
.honor .picList li {
  flex-shrink: 0; width: 180px; text-align: center;
}
.honor .picList li img {
  width: 160px; height: 160px; object-fit: cover;
  border-radius: var(--radius); border: 2px solid var(--border);
  transition: all var(--transition);
}
.honor .picList li:hover img { border-color: var(--accent); }
.honor .picList li span {
  display: block; margin-top: 8px; font-size: 13px;
  color: var(--text-light); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

/* ========== Video Section (Home) ========== */
/* Old #index selectors removed - now using .section + .secTitle + .newsMenu */
.bingchonghai {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.bingchonghai dl {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  background: #fff;
}
.bingchonghai dl:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bingchonghai dt img {
  width: 100%; height: 200px; object-fit: cover; display: block;
}
.bingchonghai dd {
  padding: 12px 14px; font-size: 14px;
}
.bingchonghai dd a { color: var(--text); font-weight: 500; }
.bingchonghai dd a:hover { color: var(--primary); }

/* ========== List Pages (Product/News/Bing) ========== */
.listBanner {
  height: 200px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
}
.listBanner img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.3;
  position: absolute; top: 0; left: 0;
}
.listWrapper {
  display: flex; gap: 28px; padding: 28px 0 48px;
  min-height: 500px;
}

/* Sidebar */
.listLeft { width: 240px; flex-shrink: 0; }
.sidebar {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 20px;
}
.side_title {
  background: var(--primary); color: #fff;
  padding: 16px 20px; font-size: 18px; font-weight: 600;
}
.sidebarMenu li a {
  display: block; padding: 12px 20px; font-size: 14px;
  color: var(--text); border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.sidebarMenu li a:hover, .sidebarMenu li a.current {
  background: var(--primary-lighter); color: var(--primary);
  padding-left: 28px; font-weight: 600;
}
.recommend_pro {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 20px; overflow: hidden;
}
.left_title {
  font-size: 16px; font-weight: 600; color: var(--text);
  padding-bottom: 12px; border-bottom: 2px solid var(--primary);
  margin-bottom: 12px;
}
.recommend_slide li {
  margin-bottom: 10px; border-radius: var(--radius); overflow: hidden;
}
.recommend_slide li img {
  width: 100%; height: 100px; object-fit: cover;
}
.recommend_slide li span {
  display: block; font-size: 12px; color: var(--text-light);
  padding: 4px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Main Content */
.listRight { flex: 1; min-width: 0; }
.breadCrumb {
  padding: 12px 0; font-size: 13px; color: var(--text-muted);
  border-bottom: 1px solid var(--border); margin-bottom: 20px;
}
.breadCrumb a { color: var(--primary); }

/* Product/Item Grid */
.settingList ul {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.settingList li {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff;
  transition: all var(--transition);
}
.settingList li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.settingList .sImg {
  display: block; height: 200px; overflow: hidden;
}
.settingList .sImg img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.settingList li:hover .sImg img { transform: scale(1.05); }
.settingList li p {
  padding: 12px 14px; font-size: 14px; font-weight: 500;
  color: var(--text); text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.settingList li a { color: var(--text); }
.settingList li a:hover { color: var(--primary); }

/* Product Detail */
.listBox {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px;
  line-height: 1.9; font-size: 15px; color: var(--text);
}
.listBox .img {
  float: left; margin: 0 24px 16px 0; max-width: 400px;
  border-radius: var(--radius); overflow: hidden;
}
.listBox .img img { width: 100%; display: block; }

/* ========== Pagination ========== */
.pagination {
  clear: both; padding: 20px 0; text-align: center;
  font-size: 14px; color: var(--text-light);
}
.pagination a {
  display: inline-block; padding: 6px 14px; margin: 0 3px;
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); transition: all var(--transition);
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.a1_page {
  display: inline-block; padding: 6px 14px; margin: 0 3px;
  background: var(--primary); color: #fff; border-radius: var(--radius);
}
.houseleftleis {
  padding: 16px 0; text-align: center; font-size: 14px;
}
.houseleftleis li {
  display: inline-block; margin: 3px;
}
.houseleftleis li a {
  padding: 6px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  transition: all var(--transition);
}
.houseleftleis li a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ye, .yee {
  display: inline-block; padding: 4px 10px; margin: 2px;
  border: 1px solid var(--border); border-radius: 4px;
}
.yee { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== News List Page ========== */
.sijia_yl .ylnav {
  text-align: center; padding: 20px 0; margin-top: 20px;
}
.sijia_yl .ylnav a {
  display: inline-block; padding: 8px 28px; margin: 4px;
  border: 1px solid var(--primary); border-radius: var(--radius);
  color: var(--primary); font-size: 15px;
  transition: all var(--transition);
}
.sijia_yl .ylnav .action, .sijia_yl .ylnav a:hover {
  background: var(--primary); color: #fff;
}
.sijia_yl .sijia_con ul {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.sijia_yl .sijia_con li {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff;
  transition: all var(--transition);
}
.sijia_yl .sijia_con li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.sijia_yl .sijia_con li img { width: 100%; height: 220px; object-fit: cover; }
.sijia_yl .sijia_con h3 {
  font-size: 16px; padding: 10px 12px 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sijia_yl .sijia_con h3 a { color: var(--text); }
.sijia_yl .sijia_con h3 a:hover { color: var(--primary); }
.sijia_yl .sijia_con em {
  display: block; padding: 0 12px 12px; font-size: 13px;
  color: var(--text-muted); font-style: normal;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* News Detail */
.caseshow {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 32px;
  margin-bottom: 40px;
}
.fshow-title { text-align: center; margin-bottom: 24px; }
.fshow-title h3 { font-size: 24px; color: var(--text); line-height: 1.5; }
.fshow-title .date {
  padding: 12px 0; background: var(--bg-light);
  border-radius: var(--radius); margin-top: 16px;
  font-size: 13px; color: var(--text-muted);
}
.fshow-title .date span { margin: 0 16px; }
.fshow-con {
  font-size: 15px; line-height: 2; color: var(--text);
}
.fshow-con p { margin: 12px 0; }
.fshow-con img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 12px 0; }

/* ========== Video Page (standalone) ========== */
#xt-top {
  background: var(--primary); color: #fff;
  padding: 12px 24px; display: flex; align-items: center;
  justify-content: space-between;
}
#xt-top .xt-logo img { height: 36px; }
#xt-top .xt-geren { font-size: 14px; }
.xt-yanse { color: var(--accent); margin-left: 8px; }
#xt-left {
  width: 220px; background: #fff; border-right: 1px solid var(--border);
  padding: 16px 0; position: fixed; left: 0; top: 60px; bottom: 0;
  overflow-y: auto;
}
#xt-left .xt-menu a {
  display: block; padding: 10px 20px; font-size: 14px;
  color: var(--text); transition: all var(--transition);
  border-bottom: 1px solid var(--border);
}
#xt-left .xt-menu a:hover, #xt-left .xt-menu a.hover {
  background: var(--primary-lighter); color: var(--primary);
}
#xt-right {
  margin-left: 220px; background: #000; min-height: calc(100vh - 60px);
  display: flex; align-items: center; justify-content: center;
}

/* Video List Page */
.pictc {
  display: inline-block; width: 180px; margin: 8px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff;
  transition: all var(--transition);
}
.pictc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pictc dt img { width: 100%; height: 130px; object-fit: cover; }
.pictc dd {
  padding: 8px 10px; font-size: 13px; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pictc dd span { float: right; color: var(--text-muted); font-size: 12px; }

/* ========== Footer ========== */
.footer {
  background: var(--primary); color: rgba(255,255,255,0.8);
  padding: 40px 0 0;
}
.footMenu {
  text-align: center; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 24px;
}
.footMenu a { color: rgba(255,255,255,0.8); margin: 0 12px; font-size: 14px; }
.footMenu a:hover { color: #fff; }
.footMenu em { color: rgba(255,255,255,0.3); font-style: normal; }
.footMain { padding-bottom: 24px; }
.footLeft {
  width: 50%; font-size: 13px; line-height: 2;
}
.footLeft a { color: rgba(255,255,255,0.7); }
.footLeft a:hover { color: #fff; }
.footAdd { width: 25%; }
.footAdd .p1 { font-size: 13px; line-height: 1.8; }
.footAdd span { color: #fff; }
.footRight { width: 25%; text-align: right; }
.footRight div { display: inline-block; text-align: center; margin-left: 16px; }
.footRight img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; border: 2px solid rgba(255,255,255,0.3); }
.footRight p { font-size: 12px; margin-top: 6px; }

/* ========== Floating Service ========== */
.floating_ck {
  position: fixed; right: 20px; top: 20%;
  z-index: 9999;
}
.floating_ck dl {
  background: #0DA851; overflow: hidden;
}
.floating_ck dt { display: none; }
.floating_ck dl dd {
  position: relative; width: 80px; height: 80px;
  background-color: #0DA851; border-bottom: solid 1px #0E8427;
  text-align: center; background-repeat: no-repeat;
  background-position: center 20%; cursor: pointer;
}
.floating_ck dl dd:hover { background-color: #11A130; border-bottom: solid 1px #0E8427; }
.floating_ck dl dd:hover .floating_left { display: block; }
.consult, .words { background-image: url(image/20180503170355_1905341904.png); }
.quote { background-image: url(/image/20180503170355_1951555412.png); }
.qrcord { background-image: url(image/20180503170355_935744594.png); }
.return { background-image: url(image/20180503170355_937614095.png); }
.floating_ck dd span { color: #fff; display: block; padding-top: 54px; }
.floating_ck dd a { color: #fff; }
.floating_ck .zis a { color: #fff; }
.floating_left {
  position: absolute; left: -160px; top: 0; width: 160px; height: 80px;
  background-color: #11A130; border-bottom: solid 1px #796E61;
  display: none;
}
.floating_ewm { height: 260px; top: -180px; }
.floating_ewm i {
  background-image: url(image/20180704162853_990819929.jpg);
  display: block; width: 145px; height: 145px; margin: auto; margin-top: 7px;
}
.floating_ewm p { color: #fff; margin-top: 5px; }
.floating_ewm .qrcord_p01 { font-size: 12px; line-height: 20px; }
.floating_ewm .qrcord_p02 { font-size: 18px; }

/* ========== Breadcrumb for news ========== */
.pst_bg { padding: 16px 0; border-bottom: 1px solid var(--border); }
.pst { font-size: 14px; color: var(--text-muted); }
.pst a { color: var(--primary); }

/* ========== Products Grid Page ========== */
.anlititle { text-align: center; padding: 40px 0 20px; }
.anliclass { text-align: center; padding-bottom: 16px; }
.anliclass a {
  display: inline-block; padding: 8px 22px; margin: 4px;
  background: var(--primary); color: #fff; border-radius: var(--radius);
  font-size: 14px; transition: all var(--transition);
}
.anliclass a:hover, .anliclass a.cur { background: var(--accent); }
.anlilist ul {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.anlilist li {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff;
  transition: all var(--transition);
}
.anlilist li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.anlipic {
  height: 240px; overflow: hidden;
}
.anlipic img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.anlilist li:hover .anlipic img { transform: scale(1.05); }
.anlilist h3 {
  padding: 12px 14px 8px; font-size: 15px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.anlilist h3 a { color: var(--text); }
.anlilist h3 a:hover { color: var(--primary); }

/* ========== Responsive ========== */

/* Missing class: m1 (product menu first item icon) */
.proMenu li.m1 i { background-position: 0 0; }
.proMenu li.m1.on i { background-position: 0 -70px; }

/* Section title (reused in various pages) */
.secTitle {
  text-align: center; padding: 40px 0 24px;
}
.secTitle span {
  display: block; font-size: 28px; color: var(--text); font-weight: 700;
}

/* Generic section wrapper */
.section { padding: 0 0 48px; }

@media (max-width: 1024px) {
  .grWidth { width: 100%; padding: 0 16px; }
  .proBox { flex-direction: column; }
  .proBox .pImg { width: 100%; height: auto; }
  .caseMain ul { grid-template-columns: repeat(2, 1fr); }
  .settingList ul, .sijia_yl .sijia_con ul, .anlilist ul { grid-template-columns: repeat(2, 1fr); }
  .bingchonghai { grid-template-columns: repeat(2, 1fr); }
  .oddsMain ul { grid-template-columns: repeat(2, 1fr); }
  .about { flex-direction: column; }
  .about .video { width: 100%; }
  .footLeft, .footAdd, .footRight { width: 100%; margin-bottom: 16px; text-align: center; }
  .footRight { text-align: center; }
}
@media (max-width: 768px) {
  .nav ul { flex-wrap: wrap; }
  .nav li a { height: 44px; padding: 0 12px; font-size: 14px; }
  .caseMain ul { grid-template-columns: 1fr; }
  .settingList ul, .sijia_yl .sijia_con ul, .anlilist ul, .bingchonghai { grid-template-columns: 1fr; }
  .oddsMain ul { grid-template-columns: 1fr; }
  .listLeft { display: none; }
  .listWrapper { padding: 16px 0; }
  .newsBox { flex-direction: column; }
  .newsLeft { width: 100%; }
}
