/* 奥天光电 · STEMMER IMAGING 风格改版，主色红 */

:root{
  --si-red:#E60003;
  --si-red-dark:#C40003;
  --si-red-soft:#FFE8E8;
  --si-ink:#141414;
  --si-text:#2A2A2A;
  --si-muted:#6B6B6B;
  --si-line:#E6E6E6;
  --si-bg:#F5F5F5;
  --si-white:#fff;
  --si-dark:#1A1A1A;
  --si-header-h:78px;
  --si-wrap:1240px;
}

html{scroll-behavior:smooth}
body{
  font-family:"Inter","PingFang SC","Microsoft YaHei",sans-serif !important;
  color:var(--si-text);
  background:var(--si-white);
  line-height:1.65;
}
a{transition:color .2s,background .2s,border-color .2s,opacity .2s}
img{max-width:100%;height:auto}

.si-wrap,.container,.container-layout{
  max-width:var(--si-wrap) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:20px;
  padding-right:20px;
}

/* 顶栏 */
.si-topbar{
  background:var(--si-ink);
  color:#cfcfcf;
  font-size:13px;
  height:38px;
  line-height:38px;
}
.si-topbar-inner{display:flex;align-items:center;justify-content:space-between;max-width:var(--si-wrap);margin:0 auto;padding:0 20px}
.si-topbar a{color:#cfcfcf}
.si-topbar a:hover{color:#fff}
.si-topbar-left span{margin-right:22px}
.si-topbar-left i{margin-right:6px;color:var(--si-red)}
.si-top-cta{
  display:inline-block;
  background:var(--si-red);
  color:#fff !important;
  padding:0 16px;
  height:38px;
  line-height:38px;
  font-weight:600;
}
.si-top-cta:hover{background:var(--si-red-dark)}

/* 主导航 */
#pc-header.si-header{
  position:sticky;top:0;z-index:1000;
  background:#fff;
  box-shadow:0 1px 0 var(--si-line);
}
#pc-header .si-navrow{
  display:flex;align-items:center;min-height:var(--si-header-h);
}
#pc-header .logo{padding:10px 0;flex:0 0 220px}
#pc-header .logo img{max-height:48px !important;max-width:200px;width:auto}
#pc-header .si-nav{
  flex:1;display:flex;justify-content:center;
}
#pc-header .nav.nav-menu{
  display:flex;align-items:center;margin:0;padding:0;
}
#pc-header .nav li a{
  color:var(--si-ink) !important;
  line-height:var(--si-header-h) !important;
  padding:0 16px !important;
  font-size:15px !important;
  font-weight:500 !important;
}
#pc-header .nav li.active > a.first-level,
#pc-header .nav li:hover > a.first-level{
  color:var(--si-red) !important;
}
#pc-header .nav li.active > a.first-level:after,
#pc-header .nav li:hover > a.first-level:after{
  content:"";position:absolute;left:16px;right:16px;bottom:0;height:3px;background:var(--si-red);
}
#pc-header .nav li a.first-level{position:relative}
#pc-header .nav li ul{top:var(--si-header-h) !important;min-width:180px;border-top:3px solid var(--si-red);box-shadow:0 12px 30px rgba(0,0,0,.08)}
#pc-header .nav li ul li a{line-height:44px !important;font-size:14px !important;font-weight:400 !important}
#pc-header .nav li ul li a:hover{background:var(--si-red) !important;color:#fff !important}

#pc-header .nav li.si-nav-products{position:relative}
#pc-header .si-mega{
  display:none;
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top:100%;
  width:660px;
  background:#fff;
  border-top:3px solid var(--si-red);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  padding:14px 16px 16px;
  z-index:40;
  grid-template-columns:repeat(3,1fr);
  gap:0 8px;
}
#pc-header .nav li.si-nav-products:hover > .si-mega{display:grid}
#pc-header .si-mega a{
  line-height:40px !important;
  height:auto !important;
  padding:0 12px !important;
  font-size:14px !important;
  font-weight:400 !important;
  color:var(--si-ink) !important;
  display:block;
  text-align:left;
}
#pc-header .si-mega a:hover{background:var(--si-red) !important;color:#fff !important}

.si-subnav-wrap{
  position:relative;z-index:30;background:#fff;border-bottom:1px solid var(--si-line);
}
.si-subnav{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  padding:6px 0 0;position:relative;z-index:31;
}
.si-subnav a{
  display:inline-block;padding:12px 14px;font-size:14px;color:#333;
  border-bottom:2px solid transparent;cursor:pointer;pointer-events:auto;position:relative;z-index:32;
}
.si-subnav a:hover,.si-subnav a.active{color:var(--si-red);border-bottom-color:var(--si-red)}
#pc-header .si-mega-m{padding:8px 0}
#pc-header .si-mega-m a{display:block;line-height:40px !important;padding:0 16px !important;font-size:14px !important}
#pc-header .si-tools{display:flex;align-items:center;gap:8px;flex:0 0 auto}
#pc-header .searchBar,#pc-header .shopBar,#pc-header .log-in{position:static !important;top:auto !important;right:auto !important}
#pc-header a.search-ico,#pc-header a.shop-ico,#pc-header a.user-ico{
  width:40px;height:40px;line-height:40px;border-radius:50%;background:#f3f3f3;display:inline-block;text-align:center;
}
#pc-header a.search-ico i,#pc-header a.shop-ico i{color:var(--si-ink) !important}
.si-header-cta{
  display:inline-block;background:var(--si-red);color:#fff !important;height:40px;line-height:40px;padding:0 18px;font-size:14px;font-weight:600;margin-left:8px;
}
.si-header-cta:hover{background:var(--si-red-dark);color:#fff !important}

body.scrolled #pc-header{box-shadow:0 8px 24px rgba(0,0,0,.08)}

/* 搜索弹层 */
.searchBar-m a:hover{color:var(--si-red) !important}
.searchBar-m .input{color:#fff !important;border-bottom-color:var(--si-red) !important}

/* Hero */
.si-hero .slides img,.si-hero .owl-item img{width:100%;display:block;max-height:620px;object-fit:cover}
.si-hero .owl-dots{bottom:18px}
.si-hero .owl-dot.active span{background:var(--si-red) !important}

/* 区块标题 */
.si-head{text-align:center;margin:0 auto 40px;max-width:760px}
.si-kicker{color:var(--si-red);font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin-bottom:8px}
.si-head h2,.si-head h3,.title-c h3{
  font-size:32px;font-weight:700;color:var(--si-ink);margin:0 0 10px;letter-spacing:-.02em
}
.si-head p{color:var(--si-muted);margin:0}
.si-section{padding:72px 0}
.si-section.gray{background:var(--si-bg)}
.si-section.dark{background:var(--si-ink);color:#fff}
.si-section.dark .si-head h2,.si-section.dark .si-head h3,.si-section.dark .title-c h3{color:#fff}
.si-section.dark .si-head p{color:#bdbdbd}

/* 产品矩阵 */
.si-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.si-cat{
  display:block;background:#fff;border:1px solid var(--si-line);padding:28px 22px 24px;min-height:160px;position:relative;overflow:hidden;
}
.si-cat:hover{border-color:var(--si-red);box-shadow:0 10px 28px rgba(230,0,3,.12);transform:translateY(-3px)}
.si-cat .en{display:block;color:var(--si-red);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px}
.si-cat h4{margin:0 0 8px;font-size:20px;color:var(--si-ink);font-weight:700}
.si-cat p{margin:0;color:var(--si-muted);font-size:13px}
.si-cat .more{display:inline-block;margin-top:16px;color:var(--si-red);font-weight:600;font-size:13px}
.si-cat .more:after{content:" →"}

/* 产品卡片 */
.si-products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.si-card{
  background:#fff;border:1px solid var(--si-line);display:block;height:100%;
}
.si-card:hover{border-color:var(--si-red);box-shadow:0 12px 30px rgba(0,0,0,.06)}
.si-card .pic{height:200px;display:flex;align-items:center;justify-content:center;background:#fafafa;padding:16px}
.si-card .pic img{max-height:168px;width:auto;object-fit:contain}
.si-card .body{padding:16px 18px 20px}
.si-card h3,.si-card h2{font-size:15px;margin:0;line-height:1.45;font-weight:600}
.si-card h3 a,.si-card h2 a{color:var(--si-ink)}
.si-card h3 a:hover,.si-card h2 a:hover{color:var(--si-red)}
.product-list .media,.carousel-pro .media.media-y{
  border:1px solid var(--si-line) !important;box-shadow:none !important;
}
.product-list .media:hover{border-color:var(--si-red) !important}
.text-yellow,.v2-1.text-yellow,.ey-price.text-yellow{color:var(--si-red) !important}

/* 关于 */
.si-about{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.si-about h2{font-size:34px;margin:0 0 16px;color:#fff;font-weight:700}
.si-about p{color:#d0d0d0;font-size:15px}
.si-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.si-stat{border-left:3px solid var(--si-red);padding-left:14px}
.si-stat b{display:block;font-size:28px;color:#fff;line-height:1.1}
.si-stat span{color:#b5b5b5;font-size:13px}

/* 方案卡片 */
.si-apps{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.si-app{position:relative;overflow:hidden;min-height:240px;display:block}
.si-app img{width:100%;height:240px;object-fit:cover;display:block}
.si-app .mask,.solution .mask{
  background:linear-gradient(180deg,transparent 20%,rgba(0,0,0,.75)) !important;
}
.si-app h3,.solution h2,.solution h3{font-weight:700}

/* CTA */
.si-cta{
  background:var(--si-red);color:#fff;padding:48px 0;text-align:center;
}
.si-cta h2{margin:0 0 8px;font-size:28px;color:#fff}
.si-cta p{margin:0 0 22px;color:rgba(255,255,255,.85)}
.si-btn{
  display:inline-block;background:#fff;color:var(--si-red) !important;font-weight:700;padding:12px 26px;
}
.si-btn:hover{background:var(--si-ink);color:#fff !important}
.si-btn-ghost{display:inline-block;border:1px solid #fff;color:#fff !important;padding:11px 24px;margin-left:10px;font-weight:600}
.button.bg-yellow,.bg-yellow{
  background:var(--si-red) !important;border-color:var(--si-red) !important;color:#fff !important;
}
.button.bg-yellow:hover{background:var(--si-red-dark) !important}

/* 页脚 */
footer.bg-main,footer.si-footer{
  background:var(--si-ink) !important;color:#c8c8c8;padding:56px 0 0;
}
footer.si-footer h3{color:#fff !important;font-size:15px;font-weight:700;margin-bottom:16px}
footer.si-footer a{color:#c8c8c8}
footer.si-footer a:hover{color:#fff}
footer.si-footer .contact .radius-circle{background:var(--si-red) !important}
footer.si-footer .copyright{border-top:1px solid #2a2a2a;padding:18px 0 28px;color:#8d8d8d;font-size:13px}
footer.si-footer .flink a{margin-right:12px}

/* 内页横幅 */
.channel-banner{
  min-height:220px !important;background-size:cover;background-position:center;position:relative;
}
.channel-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,20,20,.78),rgba(20,20,20,.35))}
.channel-banner .banner-info{position:relative;z-index:1;padding:72px 0}
.channel-banner h3{font-size:36px !important;font-weight:700;letter-spacing:-.02em}

.nav-bread{padding:18px 0;color:var(--si-muted);font-size:13px}
.nav-bread a{color:var(--si-muted)}
.nav-bread a:hover{color:var(--si-red)}

.nav-tree a.active,.nav-navicon a.active,.nav-x a.active{
  color:var(--si-red) !important;border-bottom:2px solid var(--si-red);
}
.nav-x,.nav-tree{background:#fff;border-bottom:1px solid var(--si-line)}

/* 分页 */
.pagination .active a,.pagination a:hover{background:var(--si-red) !important;border-color:var(--si-red) !important;color:#fff !important}

/* 产品详情 */
.product-description h1{font-size:28px;font-weight:700;color:var(--si-ink)}
.si-inquire{
  display:inline-block;background:var(--si-red);color:#fff !important;padding:12px 22px;font-weight:700;margin-top:12px;margin-right:8px;
}
.si-inquire:hover{background:var(--si-red-dark)}
.ey-buyaction .ey-joinbuy{background:var(--si-red) !important}
.ey-buyaction .ey-joinin{background:var(--si-ink) !important;color:#fff !important}

/* 文章 */
.si-spec{width:100%;border-collapse:collapse;font-size:13px;margin:18px 0 28px;background:#fff}
.si-spec th{background:#141414;color:#fff;font-weight:600;padding:10px 12px;text-align:left;white-space:nowrap}
.si-spec td{border-bottom:1px solid #eee;padding:9px 12px;color:#333}
.si-spec tr:hover td{background:#fff5f5}
.si-spec td:first-child{font-weight:600;color:#141414}
.si-lead{font-size:16px;color:#444;line-height:1.8;margin:0 0 20px}
.si-feat{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0 28px}
.si-feat div{border:1px solid #eee;padding:16px 18px;background:#fafafa}
.si-feat b{display:block;color:#E60003;margin-bottom:6px;font-size:14px}
.content .si-spec,.overflow-x .si-spec{display:table}
@media (max-width:768px){.si-feat{grid-template-columns:1fr}.si-spec{display:block;overflow-x:auto}}
.article.post,.article .post{font-size:16px;line-height:1.8;color:#333}
.list-news{margin-bottom:16px;border:1px solid var(--si-line) !important}
.list-news:hover{border-color:var(--si-red) !important}
.list-news h3 a:hover{color:var(--si-red)}

/* 联系 */
.si-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.si-contact-card{background:var(--si-bg);padding:24px}
.si-contact-card strong{display:block;color:var(--si-ink);margin-bottom:6px}

@media (max-width:1080px){
  .si-cats,.si-products{grid-template-columns:repeat(2,1fr)}
  .si-about,.si-apps,.si-contact-grid{grid-template-columns:1fr}
  #pc-header .logo{flex-basis:160px}
  #pc-header .nav li a{padding:0 10px !important;font-size:14px !important}
  .si-header-cta{display:none}
}
@media (max-width:768px){
  .si-topbar{display:none}
  .si-cats,.si-products{grid-template-columns:1fr}
  .si-stats{grid-template-columns:1fr}
  .si-head h2,.si-head h3,.title-c h3{font-size:24px}
  .si-section{padding:48px 0}
  #pc-header.si-header .si-nav{overflow:visible}
  #m-b-bar.bg-yellow{background:#E60003 !important}
}
.si-mobile-toggle{display:none}

/* STEMMER 产品宫格：固定三排三列 */
.si-hub-page{background:#fff;padding:48px 0 80px}
.si-hub-intro{max-width:920px;margin:0 0 36px}
.si-hub-intro h1{font-size:36px;font-weight:700;color:var(--si-ink);margin:0 0 16px;letter-spacing:-.02em;line-height:1.25}
.si-hub-intro p{margin:0;color:#444;font-size:16px;line-height:1.7}
.si-hub{display:block !important;width:100%;}
.si-hub-row{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  gap:18px;
  margin:0 0 18px;
  width:100%;
}
.si-hub-row:last-child{margin-bottom:0}
.si-hub-card{
  flex:0 0 calc((100% - 36px) / 3) !important;
  width:calc((100% - 36px) / 3) !important;
  max-width:calc((100% - 36px) / 3) !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  float:none !important;
  background:#ececec;
  text-decoration:none !important;
}
.si-hub-card .pic{
  background:#1f2d3d;aspect-ratio:1/1;overflow:hidden;display:block;width:100%;
}
.si-hub-card .pic img{
  width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;
  object-fit:cover;display:block;
}
.si-hub-card .body{padding:22px 24px 28px;background:#ececec;flex:1}
.si-hub-card h3{
  margin:0 0 10px;font-size:22px;font-weight:700;color:#222;line-height:1.2
}
.si-hub-card h3:after{content:" >";font-weight:700}
.si-hub-card p{margin:0;color:#4a4a4a;font-size:14px;line-height:1.55}
.si-hub-card:hover h3{color:var(--si-red)}
@media (max-width:1080px){
  .si-hub-intro h1{font-size:28px}
}
@media (max-width:768px){
  .si-hub-row{flex-wrap:wrap !important}
  .si-hub-card{flex:1 1 100% !important;width:100% !important}
  .si-hub-page{padding:28px 0 48px}
}

/* 覆盖旧主题橙黄 */
#pc-header .nav li.active > a.first-level,#pc-header .nav li:hover > a.first-level{color:var(--si-red)}
.register .tab li.cur{color:var(--si-red)}
.register .tab li.cur::before{background:var(--si-red)}
