/* ============================================================
   创昕达官网 首页 Hero 浅色轮播改版  2026-11-04
   作用范围：仅 HomeHeroCarousel（scope: data-v-dce40c51）
             + 顶部巨幕菜单收窄（scope: data-v-80e95ee4）
   特异性：选择器统一加 .hero-shell[data-v-dce40c51] 前缀 →
           (0,4,0)，高于原样式最高 (0,3,0)，不用 !important
   注意：本文件在主 CSS 之后加载，桌面尺寸声明会压过原
         @media(max-width:768)/640 的声明，所以移动端必须重写
   ============================================================ */

/* ---------- 1. 文案与按钮：浅色底 ⇒ 深色字（全断点生效） ---------- */
.hero-shell[data-v-dce40c51] .hero-copy[data-v-dce40c51]{color:#374151}
.hero-shell[data-v-dce40c51] .hero-copy h1[data-v-dce40c51]{
  color:#1e3a8a;font-weight:800;line-height:1.14;letter-spacing:0}
.hero-shell[data-v-dce40c51] .hero-copy p[data-v-dce40c51]{color:#374151;max-width:none}

/* 三行文案（JS 把 subtitle 按换行拆成 span.hero-line-N） */
.hero-shell[data-v-dce40c51] .hero-copy p .hero-line{display:block}
.hero-shell[data-v-dce40c51] .hero-copy p .hero-line-1{color:#1b8cf5;font-weight:800}
.hero-shell[data-v-dce40c51] .hero-copy p .hero-line-2{position:relative;color:#3b3f46}
.hero-shell[data-v-dce40c51] .hero-copy p .hero-line-3{color:#6b7280}
.hero-shell[data-v-dce40c51] .hero-copy p .hero-line:empty{display:none}

/* 按钮：外层白底描边胶囊 + 内层深蓝实心胶囊白字 + 左侧细箭头（还原设计稿） */
.hero-shell[data-v-dce40c51] .hero-buy[data-v-dce40c51]{
  height:42px;min-width:0;padding:0 4px 0 14px;border:2px solid #0034a6;border-radius:21px;
  background:#fff;color:#0034a6;display:inline-flex;align-items:center;gap:10px;
  font-weight:700;flex-direction:row;box-shadow:0 8px 20px rgba(0,52,166,.12)}
.hero-shell[data-v-dce40c51] .hero-buy[data-v-dce40c51]:hover{
  background:#fff;border-color:#002c8c}
.hero-shell[data-v-dce40c51] .hero-buy[data-v-dce40c51]::before{
  content:"\2192";color:#0034a6;font-size:19px;line-height:1;font-weight:700}
.hero-shell[data-v-dce40c51] .hero-buy[data-v-dce40c51] > *:not(.hero-buy-label){
  display:none}          /* 隐藏原来的双箭头 icon */
.hero-shell[data-v-dce40c51] .hero-buy .hero-buy-label{
  height:34px;padding:0 18px;border-radius:17px;background:#0034a6;color:#fff;
  font-size:15px;font-weight:700;display:inline-flex;align-items:center;line-height:1}
.hero-shell[data-v-dce40c51] .hero-buy[data-v-dce40c51]:hover .hero-buy-label{background:#002c8c}

/* ---------- 2. 轮播圆点 / 箭头：浅色底可读（单张时不渲染，待命） ---------- */
.hero-shell[data-v-dce40c51] .hero-dots .dot[data-v-dce40c51],
.hero-shell[data-v-dce40c51] .hero-dots button[data-v-dce40c51]{
  background:rgba(30,58,138,.22);border:0;width:10px;height:10px;border-radius:50%}
.hero-shell[data-v-dce40c51] .hero-dots .dot.active[data-v-dce40c51],
.hero-shell[data-v-dce40c51] .hero-dots button[aria-current][data-v-dce40c51]{
  background:#1e3a8a}
.hero-shell[data-v-dce40c51] .slide-arrow[data-v-dce40c51]{color:rgba(30,58,138,.55)}
.hero-shell[data-v-dce40c51] .slide-arrow[data-v-dce40c51]:hover{
  color:#1e3a8a;background:rgba(30,58,138,.08)}

/* ---------- 3. 顶部「产品」巨幕菜单收窄到与页面内容同宽 1400 → 1200 ---------- */
.site-header[data-v-80e95ee4] .mega-menu-panel[data-v-80e95ee4]{max-width:1200px}

/* ---------- 4. 桌面 ≥769px：首屏铺满整行，分类栏浮在图上 ---------- */
@media (min-width:769px){
  .hero-shell[data-v-dce40c51] .hero-main[data-v-dce40c51]{
    display:block;min-height:520px;--hx-side:290px}
  .hero-shell[data-v-dce40c51] .category-panel[data-v-dce40c51]{
    position:absolute;left:0;top:0;bottom:0;width:var(--hx-side);z-index:5;
    background-color:rgba(15,23,42,.42);
    background-image:linear-gradient(180deg,rgba(15,23,42,.26) 0%,rgba(15,23,42,.10) 46%,rgba(15,23,42,0) 100%);
    -webkit-backdrop-filter:blur(10px) saturate(120%);
    backdrop-filter:blur(10px) saturate(120%);
    border-right:1px solid rgba(255,255,255,.22);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 10px 26px rgba(15,23,42,.10)}
  .hero-shell[data-v-dce40c51] .category-item[data-v-dce40c51]{
    text-shadow:0 1px 2px rgba(0,0,0,.35)}
  .hero-shell[data-v-dce40c51] .category-item[data-v-dce40c51]:hover,
  .hero-shell[data-v-dce40c51] .category-row.active .category-item[data-v-dce40c51]{
    background-color:rgba(30,58,138,.55);color:#fff}
  .hero-shell[data-v-dce40c51] .hero-image[data-v-dce40c51]{
    min-height:520px;background-size:cover;background-position:100% 50%}

  /* 文案让开 290 分类栏 */
  .hero-shell[data-v-dce40c51] .hero-copy[data-v-dce40c51]{
    left:calc(var(--hx-side) + 30px);right:auto;top:50%;width:380px;max-width:none;
    transform:translateY(-50%)}
  .hero-shell[data-v-dce40c51] .hero-copy h1[data-v-dce40c51]{
    font-size:44px;margin:0 0 10px}
  .hero-shell[data-v-dce40c51] .hero-copy p[data-v-dce40c51]{margin:0 0 26px}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-1{font-size:40px;line-height:1.18}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-2{
    font-size:16px;line-height:1.55;margin-top:12px;padding-top:20px}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-2::before{
    content:"";position:absolute;left:0;top:0;width:44px;height:3px;border-radius:2px;background:#1e3a8a}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-3{font-size:14px;line-height:1.6;margin-top:10px}
  .hero-shell[data-v-dce40c51] .slide-arrow.prev[data-v-dce40c51]{left:calc(var(--hx-side) + 24px)}
}

/* ---------- 5. 769–1200px：分类栏 250，文案跟到 282 ---------- */
@media (min-width:769px) and (max-width:1200px){
  .hero-shell[data-v-dce40c51] .hero-main[data-v-dce40c51]{--hx-side:250px}
  .hero-shell[data-v-dce40c51] .hero-copy[data-v-dce40c51]{
    left:calc(var(--hx-side) + 26px);width:340px}
  .hero-shell[data-v-dce40c51] .hero-copy h1[data-v-dce40c51]{font-size:38px}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-1{font-size:34px}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-2{font-size:15px}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-3{font-size:13px}
}

/* ---------- 6. 移动端 ≤768：布局沿用原样式，只重设字号与图位置 ---------- */
@media (max-width:768px){
  .hero-shell[data-v-dce40c51] .hero-image[data-v-dce40c51]{
    background-position:72% 50%}
  .hero-shell[data-v-dce40c51] .hero-copy h1[data-v-dce40c51]{font-size:28px;margin-bottom:6px}
  .hero-shell[data-v-dce40c51] .hero-copy p[data-v-dce40c51]{margin-bottom:16px}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-1{font-size:21px;line-height:1.3}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-2{
    font-size:13px;line-height:1.5;margin-top:8px;padding-top:14px}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-2::before{width:30px;height:2px}
  .hero-shell[data-v-dce40c51] .hero-copy p .hero-line-3{font-size:12px;line-height:1.5;margin-top:6px}
  .hero-shell[data-v-dce40c51] .hero-buy[data-v-dce40c51]{
    height:38px;min-width:0;padding:0 3px 0 12px;border-radius:19px;gap:8px}
  .hero-shell[data-v-dce40c51] .hero-buy[data-v-dce40c51]::before{font-size:15px}
  .hero-shell[data-v-dce40c51] .hero-buy .hero-buy-label{
    height:30px;padding:0 14px;border-radius:15px;font-size:13px}
}
