@charset "utf-8";
/* ============================================================
   增量样式（不改动原 style.css）
   1) 列表页卡片：div 版，长标题单行截断，防撑破布局
   2) 详情页：正文容器 + 相关产品/相关新闻 div 版
   3) 分页条
   4) 客户留言页 /gbook/
   ============================================================ */

/* ---- 列表页卡片（产品 / 工程案例） ---- */
.plist-item {
	float: left;
	margin: 0 10px 10px;
}
.plist-img {
	display: block;
	border: 2px solid #eee;
	line-height: 0;
}
.plist-img img {
	display: block;
}
.plist-title {
	height: 40px;
	line-height: 40px;
	background: #eee;
	border: 2px solid #eee;
	border-top: 0;
}
.plist-title a {
	display: block;
	width: 250px;
	margin: 0 auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---- 分页条 ---- */
.pagebar {
	height: 70px;
	line-height: 70px;
}

/* ---- 详情页正文与相关区块 ---- */
.innerbody {
	padding-top: 30px;
	overflow: hidden;
}
/* 正文内保留的数据表格（产品参数表）：居中 + 单元格留白，避免贴边挤字 */
.innerbody table {
	max-width: 100%;
	margin: 0 auto 14px;
}
.innerbody table td,
.innerbody table th {
	padding: 4px 8px;
}
/* 正文内自带的标题条（老站 table 布局里的标题行，现改为 div） */
.ctitle {
	padding: 14px 0 4px;
	color: #333;
}
.relpro-item {
	float: left;
	width: 20%;
	padding: 0 6px;
	box-sizing: border-box;
}
.relnews-col {
	width: 50%;
}

/* ============================================================
   客户留言页（/gbook/）：div 布局替代原 table 结构，整体美化
   验证码按程序原生 120x45 显示（原模板内联样式压成 78x18）
   ============================================================ */
.gbook {
	width: 100%;
	margin: 0px auto 0;
	padding: 30px 34px;
	background: #f8f9fa;
	border: 1px solid #e5e7eb;
	box-sizing: border-box;
}
.gbook-tip {
	font-size: 13px;
	color: #999;
	margin-bottom: 18px;
}
.gbook-row {
	display: flex;
	align-items: flex-start;
	margin-bottom: 16px;
}
.gbook-label {
	flex: 0 0 96px;
	width: 96px;
	padding: 12px 14px 0 0;
	font-size: 14px;
	color: #333;
	text-align: right;
	box-sizing: content-box;
}
.gbook-field {
	flex: 1;
}
.gbook-field input[type="text"],
.gbook-field textarea {
	width: 100%;
	height: 44px;
	box-sizing: border-box;
	padding: 0 12px;
	border: 1px solid #dcdcdc;
	border-radius: 2px;
	background: #fff;
	font-size: 14px;
	font-family: inherit;
	color: #333;
	outline: none;
}
.gbook-field textarea {
	height: auto;
	line-height: 1.7;
	padding: 10px 12px;
	resize: vertical;
}
.gbook-field input[type="text"]:focus,
.gbook-field textarea:focus {
	border-color: #1b4693;
	box-shadow: 0 0 0 2px rgba(27, 70, 147, 0.12);
}
.gbook-code input[type="text"] {
	width: 170px;
	margin-right: 12px;
	display: inline-block;
}
.gbook-code img {
	height: 45px;
	vertical-align: middle;
	border: 1px solid #e5e7eb;
	border-radius: 2px;
	background: #fff;
	cursor: pointer;
}
.gbook-btn {
	padding-left: 110px;
	margin-top: 24px;
}
.gbook-submit,
.gbook-reset {
	height: 44px;
	padding: 0 34px;
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	font-size: 15px;
	font-family: inherit;
}
.gbook-submit {
	background: #1b4693;
	color: #fff;
	margin-right: 12px;
}
.gbook-submit:hover {
	background: #163a78;
}
.gbook-reset {
	background: #e8e8e8;
	color: #555;
}
.gbook-reset:hover {
	background: #dcdcdc;
}
.req {
	color: #e60012;
	font-weight: normal;
	margin-left: 4px;
}

/* 窄屏：标签换行到输入框上方，按钮不再缩进 */
@media screen and (max-width: 768px) {
	.gbook {
		width: auto;
		padding: 20px 18px;
	}
	.gbook-row {
		display: block;
	}
	.gbook-label {
		width: auto;
		padding: 0 0 6px;
		text-align: left;
	}
	.gbook-code input[type="text"] {
		width: 120px;
	}
	.gbook-btn {
		padding-left: 0;
	}
	.gbook-submit,
	.gbook-reset {
		padding: 0 22px;
	}
}
