/* ============================================================
   仿 Anker 悬停大型下拉菜单 样式（独立前缀 hd-，不影响原有样式）
   ============================================================ */

/* 基础 */
#hd{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;}
#hd a{text-decoration:none;}
#hd .w1200{width:1400px;margin:0 auto;}
#hd .fl{float:left;}
#hd .fr{float:right;}
#hd .clearfix:after{content:"";display:block;clear:both;height:0;}
#hd ul,#hd li{list-style:none;margin:0;padding:0;}

/* 第一层：顶部品牌工具条 */
.hd-topbar{background:#1b1b1b;height:36px;line-height:36px;font-size:13px;}
.hd-topbar-l a{color:#b5b5b5;padding:0 16px;border-right:1px solid #4a4a4a;}
.hd-topbar-l a:first-child{padding-left:0;}
.hd-topbar-l a:last-child{border-right:none;}
.hd-topbar-l a:hover{color:#fff;}
.hd-topbar-r{color:#b5b5b5;}
.hd-topbar-r:hover{color:#fff;}

/* 第二层：黑色公告条 */
.hd-notice{background:#000;height:44px;line-height:44px;color:#fff;font-size:14px;}
.hd-notice-c{text-align:center;}
.hd-notice-c a{color:#fff;font-weight:700;margin-left:6px;}
.hd-notice-c a:hover{text-decoration:underline;}
.hd-notice-r{color:#fff;font-weight:700;}
.hd-notice-r:hover{text-decoration:underline;}

/* 第三层：Logo + 图标 */
.hd-main{background:#fff;padding:15px 0; margin-left:40px;}
.hd-logo img{max-height:44px;display:block;}
.hd-icons{padding-top:8px;}
.hd-icons .hd-tel{font-size:20px;font-weight:700;color:#000;vertical-align:middle;margin-right:24px;}
.hd-ico{display:inline-block;margin-left:24px;color:#000;vertical-align:middle;}
.hd-ico:hover{color:#008c8c;}
.hd-ico svg{width:22px;height:22px;display:block;}
.hd-nli img {
  max-height: 50px;   /* 限制最大高度，改这个缩放 */
  max-width: 165px;   /* 限制最大宽度，防止太宽 */
  height: auto;       /* 高度自动，保持比例 ✅核心 */
  width: auto;        /* 宽度自动 */
  padding-top:5px;
  display: block;
}

/* 第四层：导航 */
.hd-nav{background:#fff;border-bottom:1px solid #e5e5e5;position:relative;z-index:100;}
.hd-nav>ul{position:static;}
.hd-nli{position:static;}
.hd-na{display:block;height:54px;line-height:54px;padding:0 22px;font-size:18px;font-weight:600;color:#000;position:relative;}
.hd-nli:hover .hd-na:before,
.hd-nli.on .hd-na:before{content:"";position:absolute;left:22px;right:22px;bottom:0;height:2px;background:#000;}
/* 有下拉的栏目带小箭头 */
.hd-nli.has-sub>.hd-na:after{content:"";display:inline-block;width:7px;height:7px;margin-left:8px;
  border-right:2px solid #000;border-bottom:2px solid #000;transform:rotate(45deg);vertical-align:4px;}

/* ===== 下拉面板：默认隐藏，悬停显示 ===== */
.hd-mega{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid #eee;
  box-shadow:0 16px 30px rgba(0,0,0,.08);
  opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;}
.hd-nli:hover .hd-mega{opacity:1;visibility:visible;}
.hd-mega .w1200{padding:26px 0 34px;}

/* 左侧边栏 */
.hd-side{width:280px;background:#fff;}
.hd-side>ul{padding:10px 0;}
.hd-sitem{position:relative;}
.hd-sitem>a{display:block;padding:12px 24px;font-size:16px;color:#333;}
.hd-sitem.on>a{background:#fff;color:#008c8c;font-weight:600;}
.hd-arr{position:absolute;right:18px;top:16px;width:8px;height:8px;cursor:pointer;
  border-right:2px solid #999;border-bottom:2px solid #999;transform:rotate(45deg);}
.hd-sitem.open .hd-arr{transform:rotate(-135deg);}
.hd-sub{display:none;}
.hd-sitem.open .hd-sub{display:block;}
.hd-sub li a{display:block;padding:10px 24px 10px 42px;font-size:14px;color:#555;}
.hd-sub li a:hover{color:#008c8c;}
.hd-all{display:block;margin:16px 24px 4px;height:46px;line-height:46px;text-align:center;
  background:#000;color:#fff;font-size:15px;}
.hd-all:hover{background:#fff;}

/* 右侧面板区 */
.hd-panels{width:calc(100% - 300px);}
.hd-panel{display:none;}
.hd-panel.on{display:block;}
.hd-ptt{font-size:14px;font-weight:700;color:#000;padding:4px 8px 16px;}
.hd-ptt a{font-size:14px;font-weight:400;color:#666;margin-left:8px;}
.hd-ptt a:hover{color:#008c8c;}

/* 产品卡片 */
.hd-pro{width:33.33%;padding:8px;box-sizing:border-box;}
.hd-pro-in{display:flex;align-items:center;background:#fff;padding:14px;min-height:118px;}
.hd-pro-img{width:104px;height:88px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.hd-pro-img img{max-width:100%;max-height:100%;}
.hd-pro-txt{padding-left:12px;overflow:hidden;}
.hd-tag{display:inline-block;font-style:normal;font-size:12px;padding:1px 10px;border-radius:11px;margin:0 6px 6px 0;}
.hd-tag-new{color:#00a9a5;border:1px solid #00a9a5;}
.hd-tag-hot{color:#1a73e8;border:1px solid #1a73e8;}
.hd-pro-name{display:block;font-size:14px;color:#000;line-height:1.5;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.hd-pro:hover .hd-pro-name{color:#008c8c;}
/* 默认面板隐藏 */
.hd-panel{
    display:none;
}
.hd-panel.on{
    display:block;
}
/* hd‑sitem激活样式 */
.hd-sitem.on>a{
    color:#yourcolor;/*改成你主题高亮颜色*/
}
