/* 顶栏、banner 见 theme.css */
.banner > div:nth-child(2) > div:nth-child(2) {
	animation: pd-banner-line 0.55s var(--ease-out, ease) both;
}
@keyframes pd-banner-line{
	from{ transform:scaleX(0); opacity:.5; }
	to{ transform:scaleX(1); opacity:1; }
}
/* 子导航 */
.tab{
	width:100%;
	height:80px;
	display:flex;
	justify-content: center;
	align-items: center;
	border-bottom:solid var(--color-border, #ddd) 1px;
	margin:0 auto;
	background:linear-gradient(180deg, #fff, #fafafa);
}
.tab>div{
	width:75%;
	display:flex;
	justify-content: flex-start;
}
.tab>div>div{
	display:flex;
	justify-content: flex;
	align-items: center;
}
.tab>div>div:nth-child(1){
	color:var(--color-primary, #1677ff);
	margin-right:15px;
	border-radius:var(--radius-sm, 8px);
	padding:6px 8px;
	margin-left:-8px;
	transition:background var(--duration, .22s) ease;
}
.tab>div>div:nth-child(1):hover{
	background:var(--color-primary-softer, rgba(22,119,255,.08));
}
.tab>div>div:hover a{
	cursor: pointer;
	color:var(--color-primary, #1677ff);
}
.tab>div>div:hover a span{
	cursor: pointer;
	/* border-bottom:solid var(--color-primary, #1677ff) 1px; */
}
.tab>div>div:hover{
	cursor: pointer;
	/* border-bottom:solid var(--color-primary, #1677ff) 1px; */
}
.tab>div>div:nth-child(1)>img{
	width:20px;
    margin-right:5px;
}

/* 产品 */
.product{
	width:100%;
}
.product>div{
	width:min(1200px, 92%);
	margin:0 auto;
	margin-top:40px;
	display:flex;
	justify-content: flex-start;
	align-items: flex-start;
	gap:28px;
	box-sizing: border-box;
}
.product>div>div:nth-child(1){
	width:240px;
	flex-shrink:0;
}
.product>div>div:nth-child(1)>div:nth-child(1){
	width:100%;
	height:60px;
	background:linear-gradient(135deg, var(--color-primary-active, #0958d9) 0%, var(--color-primary, #1677ff) 58%, var(--color-primary-hover, #4096ff) 100%);
	text-align:center;
	line-height: 60px;
	color:#fff;
	font-size:18px;
	font-weight:600;
	letter-spacing:.04em;
	border:none;
	border-radius:var(--radius-sm, 8px) var(--radius-sm, 8px) 0 0;
	box-shadow:0 4px 14px rgba(22,119,255,.24);
}
.product>div>div:nth-child(1)>div:nth-child(2)>dl{
	width:100%;
	border-left:solid #ccc 1px;
	/* border-top:solid #ccc 1px; */
}
.product>div>div:nth-child(1)>div:nth-child(2)>dl>dt,.product>div>div:nth-child(1)>div:nth-child(2)>dl>dd{
    width:100%;
	height:45px;
	display:flex;
	justify-content: flex-start;
	align-items: center;
	text-indent:20px;
	border-bottom:solid var(--color-border, #ccc) 1px;
	border-right:solid var(--color-border, #ccc) 1px;
	transition:background var(--duration, .22s) ease, color var(--duration, .22s) ease;
}
.product>div>div:nth-child(1)>div:nth-child(2)>dl>dd{
	text-indent: 30px;
    line-height:45px;
	display:none;
	list-style-type: circle;
}
.product>div>div:nth-child(1)>div:nth-child(2)>dl>dd:hover{
	color:#fff;
	background:var(--color-primary, #1677ff);
	cursor: pointer;
}
.product>div>div:nth-child(1)>div:nth-child(2)>dl>dt:hover,.product>div>div:nth-child(1)>div:nth-child(2)>dl>dd:hover{
    background:var(--color-primary, #1677ff);
	cursor: pointer;
	color:#fff;
}
.product>div>div:nth-child(1)>div:nth-child(2){
	width:100%;
}
.product>div>div:nth-child(2){
	flex:1;
	min-width:0;
	border:solid var(--color-border, #ddd) 1px;
	border-top:none;
	background:#fff;
}
.product>div>div:nth-child(2)>div:nth-child(1){
	width:100%;
	height:48px;
	display:flex;
	justify-content: flex-start;
	align-items: center;
	background:#fff;
	color:#333;
	font-size:16px;
	font-weight:600;
	padding:0 16px;
	border-bottom:3px solid var(--color-primary, #1677ff);
	box-sizing:border-box;
}
/* 旧占位页用：内容区居中；详情页 .pd-main-inner 在下面单独覆盖为左对齐满宽 */
.product>div>div:nth-child(2)>div:nth-child(2):not(.pd-main-inner){
	width:100%;
	display:flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	padding-top:10px;
}

.product>div>div:nth-child(2)>div:nth-child(2):not(.pd-main-inner) p{
	width:94%;
	overflow: hidden;
	margin:6px auto;
}
.product>div>div:nth-child(2)>div:nth-child(2):not(.pd-main-inner) p>img{
	width:100%;
}
.product>div>div:nth-child(2)>div:nth-child(3){
	width:94%;
	margin:40px auto;
	margin-bottom:0;
	justify-content: flex-end;
	align-items: center;
	height:50px;
	text-align:right;
}
.product>div>div:nth-child(2)>div:nth-child(3)>a:hover{
	color:var(--color-primary, #1677ff);
}

/* 产品详情页：产品展示 + Markdown */
.pd-main{
	flex:1;
	min-width:0;
	border:solid var(--color-border, #ddd) 1px;
	border-top:none;
	background:#fff;
	border-radius:0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0;
	box-shadow:var(--shadow-sm, 0 2px 10px rgba(0,0,0,.06));
}
.pd-main-inner{
	padding:0 0 36px;
	width:100%;
	display:flex;
	flex-direction:column;
	align-items:stretch;
	justify-content:flex-start;
	box-sizing:border-box;
}
.pd-section{
	padding:22px 24px 16px;
	box-sizing:border-box;
	width:100%;
	align-self:stretch;
	border-bottom:1px solid var(--color-border, #eee);
}
.pd-section:last-of-type{
	border-bottom:none;
}
.pd-section__h{
	font-size:18px;
	font-weight:700;
	color:var(--color-text, #222);
	margin:0 0 18px;
	padding-bottom:10px;
	position:relative;
	letter-spacing:.02em;
}
.pd-section__h::after{
	content:"";
	position:absolute;
	left:0;
	bottom:0;
	width:48px;
	height:3px;
	background:linear-gradient(90deg, var(--color-primary, #1677ff), rgba(22,119,255,.28));
	border-radius:2px;
}
.pd-show__grid{
	display:grid;
	grid-template-columns:minmax(0, 380px) minmax(0, 1fr);
	gap:28px;
	align-items:start;
}
@media (max-width: 900px){
	.pd-show__grid{
		grid-template-columns:1fr;
	}
}
.pd-show__img{
	background:linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
	border:1px solid var(--color-border, #eee);
	border-radius:var(--radius-md, 12px);
	padding:20px;
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:220px;
	transition:box-shadow var(--duration, .22s) ease, border-color var(--duration, .22s) ease;
}
.pd-show__img:hover{
	box-shadow:var(--shadow-sm);
	border-color:rgba(22,119,255,.24);
}
.pd-show__img img{
	max-width:100%;
	height:auto;
	object-fit:contain;
	transition:transform var(--duration-slow, .35s) var(--ease-out, ease);
}
.pd-show__img:hover img{
	transform:scale(1.02);
}
.pd-show__name{
	font-size:22px;
	font-weight:700;
	color:var(--color-text, #222);
	margin:0 0 12px;
	line-height:1.35;
}
.pd-show__intro{
	font-size:15px;
	line-height:1.75;
	color:#444;
	margin:0 0 20px;
	white-space:pre-wrap;
}
.pd-show__actions{
	display:flex;
	flex-wrap:wrap;
	gap:12px;
	align-items:center;
}
.pd-show__actions .layui-btn{
	border-radius:var(--radius-sm, 8px) !important;
	font-weight:600;
	letter-spacing:.03em;
}
.pd-btn-inquiry{
	background:linear-gradient(180deg, var(--color-primary-hover, #4096ff), var(--color-primary, #1677ff)) !important;
	border:1px solid var(--color-primary, #1677ff) !important;
	color:#fff !important;
	box-shadow:var(--shadow-primary, 0 6px 20px rgba(22,119,255,.28)) !important;
	transition:transform .15s ease, box-shadow .2s ease, filter .2s ease !important;
}
.pd-btn-inquiry:hover{
	filter:brightness(1.05);
	box-shadow:0 8px 26px rgba(22,119,255,.34) !important;
	transform:translateY(-2px);
}
.pd-btn-inquiry:active{
	transform:translateY(0);
	filter:brightness(.98);
}
.pd-btn-nav{
	margin-right:0 !important;
	border:1px solid var(--color-border, #ddd) !important;
	background:#fff !important;
	color:var(--color-text, #333) !important;
	transition:background .2s ease, border-color .2s ease, color .2s ease, transform .12s ease !important;
}
.pd-btn-nav:hover:not(.pd-btn-nav--disabled){
	border-color:var(--color-primary, #1677ff) !important;
	color:var(--color-primary, #1677ff) !important;
	background:var(--color-primary-softer, rgba(22,119,255,.1)) !important;
	transform:translateY(-1px);
}
.pd-btn-nav:active:not(.pd-btn-nav--disabled){
	transform:translateY(0);
}
.pd-btn-nav--disabled{
	opacity:.4;
	pointer-events:none;
	cursor:not-allowed !important;
	filter:grayscale(.2);
}
.pd-detail .markdown-body{
	margin-top:4px;
	width:100%;
	max-width:100%;
	padding:0;
	margin-left:0;
	margin-right:0;
	box-sizing:border-box;
	overflow-x:auto;
	-webkit-overflow-scrolling:touch;
}
.markdown-body{
	font-size:15px;
	line-height:1.75;
	color:#333;
	text-align:left;
}
.markdown-body p{
	margin:0 0 12px;
	width:100%;
	max-width:100%;
	margin-left:0;
	margin-right:0;
}
.markdown-body p + p{
	margin-top:0;
}
.markdown-body blockquote{
	margin:12px 0;
	padding:8px 0 8px 14px;
	border-left:3px solid var(--color-primary-soft, rgba(22,119,255,.28));
	background:var(--color-surface, #f0f6fc);
}
.markdown-body table{
	width:100%;
	max-width:100%;
	border-collapse:collapse;
	margin:16px 0;
	font-size:14px;
}
.markdown-body table th,
.markdown-body table td{
	border:1px solid #ddd;
	padding:8px 10px;
	vertical-align:top;
}
.markdown-body table th{
	background:linear-gradient(180deg, #f7fbff 0%, var(--color-primary-softer, rgba(22,119,255,.1)) 100%);
	font-weight:600;
	color:var(--color-text, #333);
}
.markdown-body h1,.markdown-body h2,.markdown-body h3{
	margin:20px 0 10px;
	font-size:16px;
}
.markdown-body hr{
	border:none;
	border-top:1px solid #e5e5e5;
	margin:16px 0;
}
.markdown-body ul,
.markdown-body ol{
	margin:8px 0 12px;
	margin-left:0;
	padding-left:1.35em;
	list-style-position:outside;
}
.markdown-body li{
	margin:4px 0;
	text-align:left;
}
.markdown-body img{
	max-width:100%;
	height:auto;
	vertical-align:middle;
}
