/* 2026-10-22 适当优化：只隐藏失效/空白/模板残留，不改产品与正文。删除本文件即恢复原样。 */

/* 1. 首页"最新成交"示例数据 + 空的新闻区 */
.index_add9bg { display: none !important; }

/* 2. 空白页入口（Help center = about-29、NEWS = news-53） */
span:has(> a[href="about-29.html"]), span:has(> a[href="about-29.html"]) + .ccc,
li:has(> a[href="news-53.html"]), dl:has(a[href="news-53.html"]),
.footer_01 li:last-child { display: none !important; }

/* 3. 空白联系方式（24h 客服、页脚 Telephone） */
.top .right span:has(> b:empty), .footer_02_con dl:has(dd + dt:empty) { display: none !important; }

/* 4. 模板残留的电子元器件分类 + 空链接 + 空分类 Home */
li:has(> a[href="products-t286.html"]), li:has(> a[href="products-t289.html"]), li:has(> a[href="products-t292.html"]),
dl:has(a[href="products-t286.html"]), dl:has(a[href="products-t289.html"]), dl:has(a[href="products-t292.html"]),
dl:has(> dt > a[href=""]), li:has(> a[href=""]),
li:has(> a[href="products-c302.html"]), dd:has(> a[href="products-c302.html"]) { display: none !important; }

/* 5. 失效功能：登录/注册/会员中心/搜索（购物车、购买按钮、数量已由 js/aucn-shop.js 接管，保持显示） */
.top .left > span:not(:first-child):not(.aucn-acc),
.center_seach, .btnAddCart2 { display: none !important; }

/* 6. 首页没有产品的楼层（如 Home）、页脚空 Telephone 栏 */
.index_add7bg:not(:has(.nr_box)) { display: none !important; }
.footer_02_con dl[style*="border-left"] { display: none !important; }

/* 7. 左侧分类栏空分类 Home */
*:has(> h3 > a[href="products-c302.html"]) { display: none !important; }

/* 8. 首页更新 2026-10-23：轮播标题、分类推广块 */
#lunhuanback p { position: relative; }
.hb-cap { position: absolute; left: 62%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; display: block; text-align: center;
  background: rgba(255,255,255,.86); padding: 18px 34px; color: #00335e; text-decoration: none; border-radius: 4px; }
.hb-cap strong { display: block; font-size: 26px; letter-spacing: 1px; }
.hb-cap span { display: block; font-size: 15px; color: #555; margin-top: 6px; }
.hb-cap em { display: inline-block; font-style: normal; font-size: 14px; margin-top: 10px; color: #fff; background: #00335e; padding: 5px 16px; }
.hb-promo { display: flex; flex-direction: column; justify-content: center; height: 110px; padding: 0 28px; color: #fff !important;
  text-decoration: none; border-radius: 4px; box-sizing: border-box; }
.hb-promo strong { font-size: 24px; }
.hb-promo span { font-size: 14px; opacity: .9; margin-top: 6px; }
.hb-p1 { background: linear-gradient(120deg, #1f6f5c, #3a9d82); }
.hb-p2 { background: linear-gradient(120deg, #00335e, #2f6aa3); }
