@charset "utf-8";
/* 上进电缆官网 SPA 补充样式 */

/* 图片统一填充 */
.hero.has-image{background-size:cover;background-position:center}
.hero.has-image::before{background:linear-gradient(120deg,rgba(10,14,18,.88),rgba(10,14,18,.42))}
.hero.has-image::after{display:none}
.p-thumb img,.np-thumb img,.case-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.honor-thumb img{width:100%;height:100%;object-fit:contain;background:#fff}
.article-content img,.detail-content img{max-width:100%;height:auto}

/* 首页新闻列表 */
.nl-date{flex:0 0 68px;text-align:center;border-right:1px solid rgba(255,255,255,.12)}
.nl-date strong{display:block;font-size:24px;line-height:1.1;color:#fff}
.nl-date span{font-size:12px;color:#8a9096}
.news-list li a>div:last-child h3{color:#fff;font-size:16px;margin-bottom:8px}
.news-list li a>div:last-child p{color:#8f969d;font-size:13px;line-height:1.7}

/* 加载与错误状态 */
.spa-loading{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#8a8f96;font-size:13px;letter-spacing:2px}
.spa-loading i{width:34px;height:34px;border:2px solid #e2e5e8;border-top-color:#b62020;border-radius:50%;animation:spa-spin .8s linear infinite}
@keyframes spa-spin{to{transform:rotate(360deg)}}
.spa-error{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#8a8f96;font-size:14px;text-align:center;padding:40px 20px}
.spa-error b{font-size:17px;color:#333}
.spa-error a{padding:9px 26px;border:1px solid #cfd3d8;color:#444;font-size:13px}
.spa-error a:hover{background:#b62020;border-color:#b62020;color:#fff}
.spa-main{min-height:60vh}
.spa-panel-loading{padding:80px 0;text-align:center;color:#a2a7ad;font-size:13px;letter-spacing:2px}

/* 图册空位 */
.gallery-thumbs .ph-img img{width:100%;height:100%;object-fit:cover}

/* 英文版头部：英文菜单比中文长，禁止换行并压缩间距，避免导航被挤成两行溢出 */
.main-nav>ul>li>a{white-space:nowrap}
html[lang="en"] .main-nav>ul>li>a{padding:0 10px;font-size:14px}
html[lang="en"] .header-tools{gap:14px;margin-left:14px}
html[lang="en"] .head-search input{width:130px}
html[lang="en"] .head-tel span{display:none}
html[lang="en"] .logo-name{font-size:22px;letter-spacing:1px}
html[lang="en"] .logo-name em{letter-spacing:2px}
@media(max-width:1500px){
html[lang="en"] .head-search{display:none}
html[lang="en"] .main-nav>ul>li>a{padding:0 8px}
html[lang="en"] .logo-name{font-size:20px}
}

/* 中文版头部：新增“订单查询”后 8 个菜单总宽超出 1280 容器，收窄字号/间距并固定右侧工具，避免热线被挤偏或裁切 */
@media(min-width:993px){
html[lang="zh-CN"] .main-nav>ul>li>a{padding:0 10px;font-size:15px}
html[lang="zh-CN"] .header-tools{gap:12px;margin-left:14px}
html[lang="zh-CN"] .head-search input{width:150px}
}
@media(max-width:1299px){
html[lang="zh-CN"] .head-search{display:none}
}
.site-header .header-tools{flex-shrink:0}
.site-header .head-tel{flex-shrink:0;white-space:nowrap}

/* 页脚已移除左侧品牌简介/热线块，链接列占满整行 */
.site-footer .footer-top{grid-template-columns:1fr}

/* 订单查询 */
.order-search{background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:22px 24px;margin-bottom:28px}
.order-search-row{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-end}
.order-field{flex:1;min-width:200px}
.order-field label{display:block;font-size:13px;color:var(--muted);margin-bottom:8px}
.order-field input{width:100%;height:44px;border:1px solid #dcdfe3;border-radius:3px;padding:0 12px;background:#fff;color:var(--text);font-size:14px}
.order-field input:focus{border-color:var(--red)}
.order-actions{display:flex;gap:14px;align-items:center;padding-bottom:2px}
.order-actions button{height:44px;min-width:110px;border:0;background:var(--red);color:#fff;font-size:15px;cursor:pointer}
.order-actions button:hover{background:var(--red-dark)}
.order-actions a{font-size:13px;color:var(--muted)}
.order-actions a:hover{color:var(--red)}
.order-tip{margin:14px 0 0;font-size:12px;color:var(--muted)}
.order-summary{margin-bottom:14px;font-size:13px;color:var(--muted)}
.order-summary strong{color:var(--red);font-size:16px;margin:0 4px}
.order-table-wrap{overflow-x:auto;border:1px solid var(--line);background:#fff}
.order-table{width:100%;min-width:1000px;border-collapse:collapse;font-size:13px}
.order-table th{background:#f4f5f7;color:#4a5260;font-weight:600;text-align:left;padding:13px 14px;white-space:nowrap;border-bottom:1px solid var(--line)}
.order-table td{padding:12px 14px;border-bottom:1px solid #f1f3f5;color:var(--text);vertical-align:middle;line-height:1.6}
.order-table tr:last-child td{border-bottom:0}
.order-table tbody tr:hover{background:#fafbfc}
.order-status{display:inline-block;padding:3px 10px;border-radius:11px;font-size:12px;white-space:nowrap;background:#eef1f4;color:#6b7280}
.order-status.s0{background:#fff4e5;color:#d98519}
.order-status.s1{background:#e8f1ff;color:#2563c9}
.order-status.s2{background:#e6f7ee;color:#1e9c5a}
.order-status.s3{background:#ecebfb;color:#6b57d6}
.order-imgs{display:flex;gap:6px;flex-wrap:wrap}
.order-imgs img{width:52px;height:52px;object-fit:cover;border:1px solid var(--line);border-radius:3px}
.order-muted{color:#b3b8c0}
.order-remark{max-width:180px}
@media(max-width:768px){
.order-search{padding:16px}
.order-field{min-width:100%}
.order-actions{width:100%}
.order-actions button{flex:1}
}
