@import url("theme.css");
@import url("../header-slogan.css");

/* CSS RESET */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,blockquote,p{ margin:0; padding:0;}
*{box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box;}
html{scroll-behavior: smooth;}
body{color:var(--needle-ink); font-size:15px; font-family:var(--needle-font); background:var(--needle-paper); overflow-x:hidden;}
ul, ol { list-style:none;}
img{max-width:100%; display:block;}
img,fieldset{ vertical-align:top; border:0;}
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal;}
input,button,textarea,select{color:var(--needle-muted); font-family: inherit; vertical-align:middle;}
input:focus, textarea:focus {outline:none;}
a{color:var(--needle-ink); text-decoration:none; transition:0.3s;}
a:hover{color:var(--needle-accent-dark);}

.w1600{max-width:1600px; margin:0 auto; width: 95%;}
.w1600:after{content: " "; display: block; height: 0; clear: both; visibility: hidden; font-size: 0; line-height: 0;}
.top{position:relative;}

/* TOP HEADER */
.top_bj{width:100%; background:var(--needle-paper); position:fixed; top:0; left:0; z-index:999; transition:all 0.4s ease; box-shadow: 0 1px 4px rgba(0,0,0,0.05);}
.top_bj.active{box-shadow:0 4px 20px rgba(0,0,0,0.1); height:auto;}
.top_bj.active .top .logo{height:80px;}
.top_bj.active .top_dh ul li{line-height:80px;}
.top_bj.active .top .sousuo{height:80px;}
.top_bj.active .top .zyw{margin-top:22px;}

.top_bj:after{content:""; width:100%; height:1px; background:var(--needle-border); position:absolute; bottom:0; left:0;}
.top .logo{height:110px; float:left; display:flex; align-items:center; transition: height 0.4s ease;}
.top .logo a{display:inline-block; vertical-align:middle;}
.top .logo img{max-height:98px; height:auto; transition:all 0.4s ease;}
.top_bj.active .top .logo img{max-height:75px;}

.top_dh{float:right; margin-right:45px;}
.top_dh ul{margin-left:-40px;}
.top_dh ul:after{content: " "; display: block; height: 0; clear: both; visibility: hidden; font-size: 0; line-height: 0;}
.top_dh ul li{ float:left; overflow:hidden; line-height:110px; margin-left:40px; position:relative; transition: line-height 0.4s ease;}
.top_dh ul li:hover{overflow: visible;}
.top_dh ul li>a{display:block; font-size:16px; font-weight:400; color:#333;}
.top_dh ul li.s>a{color:#00A3A1;}
.top_dh ul li>a:hover{color:#00A3A1;}

/* Language switcher */
.top .zyw{float:right; margin-top:34px; transition: margin-top 0.4s ease;}
.top .zyw a{width:46px; display:block; color:var(--needle-ink); font-size:15px; font-weight:bold; line-height:36px; text-align:center; border:1px solid var(--needle-border); border-radius:20px; background:var(--needle-paper); transition:0.3s;}
.top .zyw a:hover{background:var(--needle-surface);}

/* Search Widget */
.top .sousuo{height:110px; float:right; display:flex; align-items:center; margin-right:35px; cursor:pointer; transition:all 0.4s ease; position:relative;}
.top .sousuo .sousuo_an{display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; transition:background 0.3s;}
.top .sousuo:hover .sousuo_an{background:var(--needle-surface);}
.top .sousuo .ssk_bj{width:100%; opacity:0; visibility:hidden; position:fixed; right:0; top:120px; z-index:99; transition:all 0.4s ease;}
.top .sousuo .ssk{width:100%; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,0.15); border-radius:6px;}
.top .sousuo .ssk .input_txt{ width:80%; height:54px; float:left; font-size:15px; line-height:54px; padding-left:24px; border:none; background:var(--needle-paper);}
.top .sousuo .ssk .input_btn{ width:20%; height:54px; float:right; color:#333; font-size:16px; font-weight:bold; line-height:54px; border:0 none; border-radius:0; cursor:pointer; background:#f6a308; transition: background 0.3s;}
.top .sousuo .ssk .input_btn:hover{background:#e08f00;}
.top .sousuo .ssk_bj.p-show{opacity:1; visibility:visible;}

/* Hamburger for Mobile */
.zhz{width:49px; height:49px; overflow:hidden; display:none; flex-shrink:0; position:absolute; margin-top:20px; top:0; right: 12px; z-index:1001; cursor:pointer;}
.zhz samp{position:absolute; left:26%; background:var(--needle-ink); height:2px; width:26px; transition:all 0.4s ease;}
.zhz .samp1{top:18px;}
.zhz .samp2{top:25px;}
.zhz .samp3{top:32px;}
.actxx .samp2{left:-100%; opacity:0;}
.actxx .samp1{transform:rotate(225deg); top:25px;}
.actxx .samp3{transform:rotate(-225deg); top:25px;}

/* INNER BANNER (Exact reproduction) */
.ny_banner_bj{width:100%; height:320px; padding-top:40px; background-size:cover !important; background-position:center !important; position:relative;}
.ny_banner_bj:before{content:""; position:absolute; inset:0; background:rgba(0,0,0,0.35);}
.ny_banner{position:relative; z-index:2;}
.ny_banner .ny_banner_wz ul{font-size:0px;}
.ny_banner .ny_banner_wz ul li{display:inline-block; margin-left:12px; padding-left:18px; position:relative;}
.ny_banner .ny_banner_wz ul li:after{content:">"; position:absolute; left:4px; top:0; color:var(--needle-paper); font-size:14px; opacity:0.7;}
.ny_banner .ny_banner_wz ul li:first-child{margin:0; padding:0;}
.ny_banner .ny_banner_wz ul li:first-child:after{display:none;}
.ny_banner .ny_banner_wz ul li a{color:var(--needle-paper); font-size:15px; line-height:20px;}
.ny_banner .ny_banner_wz ul li a:hover{color:var(--needle-accent);}
.ny_banner .ny_banner_bt{color:var(--needle-paper); font-size:42px; line-height:42px; font-weight:bold; margin-top:70px;}
.ny_banner .ny_banner_wb{color:rgba(255,255,255,0.85); font-size:18px; line-height:24px; margin-top:16px;}

/* INNER SUBNAV TABS (Exact reproduction) */
.ny_dh_bj{width:100%; background:var(--needle-paper); position:relative;}
.ny_dh_bj:after{content:""; width:100%; height:1px; background:var(--needle-border); position:absolute; bottom:1px; left:0;}
.ny_dh ul{overflow:hidden; font-size:0px;}
.ny_dh ul li{display:inline-block; font-size:16px; line-height:90px; padding-left:48px; position:relative;}
.ny_dh ul li:after{content:""; width:1px; height:14px; margin-top:-7px; background:var(--needle-border); position:absolute; top:50%; left:23px;}
.ny_dh ul li:before{content:""; width:0; height:3px; background:var(--needle-accent); position:absolute; bottom:0px; left:48px; z-index:1; transition:all 0.4s ease;}
.ny_dh ul li:nth-child(1){padding-left:0;}
.ny_dh ul li:nth-child(1):after{display:none;}
.ny_dh ul li:nth-child(1):before{left:0;}
.ny_dh ul li.s:before{width:calc(100% - 48px);}
.ny_dh ul li.s:nth-child(1):before{width:100%;}
.ny_dh ul li a{color:var(--needle-ink); font-weight:500; display:block;}
.ny_dh ul li a:hover{color:var(--needle-accent);}
.ny_dh ul li.s a{color:var(--needle-accent-dark); font-weight:bold;}

/* INNER CONTENT BODY */
.ny_bj{width:100%; padding:60px 0 90px 0; background:var(--needle-paper);}
.ny{position:relative;}

/* FOOTER (Exact reproduction) */
.db_bj{
  width:100%;
  background:linear-gradient(rgb(14 34 51 / 94%), rgb(14 34 51 / 94%)), var(--needle-ink) url('/assets/db_bj.jpg') bottom center no-repeat;
  background-size:cover;
  color:var(--needle-border);
}
.db_yqlj{padding:25px 0; border-bottom:1px rgb(227 232 235 / 22%) solid;}
.db_yqlj ul{margin-left:-42px; display:flex; align-items:center; flex-wrap:wrap;}
.db_yqlj ul li{height:30px; float:left; line-height:30px; margin-left:42px;}
.db_yqlj ul li span{color:var(--needle-accent);}
.db_yqlj ul li:nth-child(1){color:var(--needle-paper); font-size:22px; line-height:30px; font-weight:bold; letter-spacing:3px;}
.db_yqlj ul li:nth-child(1) span{font-size:28px; line-height:30px; display:inline-block;}
.db_yqlj ul li a{color:var(--needle-border); font-size:15px;}
.db_yqlj ul li a:hover{color:var(--needle-accent);}

.db{margin-top:40px; display:flex; justify-content:space-between; flex-wrap:wrap;}
.db .db_dh{float:left; margin-right:40px; min-width:140px;}
.db .db_dh .db_dh_bt{color:var(--needle-accent); font-size:18px; font-weight:bold; position:relative; padding-bottom:8px;}
.db .db_dh .db_dh_bt:after{content:""; position:absolute; bottom:0; left:0; width:28px; height:2px; background:var(--needle-accent);}
.db .db_dh ul{overflow:hidden; margin-top:16px;}
.db .db_dh ul li{line-height:34px;}
.db .db_dh ul li a{color:var(--needle-border); font-size:14px; transition:all 0.3s;}
.db .db_dh ul li a:hover{color:var(--needle-paper); padding-left:4px;}

.db .db_erweima{width:150px; text-align:center;}
.db .db_erweima .db_erweima_img{background:var(--needle-paper); padding:8px; border-radius:6px; display:inline-block;}
.db .db_erweima .db_erweima_img img{width:120px; height:120px; object-fit:contain;}
.db .db_erweima .db_erweima_wz{color:var(--needle-paper); font-size:14px; margin-top:12px; letter-spacing:1px;}

.db_bah_bj{margin-top:60px; padding:22px 0; border-top:1px rgba(255,255,255,0.08) solid;}
.db_bah{color:var(--needle-border); font-size:13px; line-height:30px; text-align:center;}
.db_bah a{color:var(--needle-border);}
.db_bah a:hover{color:var(--needle-accent);}

/* BACK TO TOP BUTTON */
.fh_top {
    position: fixed;
    right: 25px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background: var(--needle-accent);
    color: var(--needle-ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 163, 161, 0.4);
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.fh_top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.fh_top:hover {
    background: var(--needle-accent-dark);
    color: var(--needle-paper);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 163, 161, 0.6);
}

/* RESPONSIVE DESIGN */
@media screen and (max-width:1200px){
  .top_dh{
    position: absolute;
    float:none;
    top:100%;
    left:0;
    width:100%;
    z-index:999;
    background:var(--needle-paper);
    margin:auto;
    display:none;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
  }
  .top_dh ul{margin:auto;}
  .top_dh ul li{
    float:none;
    margin:auto;
    border-bottom:1px solid var(--needle-border);
    line-height:48px;
    padding:0 24px;
  }
  .top_dh ul li>a{font-size:15px;}
  .top_dh ul li:after{display:none;}
  .top .logo{height: 89px;}
  .top .sousuo{display:none;}
  .top .zyw{margin-top: 25px; margin-right: 65px;}
  .zhz{display:block;}
  .ny_dh ul li{line-height:60px; font-size:15px; padding-left:25px;}
  .db{display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;}
  .db .db_dh{margin-right:0;}
  .db .db_erweima{grid-column: span 3; margin:20px auto 0 auto;}
}


.needle-category-nav { padding: 25px 0; border-bottom: 1px solid var(--needle-border); }
.needle-category-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
.needle-category-nav a {
    display: block;
    padding: 8px 13px;
    border: 1px solid var(--needle-border);
    border-radius: 4px;
    font-size: 14px;
}
.needle-summary { padding: 52px 0; background: var(--needle-surface); }
.needle-summary .w1600 {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 80px);
    align-items: start;
}
.needle-summary .w1600::after { display: none; }
.needle-main-photo {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 20px;
    border: 1px solid var(--needle-border);
    border-radius: 8px;
    background: var(--needle-paper);
}
.needle-main-photo img { max-height: min(440px, 54vh); object-fit: contain; }
.needle-thumbnails { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.needle-thumbnail {
    display: grid;
    place-items: center;
    width: 84px;
    height: 70px;
    padding: 3px;
    background: var(--needle-paper);
    border: 1px solid var(--needle-border);
    border-radius: 4px;
}
.needle-thumbnail[aria-current="true"] { border: 2px solid var(--needle-accent-dark); }
.needle-thumbnail img { max-height: 62px; object-fit: contain; }
.needle-summary h1 {
    color: var(--needle-ink);
    font-size: clamp(27px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 22px;
}
.needle-summary-specs {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 22px;
    color: var(--needle-ink);
    line-height: 1.5;
}
.needle-summary-specs li + li { margin-top: 6px; }
.needle-summary-specs li::marker { color: var(--needle-accent-dark); }
.needle-download-note {
    margin-top: 14px;
    color: var(--needle-ink);
    font-size: 14px;
    line-height: 1.5;
}
.needle-files { display: grid; gap: 9px; max-width: 520px; }
.needle-files a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 15px;
    border: 1px solid var(--needle-border);
    border-radius: 5px;
    background: var(--needle-paper);
    color: var(--needle-ink);
    font-weight: 600;
}
.needle-files a:hover { background: var(--needle-tint); border-color: var(--needle-accent-dark); }
.needle-file-type { color: var(--needle-ink); font-size: 12px; font-weight: 600; }
.needle-back { display: inline-block; margin-top: 24px; color: var(--needle-accent-dark); font-weight: 600; }
.needle-back:hover, .needle-panel a:not(.needle-files a):hover { text-decoration: underline; color: var(--needle-accent-dark); }
.needle-detail-body { padding: 50px 0 72px; }
.needle-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--needle-border); }
.needle-tabs button {
    padding: 13px 21px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--needle-ink);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}
.needle-tabs button[aria-selected="true"] { border-color: var(--needle-accent); color: var(--needle-accent-dark); }
.needle-panel { padding-top: 26px; color: var(--needle-ink); line-height: 1.55; }
.needle-panel h2 { color: var(--needle-ink); font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.needle-panel p { margin-bottom: 12px; }
.needle-panel a { color: var(--needle-accent-dark); }
.needle-model {
    width: 100%;
    max-width: 960px;
    height: clamp(300px, 56vw, 560px);
    margin: 10px 0;
    border: 1px solid var(--needle-border);
    border-radius: 5px;
    background: var(--needle-surface);
}
/* Product models use the full gallery width. A measured display width can remove scene margins. */
.needle-model-stage {
    container-type: inline-size;
    width: 100%;
    aspect-ratio: var(--model-width) / var(--model-height);
    overflow: hidden;
    border: 1px solid var(--needle-border);
    border-radius: 8px;
    background: #fff;
}
.needle-model-stage .needle-model {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
}
@supports (zoom: calc(1px / 1px)) {
    .needle-model-stage {
        aspect-ratio: var(--model-display-width, var(--model-width)) / var(--model-height);
    }
    .needle-model-stage .needle-model {
        position: relative;
        left: calc((var(--model-display-width, var(--model-width)) - var(--model-width)) * 0.5px);
        width: calc(var(--model-width) * 1px);
        height: calc(var(--model-height) * 1px);
        zoom: calc(100cqw / (var(--model-display-width, var(--model-width)) * 1px));
    }
}
.needle-model-hint {
    margin-top: 10px;
    color: var(--needle-muted);
    font-size: 14px;
    line-height: 1.5;
}
.needle-gallery [hidden] { display: none; }
.needle-model-toggle {
    color: var(--needle-ink);
    cursor: pointer;
    font-weight: 700;
}
.needle-specs { margin: 35px 0 22px; }
.needle-specs figure { margin: 0 0 20px; }
.needle-specs img { width: auto; max-width: 100%; height: auto; border: 1px solid var(--needle-border); }
.needle-panel .needle-files { margin-bottom: 28px; }
@media (max-width: 760px) {
    .needle-summary .w1600 { grid-template-columns: minmax(0, 1fr); }
    .needle-main-photo { min-height: 0; }
    .needle-summary, .needle-detail-body { padding: 32px 0 42px; }
    .needle-tabs button { padding-inline: 12px; }
}
