/* ==========================================================================
   进口轴承企业官网 - 静态页面样式
   ========================================================================== */

/* ---------- 变量与基础 ---------- */
:root {
  --primary: #E62129;       /* 主色：顶部通栏/导航/页脚/标题 */
  --primary-deep: #B81A20;  /* 深主色：查询表单/侧栏/按钮 */
  --blue-bright: #0F58D6;   /* SKF 品牌板块蓝 */
  --orange: #FA9800;        /* 强调橙 */
  --gold-1: #F6CD75;        /* 金色渐变起 */
  --gold-2: #E9B257;        /* 金色渐变止 */
  --red-nsk: #F5173D;
  --red-fag: #C4002D;
  --orange-timken: #FB952C;
  --bg-gray: #F1F1F1;
  --bar-gray: #E8E8E8;
  --text: #333;
  --text-sub: #999;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font: 14px/1.6 "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { display: block; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; outline: none; }

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

/* 品牌色 */
.b-skf     { color: #0B5FAD; font-style: italic; }
.b-nsk     { color: #E60012; }
.b-fag     { color: #D0021B; }
.b-timken  { color: #F39800; }
.b-ntn     { color: #0059AC; }
.b-iko     { color: #D6242B; }
.b-koyo    { color: #004098; }
.b-nachi   { color: #E60012; }
.b-ina     { color: #6FA83C; }
.b-fyh     { color: #C4002D; }
.b-thk     { color: #C4002D; }
.b-asahi   { color: #1D5FA8; }

/* 通用区块标题 */
.sec-head { text-align: center; }
.sec-head h2 { font-size: 28px; color: var(--primary); letter-spacing: 2px; }
.sec-head p { margin-top: 10px; font-size: 14px; color: var(--text-sub); }
.sec-head p::before, .sec-head p::after {
  content: ""; display: inline-block; width: 46px; height: 1px;
  background: #ddd; vertical-align: middle; margin: 0 14px;
}

.section { padding-top: 55px; }

/* ==========================================================================
   顶部通栏
   ========================================================================== */
.topbar { background: var(--primary); color: #fff; font-size: 13px; }
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center; height: 34px;
}
.topbar-links a { margin-left: 26px; color: rgba(255,255,255,.9); }
.topbar-links a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   页头
   ========================================================================== */
.header { background: #fff; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 0 18px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon { width: 60px; height: 60px; color: var(--primary); }
.logo-text strong { display: block; font-size: 28px; color: #14346B; letter-spacing: 2px; }
.logo-text em { display: block; margin-top: 4px; font-size: 11px; font-style: normal; color: #9aa3b5; letter-spacing: 1.5px; }

.header-right { display: flex; align-items: center; }
.header-qr { display: flex; align-items: center; gap: 8px; }
.header-qr i {
  writing-mode: vertical-lr; font-style: normal; font-size: 12px;
  color: #8b8b8b; letter-spacing: 2px; line-height: 1.2;
}
.header-qr .qr { width: 78px; height: 78px; }
.header-qr .qr img { width: 100%; height: 100%; object-fit: cover; }
.header-hotline { margin-left: 22px; text-align: right; }
.header-hotline small { display: block; font-size: 13px; color: #8b8b8b; }
.header-hotline strong { display: block; margin-top: 2px; font-size: 26px; color: #E62129; letter-spacing: 1px; }
.header-phone-icon {
  margin-left: 14px; width: 46px; height: 46px; border-radius: 50%;
  background: #E62129; color: #fff; display: flex; align-items: center; justify-content: center;
}
.header-phone-icon .iconfont { width: 24px; height: 24px; }
.menu-btn { display: none; cursor: pointer; }

/* 二维码占位（JS 绘制） */
.qr { display: block; background: #fff; }
.qr canvas { width: 100%; height: 100%; }

/* ==========================================================================
   导航
   ========================================================================== */
.nav { background: var(--primary); }
.nav ul { display: flex; }
.nav a {
  display: block; padding: 0 45px; line-height: 54px;
  color: #fff; font-size: 15px;
}
.nav a:hover, .nav a.active { background: var(--orange); }

/* ==========================================================================
   Banner
   ========================================================================== */
.banner {
  position: relative; height: 600px; overflow: hidden; background: #f6f5f3;
  touch-action: pan-y; cursor: grab;
}
.banner:active { cursor: grabbing; }
.banner-slides { position: absolute; inset: 0; }
.banner-slide {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transition: opacity .8s ease;
}
.banner-slide.active { opacity: 1; }

.banner-strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: 30px; background: rgba(251,251,251,.85); border-top: 1px solid #eee;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.banner-strip .dot {
  box-sizing: content-box; width: 20px; height: 5px; padding: 7px 6px;
  background: #dcdcdc; background-clip: content-box; cursor: pointer;
}
.banner-strip .dot.active { background-color: var(--primary); }

/* ==========================================================================
   型号查询
   ========================================================================== */
.search-wrap { padding: 26px 0; background: #fff; }
.search-box {
  display: flex; align-items: stretch; height: 96px;
  background: var(--primary);
}
.search-title {
  display: flex; align-items: center; padding: 0 22px;
  font-size: 22px; color: #fff; border-right: 1px solid rgba(255,255,255,.35);
  letter-spacing: 1px; white-space: nowrap;
}
.search-field {
  display: flex; align-items: center; margin-left: 16px; gap: 8px;
}
.search-field label { font-size: 14px; color: #fff; white-space: nowrap; }
.search-field input, .search-field select {
  height: 36px; border: 0; padding: 0 10px;
  font-size: 13px; color: #555; background: #fff;
}
.search-field input:focus, .search-field select:focus {
  outline: none; box-shadow: inset 0 0 0 1px var(--orange);
}
.search-field input[type="text"] { width: 150px; }
.search-field.search-dim input { width: 62px; }
.search-field select {
  width: 140px; appearance: none; -webkit-appearance: none; padding-right: 24px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='m6 9 6 6 6-6z'/%3E%3C/svg%3E") no-repeat right 7px center/11px;
}
.search-btn {
  margin-left: auto; width: 104px; border: 0; background: transparent; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  font-size: 13px; cursor: pointer;
}
.search-btn .iconfont {
  position: relative; z-index: 0;
  width: 22px; height: 22px; color: var(--primary);
}
.search-btn .iconfont::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; z-index: -1;
}
.search-btn:hover .iconfont::before { background: #e8f0fb; }

/* ==========================================================================
   主营轴承品牌
   ========================================================================== */
.brands { padding-bottom: 50px; }
.brand-cards {
  margin-top: 32px; display: grid;
  grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.brand-cards li { position: relative; height: 115px; overflow: hidden; }
.brand-cards li img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.brand-cards li::after { content: ""; position: absolute; inset: 0; /*background: rgba(255,255,255,.38); */ }
.brand-cards li span {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.brand-cards li:hover img { transform: scale(1.08); }
.brand-cards li:hover span { color: var(--orange); }

/* ==========================================================================
   轴承展厅
   ========================================================================== */
.hall { padding-bottom: 60px; }
.hall-layout { display: flex; gap: 20px; margin-top: 32px; }

/* 侧边栏 */
.hall-side { width: 264px; flex-shrink: 0; }
.hall-side-head {
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; padding: 0 22px;
  background: var(--primary); color: #fff;
  font-size: 18px; font-weight: 700; letter-spacing: 2px;
}
.hall-side-head .iconfont { width: 22px; height: 22px; }
.hall-menu li a {
  position: relative; display: block; height: 62px; line-height: 62px;
  padding: 0 22px; background: var(--primary-deep);
  color: #fff; font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.hall-menu li a::after {
  content: "\203A"; position: absolute; right: 22px; top: 0;
  font-size: 18px; color: rgba(255,255,255,.55);
}
.hall-menu li a:hover { background: var(--orange); }
.hall-more {
  margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; background: var(--orange); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
}
.hall-more .iconfont { width: 14px; height: 14px; }
.hall-more:hover { background: #e88d00; }
.hall-hotline {
  margin-top: 22px; padding: 20px 0 22px;
  background: var(--primary); color: #fff; text-align: center;
}
.hall-hotline p { font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.hall-hotline strong {
  margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 22px; letter-spacing: 1px;
}
.hall-hotline strong .iconfont { width: 19px; height: 19px; }

/* 选项卡与产品 */
.hall-main { flex: 1; min-width: 0; }
.hall-tabs { display: flex; background: var(--bar-gray); }
.hall-tabs a { padding: 0 42px; line-height: 56px; font-size: 16px; color: var(--text); }
.hall-tabs a.active, .hall-tabs a:hover { background: var(--primary); color: #fff; }
.hall-panels { overflow: hidden; }
.hall-track { display: flex; transition: transform .5s ease; }
.hall-panel { flex: none; width: 100%; min-width: 0; }

.product-grid {
  margin-top: 16px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.product { border: 1px solid #ececec; background: #fff; transition: box-shadow .25s; }
.product:hover { box-shadow: 0 6px 18px rgba(6,58,144,.14); }
.product-pic { position: relative; height: 196px; }
.product-pic img {
  position: absolute; inset: 10px;
  width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain;
}
.product-name {
  height: 40px; line-height: 40px; text-align: center;
  background: var(--bar-gray); font-size: 14px; color: var(--text);
}

/* ==========================================================================
   6大服务保障
   ========================================================================== */
.service { display: flex; background: var(--bg-gray); }
.service-pic { width: 50%; height: 452px; flex-shrink: 0; }
.service-pic img { width: 100%; height: 100%; object-fit: cover; }
.service-body { flex: 1; padding: 52px 60px 0 46px; }
.service-body .sec-head p::before, .service-body .sec-head p::after { display: none; }
.service-grid {
  margin-top: 30px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.service-grid li {
  height: 112px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px;
  font-size: 15px; color: var(--text);
  transition: transform .25s, box-shadow .25s;
}
.service-grid li:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.service-grid .ico { width: 42px; height: 42px; color: #6b6b6b; }

/* ==========================================================================
   应用领域
   ========================================================================== */
.apps { padding-bottom: 62px; }
.apps-carousel { position: relative; margin-top: 30px; }
.apps-viewport { overflow: hidden; }
.apps-track { display: flex; gap: 14px; transition: transform .5s ease; }
.apps-track li { flex: 0 0 calc((100% - 42px) / 4); }
.apps-track img { width: 100%; height: 168px; object-fit: cover; }
.apps-track span {
  display: block; height: 40px; line-height: 40px; text-align: center;
  background: var(--bar-gray); font-size: 14px;
}
.apps-arrow {
  position: absolute; top: 83px; z-index: 2;
  width: 42px; height: 42px;
  background: #fff; border: 1px solid #e0e0e0; color: #9a9a9a;
  display: flex; align-items: center; justify-content: center;
}
.apps-arrow .iconfont { width: 18px; height: 18px; }
.apps-arrow.prev { left: -62px; }
.apps-arrow.next { right: -62px; }
.apps-arrow:hover { color: var(--primary); border-color: var(--primary); }

/* ==========================================================================
   进口轴承四大优势
   ========================================================================== */
.advs { background: #F0F0F0; padding-bottom: 72px; }
.adv { display: flex; gap: 42px; margin-top: 55px; }
.adv-pic { width: 50%; }
.adv-pic img { width: 100%; height: 262px; object-fit: cover; }
.adv-pic.collage {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-self: start;
}
.adv-pic.collage img { height: 160px; }
.adv-text { flex: 1; padding-top: 6px; }
.adv-title { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.adv-title .hex {
  width: 56px; height: 63px; flex-shrink: 0;
  background: var(--primary); color: #F8A72E;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 700; font-style: normal;
}
.adv-title h3 { font-size: 22px; color: var(--text); }
.adv-title span { display: block; margin-top: 3px; font-size: 13px; color: var(--text-sub); }
.adv-text p { font-size: 14px; color: #555; line-height: 2.15; margin-top: 5px; }
.adv-hotline { margin-top: 16px; font-size: 17px; color: var(--primary-deep); }
.adv-hotline strong { font-size: 22px; margin-left: 8px; }
.btn-blue {
  display: inline-block; margin-top: 16px; padding: 12px 38px;
  background: var(--primary-deep); color: #fff; font-size: 14px;
  border-radius: 4px;
}
.btn-blue:hover { background: var(--primary); }
.btn-orange {
  display: inline-block; margin-top: 24px; padding: 12px 46px;
  background: var(--orange); color: #fff; font-size: 14px;
  border-radius: 3px;
}
.btn-orange:hover { background: #e88d00; }

/* ==========================================================================
   走进·我们
   ========================================================================== */
.about { background: #F5F5F5; padding-bottom: 55px; }
.about-layout { display: flex; gap: 46px; margin-top: 35px; }
.about-pic { width: 45%; height: 300px; flex-shrink: 0; }
.about-pic img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 1; }
.about-text h3 { font-size: 34px; font-weight: 800; color: #1B2B4A; letter-spacing: 1px; }
.about-text h4 { margin-top: 12px; font-size: 19px; color: var(--primary); letter-spacing: 1px; }
.about-text p { margin-top: 16px; font-size: 14px; color: #666; line-height: 2.05; text-indent: 2em; }
.about-gallery { margin-top: 45px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.about-gallery img { width: 100%; height: 80px; object-fit: cover; }

/* ==========================================================================
   新闻动态
   ========================================================================== */
.news { padding-bottom: 65px; }
.news-layout { display: flex; gap: 46px; margin-top: 30px; }
.news-col { flex: 1; min-width: 0; }
.col-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #ececec; padding-bottom: 14px;
}
.col-head h3 { font-size: 19px; color: var(--text); }
.col-head h3 em { font-style: normal; font-size: 14px; color: var(--text-sub); }
.col-head .iconfont { width: 22px; height: 22px; color: #c3c3c3; }

.news-feature { display: flex; gap: 18px; margin-top: 24px; }
.news-feature > img { width: 218px; height: 142px; object-fit: cover; flex-shrink: 0; }
.news-feature-text { position: relative; flex: 1; }
.news-feature-text h4 { font-size: 16px; color: var(--text); line-height: 1.5; }
.news-feature-text h4:hover { color: var(--primary); }
.news-feature-text p { margin-top: 10px; font-size: 13px; color: var(--text-sub); line-height: 1.9; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis;}
.news-arrow {
  position: absolute; right: 0; bottom: 0;
  width: 26px; height: 26px; background: #E62129; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.news-arrow .iconfont { width: 12px; height: 12px; }
.news-arrow:hover { background: var(--primary); }

.news-list { margin-top: 16px; }
.news-list li {
  display: flex; align-items: center; justify-content: space-between;
  height: 45px; border-bottom: 1px solid #f0f0f0;
}
.news-list a {
  max-width: 78%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: #444; font-size: 14px;
}
.news-list a::before { content: "\00BB"; color: var(--orange); margin-right: 10px; }
.news-list a:hover { color: var(--primary); }
.news-list time { font-size: 13px; color: var(--text-sub); }

.faq-item { margin-top: 24px; padding-bottom: 20px; border-bottom: 1px solid #f2f2f2; }
.faq-item h4 { font-size: 15px; color: var(--text); }
.faq-item h4:hover { color: var(--primary); }
.faq-item p { margin-top: 10px; font-size: 13px; color: var(--text-sub); line-height: 1.9; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-overflow: ellipsis;}

/* ==========================================================================
   四大品牌展示
   ========================================================================== */
.brandshow { padding: 28px 0 20px; }
.brandshow-row { display: flex; height: 300px; margin-bottom: 26px; }
.brandshow-text { width: 41.5%; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 40px 0 44px; color: #fff; }
.brandshow-text h3 { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: 1px; }
/* .brandshow-text h4 { margin-top: 24px; font-size: 18px; font-weight: 700; letter-spacing: 1px; } */
.brandshow-text p { margin-top: 13px; font-size: 13px; line-height: 2; color: rgba(255,255,255,.92); }
.brandshow-text a { display: inline-block; margin-top: 15px; font-size: 13px; }
.brandshow-text a:hover { text-decoration: underline; }
.brandshow-pic { flex: 1; }
.brandshow-pic img { width: 100%; height: 100%; object-fit: cover; }

.bg-skf { background: var(--blue-bright); }
.bg-nsk { background: var(--red-nsk); }
.bg-fag { background: var(--red-fag); }
.bg-timken { background: var(--orange-timken); }

/* ==========================================================================
   底部链接区
   ========================================================================== */
.links { padding: 26px 0 34px; }
.links-block { margin-bottom: 10px; }
.links-head { border-bottom: 1px solid #e5e5e5; padding-bottom: 12px; }
.links-head h3 { font-size: 18px; color: var(--primary); }
.links-head h3 em { font-style: normal; font-size: 14px; color: var(--text-sub); }
.links-list { display: flex; flex-wrap: wrap; padding-top: 6px; min-height: 20px; }
.links-list a {
  display: block; margin-right: 30px; line-height: 36px;
  font-size: 14px; color: #555;
}
.links-list a:hover { color: var(--orange); }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { border-top: 4px solid var(--orange); background: var(--primary); color: #fff; }
.footer-inner { display: flex; align-items: flex-start; padding: 42px 0 38px; }
.footer-logo { width: 86px; height: 86px; color: #fff; margin: 24px 46px 0 6px; }
.footer h4 { font-size: 17px; font-weight: 700; letter-spacing: 1px; margin-bottom: 16px; }
.footer-nav { /*display: flex;*/ }
.footer-nav-cols { display: flex; gap: 48px; }
.footer-nav-cols li, .footer-contact li { line-height: 32px; font-size: 13px; color: rgba(255,255,255,.88); }
.footer-nav-cols a::before { content: "\00BB"; margin-right: 8px; color: rgba(255,255,255,.55); }
.footer-nav-cols a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-divider {
  width: 1px; height: 158px; flex-shrink: 0;
  background: rgba(255,255,255,.22);
  margin: 8px 52px 0;
}
.footer-contact span { color: rgba(255,255,255,.88); }
.footer-qrs { margin-left: auto; display: flex; gap: 26px; }
.footer-qrs > div { text-align: center; }
.footer-qrs .qr { width: 104px; height: 104px; padding: 5px; border: 1px solid rgba(255,255,255,.3); }
.footer-qrs p { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.9); }

.copyright {
  background: #fff; border-top: 1px solid #eee;
  padding: 18px 0; text-align: center; font-size: 13px; color: #666;
}
.copyright a { color: #666; }
.copyright a:hover { color: var(--primary); }

/* ==========================================================================
   悬浮在线客服
   ========================================================================== */
.float-service {
  position: fixed; right: 0; top: 46%; z-index: 99;
  display: flex; align-items: center; font-size: 14px;
}
.float-trigger {
  writing-mode: vertical-lr; letter-spacing: 4px;
  padding: 16px 9px; background: var(--primary); color: #fff;
  font-size: 14px; border-radius: 6px 0 0 6px; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: background .25s;
}
.float-trigger:hover { background: var(--orange); }
.float-trigger i { color: #9db3dd; font-style: normal; }
.float-panel {
  width: 220px; margin-right: 10px; padding: 4px 16px;
  background: #fff; border: 1px solid #ececec; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(6,58,144,.16);
  opacity: 0; visibility: hidden; transform: translateX(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.float-service.open .float-panel { opacity: 1; visibility: visible; transform: none; }
.float-panel li { display: flex; align-items: center; gap: 10px; padding: 11px 0; }
.float-panel li + li { border-top: 1px dashed #ececec; }
.float-panel .f-ico {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: #eef3fb; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.float-panel .f-ico .iconfont { width: 16px; height: 16px; }
.float-panel small { display: block; font-size: 12px; color: #999; line-height: 1.5; }
.float-panel strong { font-size: 15px; color: var(--text); }
.float-panel .f-qr { flex-direction: column; justify-content: center; gap: 8px; }
.float-panel .f-qr .qr { width: 108px; height: 108px; padding: 4px; border: 1px solid #ececec; }

/* ==========================================================================
   内页通用：页面横幅 + 面包屑
   ========================================================================== */
.page-banner {
  height: 220px; background: var(--primary-deep) center/cover no-repeat;
  display: flex; align-items: center; color: #fff;
}
.page-banner .container { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.page-banner h1 { font-size: 34px; letter-spacing: 3px; }
.page-banner h1 em { font-style: normal; font-size: 14px; color: rgba(255,255,255,.7); margin-left: 12px; letter-spacing: 2px; }
.breadcrumb { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .iconfont { width: 12px; height: 12px; margin: 0 8px; }

/* ==========================================================================
   内页通用：侧边栏 + 内容 双栏布局
   ========================================================================== */
.sub-layout { display: flex; gap: 32px; padding: 40px 0 60px; }
.sub-side { width: 240px; flex-shrink: 0; }
.sub-main { flex: 1; min-width: 0; }

.side-box { background: #fff; border: 1px solid #eee; }
.side-box + .side-box { margin-top: 22px; }
.side-title {
  height: 56px; padding: 0 20px; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 18px; letter-spacing: 1px;
}
.side-title em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: 1px; }
.side-menu li a {
  display: block; padding: 0 20px; line-height: 48px; font-size: 15px;
  color: #444; border-bottom: 1px solid #f0f0f0;
  display: flex; align-items: center; justify-content: space-between;
}
.side-menu li a .iconfont { width: 12px; height: 12px; color: #ccc; transition: transform .2s; }
.side-menu li a:hover, .side-menu li a.active { color: var(--primary); background: #fff7f7; }
.side-menu li a:hover .iconfont, .side-menu li a.active .iconfont { color: var(--primary); transform: translateX(3px); }

.side-contact { padding: 22px 0; }
.side-contact p { display: flex; align-items: center; gap: 8px; padding: 15px 20px; font-size: 13px; color: #666; line-height: 1.6; }
.side-contact p + p { margin-top: 12px; }
.side-contact p .iconfont { width: 15px; height: 15px; flex-shrink: 0; color: var(--primary); }

/* ==========================================================================
   关于我们
   ========================================================================== */
.about-hero { padding: 50px 0; }
.about-hero-layout { display: flex; gap: 46px; align-items: center; }
.about-hero-pic { width: 45%; flex-shrink: 0; }
.about-hero-pic img { width: 100%; height: 340px; object-fit: cover; }
.about-hero-text h3 { font-size: 30px; color: #1B2B4A; letter-spacing: 1px; }
.about-hero-text h3 em { font-style: normal; font-size: 14px; color: var(--primary); margin-left: 10px; letter-spacing: 2px; }
.about-hero-text p { margin-top: 16px; font-size: 14px; color: #666; line-height: 2.1; text-indent: 2em; }

.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat-item { background: var(--bg-gray); padding: 28px 10px; text-align: center; }
.stat-item .num { font-size: 36px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-item .num span { font-size: 18px; }
.stat-item p { margin-top: 10px; font-size: 14px; color: #555; }

.about-culture { background: #F5F5F5; padding: 50px 0; }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.culture-card { background: #fff; padding: 32px 26px; text-align: center; transition: transform .25s, box-shadow .25s; }
.culture-card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.culture-card .ico { width: 54px; height: 54px; color: var(--primary); }
.culture-card h4 { margin-top: 16px; font-size: 18px; color: var(--text); }
.culture-card p { margin-top: 10px; font-size: 13px; color: #888; line-height: 1.9; }

/* ==========================================================================
   联系我们
   ========================================================================== */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 40px 0; }
.contact-card {
  background: #fff; border: 1px solid #eee; padding: 30px 20px; text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.08); border-color: var(--primary); }
.contact-card .ico { width: 46px; height: 46px; color: var(--primary); }
.contact-card h4 { margin-top: 14px; font-size: 16px; color: var(--text); }
.contact-card p { margin-top: 8px; font-size: 14px; color: #666; line-height: 1.7; }

.contact-main { display: flex; gap: 36px; padding-bottom: 50px; }
.contact-form-wrap { flex: 1; background: #fff; border: 1px solid #eee; padding: 32px; }
.contact-form-wrap h3 { font-size: 20px; color: var(--text); padding-bottom: 14px; border-bottom: 1px solid #eee; }
.contact-form { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-item { display: flex; flex-direction: column; gap: 8px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 14px; color: #444; }
.form-item label .req { color: var(--primary); margin-right: 3px; }
.form-item input, .form-item textarea {
  width: 100%; border: 1px solid #ddd; padding: 10px 12px; font-size: 14px; color: #333;
  transition: border-color .2s;
}
.form-item textarea { resize: vertical; min-height: 110px; }
.form-item input:focus, .form-item textarea:focus { border-color: var(--primary); }
.form-submit {
  grid-column: 1 / -1; justify-self: start;
  padding: 12px 48px; background: var(--primary); color: #fff; border: 0;
  font-size: 15px; letter-spacing: 2px; border-radius: 3px; transition: background .2s;
}
.form-submit:hover { background: var(--primary-deep); }

.contact-map { width: 340px; flex-shrink: 0; }
.contact-map h3 { font-size: 18px; color: var(--text); margin-bottom: 14px; }
.map-box { height: 260px; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 14px; }
.contact-map ul { margin-top: 18px; }
.contact-map li { font-size: 14px; color: #555; line-height: 2.1; }
.contact-map li .iconfont { width: 15px; height: 15px; color: var(--primary); margin-right: 8px; }

/* ==========================================================================
   新闻列表
   ========================================================================== */

.news-card-list { display: flex; flex-direction: column; gap: 20px; }
.news-card {
  display: flex; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid #f0f0f0;
}
.news-card:last-child { border-bottom: 0; }
.news-card-pic { width: 240px; height: 156px; flex-shrink: 0; overflow: hidden; }
.news-card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-pic img { transform: scale(1.06); }
.news-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-card-body h4 { font-size: 18px; color: var(--text); line-height: 1.5; }
.news-card:hover .news-card-body h4 { color: var(--primary); }
.news-card-meta { margin-top: 8px; font-size: 12px; color: #999; }
.news-card-meta span { margin-right: 16px; }
.news-card-meta .iconfont { width: 13px; height: 13px; margin-right: 4px; color: var(--orange); }
.news-card-body p { margin-top: 10px; font-size: 13px; color: #888; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-more { margin-top: auto; align-self: flex-start; font-size: 13px; color: var(--primary); }
.news-card-more .iconfont { width: 12px; height: 12px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a ,.pagination span {
  min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid #e0e0e0;
  display: flex; align-items: center; justify-content: center; font-size: 14px; color: #555;
}
.pagination a:hover, .pagination a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .iconfont { width: 12px; height: 12px; }
.pagination span{background-color: #f1f1f1;}
/* ==========================================================================
   新闻内容
   ========================================================================== */
.article { background: #fff; padding: 36px 40px; }
.article h1 { font-size: 26px; color: var(--text); line-height: 1.5; }
.article-meta {
  margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid #eee;
  font-size: 13px; color: #999; display: flex; gap: 22px; flex-wrap: wrap;
}
.article-meta .iconfont { width: 13px; height: 13px; margin-right: 5px; color: var(--orange); }
.article-content { margin-top: 26px; font-size: 15px; color: #444; line-height: 2; }
.article-content p { margin-bottom: 18px; text-indent: 2em; }
.article-content img { max-width: 100%; height: auto; margin: 18px auto; }
.article-tags { margin-top: 30px; padding-top: 18px; border-top: 1px solid #eee; font-size: 13px; color: #888; }
.article-tags a { display: inline-block; margin: 0 6px; padding: 3px 12px; background: #f5f5f5; color: #666; border-radius: 2px; }
.article-tags a:hover { background: var(--primary); color: #fff; }

.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #eee; }
.article-nav a { flex: 1; font-size: 14px; color: #555; padding: 12px 16px; background: #fafafa; }
.article-nav a:hover { background: #fff7f7; color: var(--primary); }
.article-nav .dir { display: block; font-size: 12px; color: #999; margin-bottom: 4px; }
.article-nav .next { text-align: right; }

/* ==========================================================================
   产品列表
   ========================================================================== */
.product-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 26px; padding: 18px 20px; background: #fafafa; border: 1px solid #eee; }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group label { font-size: 13px; color: #888; }
.filter-group select { height: 32px; border: 1px solid #ddd; padding: 0 10px; font-size: 13px; color: #444; min-width: 120px; }

.product-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { background: #fff; border: 1px solid #eee; transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.1); transform: translateY(-4px); }
.product-card-pic { height: 220px; display: flex; align-items: center; justify-content: center; padding: 16px; background: #fafafa; }
.product-card-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card-body { padding: 16px; }
.product-card-body h4 { font-size: 16px; color: var(--text); line-height: 1.4; }
.product-card:hover .product-card-body h4 { color: var(--primary); }
.product-card-body .model { margin-top: 6px; font-size: 13px; color: var(--orange); }
.product-card-body .desc { margin-top: 8px; font-size: 12px; color: #999; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================================
   产品内容
   ========================================================================== */
.product-detail { display: flex; gap: 36px; background: #fff; padding: 30px; }
.product-gallery { width: 420px; flex-shrink: 0; }
.product-main-pic { height: 400px; border: 1px solid #eee; display: flex; align-items: center; justify-content: center; padding: 20px; background: #fafafa; }
.product-main-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }

.product-info { flex: 1; min-width: 0; }
.product-info h2 { font-size: 24px; color: var(--text); line-height: 1.4; }
.product-info .product-dealer { margin-top: 14px; font-size: 15px; color: #666; }
.product-info .product-hotline { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; padding: 16px 18px; background: #fafafa; }
.product-info .product-hotline span { font-size: 14px; color: #888; }
.product-info .product-hotline strong { font-size: 24px; color: var(--primary); }
.product-info .actions { margin-top: 24px; display: flex; gap: 14px; }
.btn-primary, .btn-line {
  padding: 12px 36px; font-size: 15px; letter-spacing: 1px; border-radius: 3px; transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); }
.btn-line { border: 1px solid var(--primary); color: var(--primary); }
.btn-line:hover { background: var(--primary); color: #fff; }

.detail-content { margin-top: 24px; padding: 30px; background: #fff; font-size: 15px; color: #444; line-height: 2; }
.detail-content h3 { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #eee; font-size: 18px; color: var(--text); }
.detail-content p { margin-bottom: 16px; text-indent: 2em; }
.detail-content p:last-child { margin-bottom: 0; }


html { -webkit-text-size-adjust: 100%; }

@media (max-width: 1220px) {
  .container { width: auto; padding: 0 15px; }
  .apps-arrow.prev { left: 8px; }
  .apps-arrow.next { right: 8px; }
}

@media (max-width: 1024px) {
  .section { padding-top: 42px; }

  /* 型号查询：3行布局 —— 型号一行 / 品牌+类型一行 / 内径外径厚度一行 */
  .search-box { flex-wrap: wrap; height: auto; padding: 16px; gap: 12px; }
  .search-title {
    flex: 1 1 100%; padding: 0 0 10px; border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.3);
  }
  .search-field { margin-left: 0; min-width: 0; }
  .search-field input, .search-field select { flex: 1; width: auto; min-width: 0; }
  .search-field:nth-of-type(1) { flex: 1 1 100%; }
  .search-field:nth-of-type(2),
  .search-field:nth-of-type(3) { flex: 1 1 calc(50% - 6px); }
  .search-field:nth-of-type(4),
  .search-field:nth-of-type(5),
  .search-field:nth-of-type(6) { flex: 1 1 calc(33.333% - 8px); }
  .search-btn { flex: 1 1 100%; margin: 4px 0 0; }

  /* 内页：平板适配 */
  .page-banner { height: 180px; }
  .page-banner h1 { font-size: 28px; }
  .sub-side { width: 200px; }
  .about-hero-layout { flex-direction: column; gap: 24px; }
  .about-hero-pic { width: 100%; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-main { flex-direction: column; }
  .contact-map { width: 100%; }
  .product-list-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { flex-direction: column; }
  .product-gallery { width: 100%; }

  /* 主营品牌 */
  .brand-cards { grid-template-columns: repeat(4, 1fr); }
  .brand-cards li { height: 96px; }

  /* 轴承展厅：上下堆叠，菜单横向滚动 */
  .hall-layout { flex-direction: column; gap: 16px; }
  .hall-side { width: auto; }
  .hall-menu { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hall-menu li { flex: none; }
  .hall-menu li a { padding: 0 18px; height: 46px; line-height: 46px; white-space: nowrap; }
  .hall-menu li a::after { display: none; }
  .hall-more { margin-top: 0; }
  .hall-hotline { display: none; }
  .hall-tabs { overflow-x: auto; }
  .hall-tabs a { flex: none; padding: 0 22px; line-height: 48px; white-space: nowrap; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }

  /* 服务保障 */
  .service { flex-direction: column; }
  .service-pic { width: 100%; height: 300px; }
  .service-body { padding: 34px 20px 44px; }

  /* 应用领域 */
  .apps-track li { flex-basis: calc((100% - 28px) / 3); }

  /* 优势 / 走进我们 / 新闻 */
  .adv { flex-direction: column; gap: 22px; margin-top: 36px; }
  .adv-pic { width: 100%; }
  .about-layout { flex-direction: column; gap: 26px; }
  .about-pic { width: 100%; height: 300px; }
  .news-layout { flex-direction: column; gap: 34px; }

  /* 四大品牌 */
  .brandshow-row { height: auto; }
  .brandshow-text { width: 46%; padding: 24px 26px; }
  .brandshow-text h3 { font-size: 26px; }
  .brandshow-pic img { height: 240px; }
}

@media (max-width: 767px) {
  .section { padding-top: 32px; }
  .sec-head h2 { font-size: 22px; }
  .sec-head p::before, .sec-head p::after { width: 24px; margin: 0 8px; }

  /* 顶部通栏 */
  .topbar { font-size: 12px; }
  .topbar-links { display: none; }
  .topbar-inner { justify-content: center; }

  /* 页头 */
  .header-inner { padding: 12px 0; }
  .header-qr { display: none; }
  .logo { gap: 10px; }
  .logo-icon { width: 40px; height: 40px; }
  .logo-text strong { font-size: 16px; letter-spacing: 1px; }
  .logo-text em { font-size: 8px; }
  .header-hotline { margin-left: 0; }
  .header-hotline strong { font-size: 15px; letter-spacing: 0; }
  .header-phone-icon { display: flex; width: 38px; height: 38px; margin-left: 10px; }
  .header-phone-icon .iconfont { width: 20px; height: 20px; }
  .menu-btn {
    display: flex; align-items: center; justify-content: center;
    margin-left: 8px; width: 38px; height: 38px; border-radius: 50%;
    background: #E62129; color: #fff;
  }
  .menu-btn .iconfont { width: 20px; height: 20px; }
  .menu-btn:active { background: #c41a21; }

  /* 导航：默认隐藏，点击展开为竖向列表 */
  .nav { display: none; }
  .nav.open { display: block; }
  .nav .container { width: 100%; padding: 0; }
  .nav ul { flex-direction: column; overflow: visible; }
  .nav li { width: 100%; }
  .nav a { display: block; padding: 0 18px; line-height: 46px; font-size: 15px; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.12); }

  /* Banner */
  .banner { height: 190px; }

  /* 型号查询（继承 ≤1024 的 3 行布局，此处仅微调尺寸） */
  .search-wrap { padding: 16px 0; }
  .search-box { padding: 12px; gap: 10px; }
  .search-title { font-size: 16px; padding-bottom: 8px; }
  .search-field { gap: 8px; }
  .search-field label { font-size: 13px; }
  .search-field input, .search-field select { height: 34px; font-size: 13px; }
  .search-field:nth-of-type(2),
  .search-field:nth-of-type(3) { flex: 1 1 calc(50% - 5px); }
  .search-field:nth-of-type(4),
  .search-field:nth-of-type(5),
  .search-field:nth-of-type(6) { flex: 1 1 calc(33.333% - 7px); }

  /* 主营品牌 */
  .brand-cards { margin-top: 20px; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-cards li { height: 78px; }

  /* 轴承展厅 */
  .hall-side-head { height: 48px; font-size: 16px; }
  .product-grid { margin-top: 12px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-pic { height: 150px; }
  .product-name { height: 36px; line-height: 36px; font-size: 13px; }

  /* 服务保障 */
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-grid li { height: 96px; font-size: 14px; }

  /* 应用领域 */
  .apps-track li { flex-basis: calc((100% - 14px) / 2); }
  .apps-track img { height: 130px; }

  /* 优势 / 走进我们 */
  .adv-pic img { height: 200px; }
  .adv-title h3 { font-size: 19px; }
  .about-text h3 { font-size: 24px; }
  .about-text h4 { font-size: 16px; }
  .about-gallery { margin-top: 24px; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .about-gallery img { height: 66px; }

  /* 新闻 */
  .news-feature > img { width: 118px; height: 88px; }

  /* 四大品牌 */
  .brandshow-row { flex-direction: column; margin-bottom: 16px; }
  .brandshow-text { width: auto; padding: 20px 16px; }
  .brandshow-text h3 { font-size: 24px; }
  .brandshow-text p { font-size: 12px; line-height: 1.9; }
  .brandshow-pic img { height: 170px; }

  /* 页脚 */
  .footer-inner { flex-wrap: wrap; gap: 22px; padding: 26px 0; }
  .footer-logo { display: none; }
  .footer-divider { display: none; }
  .footer-nav-cols { flex-wrap: wrap; gap: 6px 26px; }
  .footer-qrs { margin-left: 0; gap: 18px; }
  .footer-qrs .qr { width: 84px; height: 84px; }

  /* 悬浮客服移到右下角 */
  .float-service { top: auto; bottom: 90px; }

  /* 内页：手机适配 */
  .page-banner { height: 150px; }
  .page-banner h1 { font-size: 22px; letter-spacing: 1px; }
  .page-banner h1 em { font-size: 11px; margin-left: 6px; }
  .sub-layout { flex-direction: column; padding: 24px 0 40px; }
  .sub-side { width: 100%; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-item { padding: 20px 8px; }
  .stat-item .num { font-size: 28px; }
  .culture-grid { grid-template-columns: 1fr; gap: 14px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 24px 0; }
  .contact-card { padding: 22px 12px; }
  .contact-card .ico { width: 38px; height: 38px; }
  .contact-form { grid-template-columns: 1fr; }
  .news-card { flex-direction: column; gap: 12px; }
  .news-card-pic { width: 100%; height: 180px; }
  .product-list-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-pic { height: 150px; }
  .product-main-pic { height: 280px; }
  .article { padding: 22px 16px; }
  .article h1 { font-size: 20px; }
  .article-nav { flex-direction: column; }
  .article-nav .next { text-align: left; }
}

/* ==========================================================================
   品牌 / 类型 页面
   ========================================================================== */
.brand-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-card {
  display: block; padding: 26px 20px; text-align: center;
  background: #fff; border: 1px solid #eee;
  transition: box-shadow .25s, transform .25s;
}
.brand-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.1); transform: translateY(-4px); }
.brand-card-pic { height: 200px; display: flex; align-items: center; justify-content: center; }
.brand-card-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-card h4 { margin-top: 18px; font-size: 16px; color: var(--text); }
.brand-card:hover h4 { color: var(--primary); }
.brand-card-more {
  display: inline-block; margin-top: 16px; padding: 6px 24px;
  border: 1px solid var(--primary); border-radius: 3px;
  font-size: 13px; color: var(--primary); transition: all .2s;
}
.brand-card-more .iconfont { width: 11px; height: 11px; margin-left: 4px; }
.brand-card:hover .brand-card-more { background: var(--primary); color: #fff; }

.type-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type-card {
  display: block; padding: 32px 24px; text-align: center;
  background: #fff; border: 1px solid #eee;
  transition: box-shadow .25s, transform .25s;
}
.type-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.1); transform: translateY(-4px); }
.type-card h4 { font-size: 17px; color: var(--text); }
.type-card:hover h4 { color: var(--primary); }
.type-card p { margin-top: 8px; font-size: 12px; color: #aaa; letter-spacing: .5px; }
.type-card .brand-card-more { margin-top: 18px; }

.entry-title { display: flex; align-items: baseline; gap: 12px; margin: 28px 0 20px; padding-bottom: 14px; border-bottom: 1px solid #eee; }
.entry-title h3 { font-size: 20px; color: var(--text); }
.entry-title span { font-size: 12px; color: #bbb; letter-spacing: 2px; }

@media (max-width: 1024px) {
  .brand-list-grid, .type-list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .brand-list-grid, .type-list-grid { grid-template-columns: 1fr; gap: 14px; }
  .brand-card { padding: 22px 16px; }
  .type-card { padding: 26px 18px; }
}
