/* ==========================================================================
   产品详情页升级样式  (Products_show.asp)
   作用范围：详情内容区 .proshowParameter / 顶部产品信息 .pro_detail_text
   主色沿用站点品牌色 #0d5198
   ========================================================================== */

/* ---------- 内容区容器：白卡片 ---------- */
.lyNyProDetail_right .lyNyProDetail_ConText {
	background: #fff;
	padding: 24px 28px 28px;
	border-radius: 10px;
	box-shadow: 0 3px 14px rgba(15, 40, 80, 0.06);
}
.proshowParameter { font-size: 15px; color: #555; line-height: 1.9; }
.proshowParameter p { margin: 0 0 12px; }
.proshowParameter img {
	max-width: 100% !important;
	height: auto !important;
	display: block;
	margin: 12px auto;
	border-radius: 6px;
}

/* ---------- 小节标题（技术参数 / 视频） ---------- */
.psp-subtit {
	margin: 26px 0 14px;
	padding: 0 0 0 12px;
	border-left: 4px solid #0d5198;
	line-height: 1.4;
}
.psp-subtit p { margin: 0; font-size: 18px; font-weight: bold; color: #333; }
.psp-subtit span { margin-left: 10px; font-size: 12px; color: #9aa7b8; font-weight: normal; letter-spacing: 1px; }
.proshowParameter > b {
	display: block;
	margin: 26px 0 0;
	padding: 0 0 0 12px;
	border-left: 4px solid #0d5198;
	font-size: 18px;
	line-height: 1.4;
	color: #333;
}
.proshowParameter > br { display: none; }

/* ---------- 参数表格（PC 端） ---------- */
.psp-table-wrap {
	position: relative;
	margin: 6px 0 10px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(13, 81, 152, 0.10);
}
.proshowParameter table {
	width: 100% !important;
	border-collapse: collapse !important;
	background: #fff;
	font-size: 14px;
}
.proshowParameter table td,
.proshowParameter table th {
	border: 1px solid #e3e9f2 !important;
	padding: 12px 14px !important;
	line-height: 1.7;
	vertical-align: middle;
	text-align: center;
	color: #4a5568;
	word-break: break-word;
	max-width: none !important;
}
/* 表头行（第一行） */
.proshowParameter table tr:first-child td,
.proshowParameter table tr:first-child th {
	background: #0d5198;
	color: #fff !important;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.5px;
	border-color: rgba(255, 255, 255, 0.28) !important;
}
/* 斑马纹 */
.proshowParameter table tbody tr:nth-child(even):not(:first-child) td { background: #f6f9fd; }
/* 首列（参数名称） */
.proshowParameter table td:first-child {
	background: #f2f7fd;
	color: #0d5198;
	font-weight: 600;
}
/* 悬停高亮 */
.proshowParameter table tbody tr:not(:first-child):hover td { background: #eaf2fb; }
/* 空单元格淡化 */
.proshowParameter table td.none { color: #c3cede; }

/* ---------- 视频自适应（16:9） ---------- */
.psp-video {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin: 14px 0 6px;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}
.psp-video iframe,
.psp-video embed,
.psp-video video {
	position: absolute;
	left: 0;
	top: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	display: block;
}

/* ---------- 产品分类侧栏：当前所属分类（锁定状态） ---------- */
.cp_type .bd ul li.cur p,
.cp_type .bd ul li.cur p:hover { background-color: #0d5198; cursor: default; position: relative; }
.cp_type .bd ul li.cur p a,
.cp_type .bd ul li.cur p:hover a { color: #fff; font-weight: bold; }

/* ---------- 分类产品数量统计徽章 ---------- */
.cp_type .bd ul li p { position: relative; }
/* 详情页侧栏无子菜单，隐藏展开箭头，右侧留位给数量徽章 */
.cp_type .bd ul li p span { background: none; cursor: default; }
.cp_type .bd ul li p i.psp-count {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	min-width: 20px;
	height: 22px;
	line-height: 22px;
	padding: 0 9px;
	background: #edf0f4;
	color: #8a94a6;
	font-size: 12px;
	font-style: normal;
	font-weight: bold;
	text-align: center;
	border-radius: 11px;
}
.cp_type .bd ul li p:hover i.psp-count { background: rgba(255, 255, 255, 0.28); color: #fff; }
.cp_type .bd ul li.cur p i.psp-count {
	right: 12px;
	background: rgba(255, 255, 255, 0.92);
	color: #0d5198;
}

/* ---------- 顶部产品信息卡片微调 ---------- */
.pro_detail_text .proxxname {
	border-bottom: 2px solid #e8eef5;
	padding-bottom: 14px;
	position: relative;
	line-height: 1.4;
}
.pro_detail_text .proxxname::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 80px;
	height: 2px;
	background: #0d5198;
}
.pro_detail_text .jyms div {
	/* 解除原主题的3行截断(max-height:90px + line-clamp:3)，长文字完整展开 */
	max-height: none;
	height: auto;
	display: block;
	-webkit-line-clamp: unset;
	-webkit-box-orient: horizontal;
	overflow: visible;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	background: #f7fafd;
	border-left: 3px solid #0d5198;
	padding: 10px 16px;
	border-radius: 0 6px 6px 0;
	line-height: 1.9;
	color: #555;
	word-break: break-word;
	overflow-wrap: break-word;
}
/* 数据库内容里混入的 h1 按正文样式显示，不放大 */
.pro_detail_text .jyms div h1 {
	display: inline;
	font-size: inherit;
	font-weight: normal;
	margin: 0;
	padding: 0;
	line-height: inherit;
}
.pro_detail_text ul li { transition: transform 0.3s ease; border-radius: 8px; }
.pro_detail_text ul li:hover { transform: translateY(-4px); }
.pro_detail_btn a.prodtl_btn2 {
	background: linear-gradient(135deg, #0d5198, #1a74d4);
	border-radius: 6px;
	box-shadow: 0 6px 16px rgba(13, 81, 152, 0.30);
	transition: all 0.3s ease;
}
.pro_detail_btn a.prodtl_btn2:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(13, 81, 152, 0.40);
}

/* ---------- 手机端（≤767px） ---------- */
@media (max-width: 767px) {
	.lyNyProDetail_right .lyNyProDetail_ConText { padding: 16px 12px 20px; }

	/* 表格横向滚动，不再挤压 */
	.psp-table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-radius: 8px;
	}
	.proshowParameter table { min-width: 660px; font-size: 13px; }
	.proshowParameter table td,
	.proshowParameter table th { padding: 10px 12px !important; white-space: nowrap; }
	/* 首列吸左，滑动时始终可见 */
	.proshowParameter table td:first-child {
		position: sticky;
		left: 0;
		z-index: 2;
		box-shadow: 3px 0 8px rgba(15, 40, 80, 0.08);
	}
	/* 滑动提示 */
	.psp-slide-tip {
		display: block;
		margin: 0 0 6px;
		padding: 7px 10px;
		background: #eef4fb;
		color: #0d5198;
		font-size: 12px;
		line-height: 1.5;
		text-align: center;
		border-radius: 6px;
	}

	.pro_detail_text .proxxname { font-size: 22px; }
}

@media (min-width: 768px) {
	.psp-slide-tip { display: none; }
}
