/* ============================================================
   NOVA 模板 · 极致CMS 接入补充样式
   仅负责 CMS 场景新增的少量结构与内页排版，
   视觉主体仍由 module/css/nova.css 提供。
   ============================================================ */

/* ---------- 顶部导航：下拉子栏目 ---------- */
.nv-nav .nv-nav-i { position: relative; }
.nv-nav .nv-nav-i > a { display: inline-flex; align-items: center; gap: 6px; }
.nv-nav .nv-nav-i > a i { font-size: 10px; opacity: .55; transition: transform .25s; }
.nv-nav .nv-nav-i:hover > a i { transform: rotate(180deg); }
.nv-nav .nv-drop {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translate(-50%, 8px);
	min-width: 190px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transition: all .22s ease;
	z-index: 60;
}
.nv-nav .nv-nav-i:hover .nv-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nv-nav .nv-drop a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 13.5px;
	color: var(--ink-2);
	white-space: nowrap;
}
.nv-nav .nv-drop a:hover { background: var(--bg-soft); color: var(--primary); }

/* ---------- 顶部搜索弹出层 ---------- */
.nv-header { position: sticky; top: 0; z-index: 120; }
.nv-search-pop {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--card);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow);
	padding: 16px 0;
	display: none;
}
.nv-search-pop.on { display: block; }
.nv-search-pop form { display: flex; align-items: center; gap: 12px; }
.nv-search-pop input[type="text"] {
	flex: 1;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 0 16px;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	background: var(--bg-soft);
}
.nv-search-pop input[type="text"]:focus { border-color: var(--primary); background: #fff; }
.nv-search-pop button {
	height: 46px;
	padding: 0 26px;
	border-radius: 10px;
	background: var(--primary);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.nv-header .nv-logo { color: #f7f7f7; }
.nv-tools .nv-lang { font-size: 13px; color: #cfcfcf; white-space: nowrap; }
.nv-tools button, .nv-tools a.nv-ic {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: transparent;
	color: #f2f2f2;
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all .2s;
	position: relative;
}
.nv-tools button:hover, .nv-tools a.nv-ic:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* 翻译插件（jz-translate）：避免遮挡右上工具区，移到底部右侧 */
.jz-tr { top: auto !important; bottom: 24px !important; right: 24px !important; }

/* ---------- 内页外壳 ---------- */
.nv-inner { padding: 56px 0 72px; }
.nv-inner.nv-tight { padding-top: 40px; }
.nv-layout-side { display: grid; grid-template-columns: 264px 1fr; gap: 36px; align-items: start; }
.nv-result { font-size: 14px; color: var(--muted); }

/* 分类筛选胶囊 */
.nv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.nv-chips a {
	height: 36px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--card);
	font-size: 13.5px;
	color: var(--ink-2);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.nv-chips a:hover { border-color: var(--primary); color: var(--primary); }
.nv-chips a.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 空数据 */
.nv-empty { padding: 70px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.nv-empty i { font-size: 34px; display: block; margin-bottom: 12px; opacity: .4; }

/* ---------- 新闻列表 / 详情 ---------- */
.nv-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nv-post {
	display: flex;
	flex-direction: column;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: all .3s ease;
}
.nv-post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.nv-post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.nv-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nv-post:hover .nv-post-thumb img { transform: scale(1.05); }
.nv-post-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nv-post-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.nv-post-tag { color: var(--primary); font-weight: 700; }
.nv-post h3 { font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.nv-post:hover h3 { color: var(--primary); }
.nv-post p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.nv-post-more { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink); }
.nv-post:hover .nv-post-more { color: var(--primary); }

.nv-article-head { max-width: 860px; margin: 0 auto 30px; text-align: center; }
.nv-article-head h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -.6px; color: var(--ink); }
.nv-article-meta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 16px;
	font-size: 13px;
	color: var(--muted);
}
.nv-article-cover { max-width: 960px; margin: 0 auto 34px; border-radius: var(--radius); overflow: hidden; }
.nv-article-cover img { width: 100%; height: auto; }
.nv-article-body { max-width: 860px; margin: 0 auto; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.nv-article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 18px 0; }
.nv-article-body h2, .nv-article-body h3, .nv-article-body h4 { color: var(--ink); margin: 28px 0 12px; line-height: 1.4; }
.nv-article-body p { margin-bottom: 16px; }
.nv-article-body ul, .nv-article-body ol { margin: 0 0 16px 22px; list-style: revert; }
.nv-article-body blockquote {
	margin: 20px 0;
	padding: 16px 22px;
	border-left: 3px solid var(--primary);
	background: var(--bg-soft);
	border-radius: 0 10px 10px 0;
}
.nv-article-tags { max-width: 860px; margin: 30px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nv-article-tags a {
	font-size: 12.5px;
	padding: 5px 13px;
	border-radius: 999px;
	background: var(--bg-soft);
	color: var(--ink-2);
}
.nv-article-tags a:hover { background: var(--primary); color: #fff; }
.nv-article-nav { max-width: 860px; margin: 34px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nv-article-nav a {
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 14px 18px;
	font-size: 13.5px;
	color: var(--ink-2);
	background: var(--card);
	transition: all .2s;
}
.nv-article-nav a:hover { border-color: var(--primary); color: var(--primary); }
.nv-article-nav a.disabled { color: var(--muted); cursor: default; }
.nv-article-nav small { display: block; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }

/* ---------- 单页（关于我们） ---------- */
.nv-page-body { max-width: 900px; margin: 0 auto; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.nv-page-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 20px 0; }
.nv-page-body h2, .nv-page-body h3 { color: var(--ink); margin: 30px 0 12px; }
.nv-page-body p { margin-bottom: 16px; }
.nv-page-body ul, .nv-page-body ol { margin: 0 0 16px 22px; list-style: revert; }

/* ---------- 产品详情补丁 ---------- */
.pd .pd-info .short { color: var(--muted); font-size: 14.5px; line-height: 1.8; margin-bottom: 22px; }
.pd .pd-gallery-thumbs .t.on { border-color: var(--primary); }
.pd-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.pd-spec-table td:first-child { width: 34%; color: var(--muted); }
.nv-inquiry-box { margin-top: 18px; }
.nv-inquiry-box .btn { width: 100%; }

/* ---------- 评论（沿用 CMS 结构，做轻量适配） ---------- */
#jz_comment_list { list-style: none; }
#jz_comment_list .comment { border-bottom: 1px solid var(--line); padding: 16px 0; }
#jz_comment_list .comment-author img { width: 40px; height: 40px; border-radius: 50%; }
#jz_comment_list .comment-author-info { display: flex; gap: 12px; }
#jz_comment_list .fn { font-size: 14px; color: var(--ink); }
#jz_comment_list .time { font-size: 12px; color: var(--muted); margin-left: 8px; }
#jz_comment_list .comment-text p { font-size: 14px; color: var(--ink-2); margin: 8px 0 0 52px; }

/* ---------- 留言表单：沿用 .cform，补齐 CMS 字段 ---------- */
.cform .field { margin-bottom: 16px; }
.cform .field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.cform .field input, .cform .field textarea, .cform .field select {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14px;
	font-family: inherit;
	color: var(--ink);
	background: #fff;
	outline: none;
	transition: border-color .2s;
}
.cform .field input:focus, .cform .field textarea:focus, .cform .field select:focus { border-color: var(--primary); }
.cform .fields_tips { font-size: 12px; color: var(--muted); }
.cform .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nv-ok-tip {
	display: none;
	background: #dcfce7;
	color: #166534;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 13px;
	margin-bottom: 16px;
}
.nv-ok-tip.on { display: block; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
	.nv-post-grid { grid-template-columns: 1fr 1fr; }
	.nv-layout-side { grid-template-columns: 230px 1fr; gap: 26px; }
}
@media (max-width: 991px) {
	.nv-inner { padding: 42px 0 56px; }
	.nv-layout-side { grid-template-columns: 1fr; }
	.nv-article-nav { grid-template-columns: 1fr; }
	.nv-nav { display: none; }
}
@media (max-width: 640px) {
	.nv-post-grid { grid-template-columns: 1fr; }
	.cform .form-row { grid-template-columns: 1fr; }
	.nv-tools .nv-lang { display: none; }
	.nv-article-body { font-size: 15px; }
	/* 移动端把焦点图左右箭头移到底部，避免遮挡标题与副标题 */
	.hc-hero .hc-arrow { top: auto; bottom: 14px; transform: none; }
	.hc-hero .hc-dots { bottom: 22px; }
}
