/* Keep Sunshare's orange accordion and detail rule; scope only product navigation. */
.jlt-product-list .n-banner { position:relative; }
/* Keep both the product grid and sticky category column clear of the footer. */
.jlt-product-list .pro-list { padding-bottom:clamp(64px,5vw,96px); }
.jlt-product-list .pro-list .left { flex-shrink:0; }
.jlt-product-list .jlt-product-navigation .box { max-height:calc(100dvh - var(--headerHeight) - 4rem); overflow-y:auto; overscroll-behavior:contain; }
.jlt-product-list .pro-list .left .box .down > .nav.act > .box1 { display:block; }

.jlt-product-list .jlt-product-navigation .nav2 > a[aria-current="page"] { font-weight:bold; }
.jlt-product-menu-toggle { display:none; }
.jlt-product-navigation a:focus-visible, .jlt-product-menu-toggle:focus-visible, [data-product-toc] a:focus-visible { outline:2px solid var(--themeColor); outline-offset:3px; }
.jlt-product-page [data-product-toc] { top:calc(var(--headerHeight) + 2rem); max-height:calc(100dvh - var(--headerHeight) - 4rem); overflow-y:auto; }
.jlt-product-page [data-product-toc] a { line-height:1.6; overflow-wrap:anywhere; }
.jlt-product-page #pro_xiangqing, .jlt-product-page .ar_article [id] { scroll-margin-top:calc(var(--headerHeight) + 2rem); }

/* 产品名改为「类别 + 型号」后变长，卡片标题降一档字号并限制两行，避免撑高卡片。
   型号部分无需另起一行：标题本身已含型号，用户扫列表即可区分同名产品。 */
.jlt-product-list .pro-card p {
    font-size:clamp(15px, 1.22vw, 17px);
    line-height:1.5;
    font-weight:500;
    min-height:3em;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
@media (max-width:750px) {
    .jlt-product-list .pro-list { padding-bottom:48px; }
    .jlt-product-list .pro-list .left { margin-bottom:2rem; }
    .jlt-product-list .jlt-product-navigation .box { max-height:none; overflow:visible; }
    .jlt-product-navigation.is-ready .jlt-product-menu-toggle { display:flex; align-items:center; gap:1rem; width:100%; min-height:3.4rem; padding:.8rem 2rem; background:#fff; color:#000; border:0; font:inherit; font-size:var(--f20, 20px); text-align:left; }
    
    .jlt-product-menu-toggle::after { content:"+"; }
    .jlt-product-menu-toggle[aria-expanded="true"]::after { content:"−"; }
    .jlt-product-navigation.is-ready[data-mobile-open="false"] #p_nav { display:none; }
    
    .jlt-product-page [data-product-toc] { width:100%; max-height:none; margin-bottom:2rem; overflow:visible; }
    .jlt-product-page [data-product-toc] ul { flex-direction:row; gap:1.5rem; border-left:0; border-bottom:2px solid var(--jlt-surface-alt); overflow-x:auto; }
    .jlt-product-page [data-product-toc] li { flex-shrink:0; margin-left:0; }
    .jlt-product-page [data-product-toc] a { min-height:44px; padding:.5rem 0; white-space:nowrap; }
    .jlt-product-page [data-product-toc] a::before { width:100%; height:2px; }
}
