/* ===========================================================
   江苏大松机械有限公司 · 产品详情页样式
   =========================================================== */

/* ===== 顶部：画廊 + 信息 ===== */
.page-main{
	padding-bottom: 70px;
}
.ps-top {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 64px;
	align-items: start;
	margin-bottom: 90px;
}
/* 画廊 */
.ps-gallery__main {
	position: relative;
	border: 1px solid var(--line);
	background: var(--bg-alt);
	overflow: hidden;
}
.ps-gallery__main img {
	width: 100%;
	/* height: 460px; */
	object-fit: cover;
	display: block;
	transition: opacity .45s var(--ease), transform 1.2s var(--ease-out);
}
.ps-gallery__main:hover img {
	transform: scale(1.04);
}
.ps-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	background: rgba(255,255,255,.9);
	color: var(--text);
	padding: 11px;
	opacity: 0;
	transition: all .4s var(--ease);
	z-index: 2;
}
.ps-gallery__main:hover .ps-gallery__nav {
	opacity: 1;
}
.ps-gallery__nav:hover {
	background: var(--accent);
	color: #fff;
}
.ps-gallery__nav--prev {
	left: 16px;
}
.ps-gallery__nav--next {
	right: 16px;
}
.ps-gallery__count {
	position: absolute;
	right: 16px;
	bottom: 14px;
	z-index: 2;
	font-family: var(--serif);
	font-size: 12px;
	letter-spacing: .1em;
	color: #fff;
	background: rgba(10,10,14,.6);
	padding: 4px 12px;
}
.ps-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-top: 14px;
}
.ps-thumb {
	border: 1px solid var(--line);
	background: var(--bg-alt);
	padding: 0;
	/* height: 84px; */
	overflow: hidden;
	position: relative;
	transition: all .4s var(--ease);
}
.ps-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ps-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	border: 2px solid transparent;
	transition: border-color .4s var(--ease);
}
.ps-thumb:hover {
	border-color: #c9c9cf;
}
.ps-thumb.active {
	border-color: var(--accent);
}
.ps-thumb.active::after {
	border-color: var(--accent);
}
/* 信息区 */
.ps-info__tag {
	display: inline-block;
	font-size: 11.5px;
	color: var(--accent);
	border: 1px solid rgba(184,0,0,.35);
	padding: 4px 14px;
	letter-spacing: .12em;
	margin-bottom: 18px;
}
.ps-info__title {
	font-size: 32px;
	font-weight: 600;
	letter-spacing: .03em;
	line-height: 1.3;
}
.ps-info__en {
	font-family: var(--serif);
	font-size: 12px;
	letter-spacing: .22em;
	color: var(--text-mut-2);
	text-transform: uppercase;
	margin-top: 10px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}
.ps-info__desc {
	font-size: 14.5px;
	color: var(--text-mut);
	line-height: 2;
	margin-top: 22px;
	text-align: justify;
}
.ps-info__chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}
.ps-info__chips li {
	font-size: 12.5px;
	color: var(--text);
	background: var(--bg-alt);
	padding: 7px 16px;
	letter-spacing: .06em;
	position: relative;
}
.ps-info__chips li::before {
	content: '';
	display: inline-block;
	width: 5px;
	height: 5px;
	background: var(--accent);
	transform: rotate(45deg);
	margin-right: 8px;
	vertical-align: 1px;
}
.ps-info__params {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	margin-top: 26px;
}
.ps-info__param {
	background: #fff;
	padding: 16px 20px;
}
.ps-info__param span {
	display: block;
	font-size: 12px;
	color: var(--text-mut-2);
	letter-spacing: .08em;
	margin-bottom: 4px;
}
.ps-info__param b {
	font-family: var(--serif);
	font-size: 16px;
	font-weight: 500;
	color: var(--text);
}
.ps-info__btns {
	display: flex;
	gap: 16px;
	margin-top: 28px;
	flex-wrap: wrap;
}
.ps-info__tel {
	width: 16px;
	height: 16px;
}
.ps-info__promise {
	display: flex;
	gap: 26px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px dashed var(--line);
	flex-wrap: wrap;
}
.ps-info__promise span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text-mut);
	letter-spacing: .04em;
}
.ps-info__promise svg {
	width: 17px;
	height: 17px;
	color: var(--accent);
}
/* ===== 通用分节 ===== */
.ps-section {
	margin-bottom: 80px;
}
.ps-section--last {
	margin-bottom: 10px;
}
/* ===== 三种板块标题（区分样式） ===== */
.ps-title {
	margin-bottom: 36px;
}
.ps-title h2 {
	font-size: 30px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.3;
}
.ps-title > span {
	font-family: var(--serif);
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--text-mut-2);
}
/* 产品概述：左侧竖线 + 基线英文 */
.ps-title--overview {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding-left: 18px;
	border-left: 3px solid var(--accent);
}
/* 大松优势：居中，两侧对称细线 */
.ps-title--feats {
	text-align: center;
}
.ps-title--feats h2 {
	display: inline-flex;
	align-items: center;
	gap: 22px;
}
.ps-title--feats h2::before,
.ps-title--feats h2::after {
	content: '';
	width: 64px;
	height: 1px;
	background: #d9d9df;
}
.ps-title--feats > span {
	display: block;
	margin-top: 10px;
}
/* 热销产品：标题接向右渐隐长线 */
.ps-title--hot {
	display: flex;
	align-items: center;
	gap: 18px;
}
.ps-title--hot::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, #d9d9df, rgba(217,217,223,0));
}
@media (max-width: 600px) {
	.ps-title h2 { font-size: 24px; }
	.ps-title--feats h2::before,
	.ps-title--feats h2::after { width: 34px; }
}
.ps-section__body p {
	font-size: 15px;
	color: var(--text-mut);
	line-height: 2.1;
	text-align: justify;
	margin-bottom: 14px;
}
/* ===== 产品特点 ===== */
.ps-feats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.ps-feat {
	position: relative;
	background: var(--bg-alt);
	padding: 34px 26px 30px;
	overflow: hidden;
	transition: all .5s var(--ease);
}
.ps-feat__no {
	position: absolute;
	right: 18px;
	top: 14px;
	font-family: var(--serif);
	font-size: 46px;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px #dcdce2;
	transition: all .5s var(--ease);
}
.ps-feat h4 {
	font-size: 16.5px;
	font-weight: 600;
	letter-spacing: .03em;
	margin-bottom: 10px;
}
.ps-feat p {
	font-size: 13px;
	color: var(--text-mut);
	line-height: 1.9;
}
.ps-feat::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 0;
	background: var(--accent);
	transition: width .5s var(--ease);
}
.ps-feat:hover {
	background: #fff;
	box-shadow: 0 20px 42px rgba(0,0,0,.09);
	transform: translateY(-5px);
}
.ps-feat:hover::before {
	width: 100%;
}
.ps-feat:hover .ps-feat__no {
	-webkit-text-stroke-color: rgba(184,0,0,.35);
}
/* ===== 技术参数表 ===== */
.ps-table-wrap {
	border: 1px solid var(--line);
}
.ps-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.ps-table thead th {
	background: var(--bg-dark);
	color: var(--text-light);
	font-weight: 500;
	letter-spacing: .08em;
	text-align: left;
	padding: 15px 24px;
	font-size: 13.5px;
}
.ps-table tbody td {
	padding: 15px 24px;
	border-top: 1px solid var(--line);
	color: var(--text-mut);
	line-height: 1.7;
}
.ps-table tbody td:nth-child(odd) {
	color: var(--text);
	font-weight: 500;
	width: 18%;
	background: var(--bg-alt);
}
.ps-table tbody tr {
	transition: background .4s var(--ease);
}
.ps-table tbody tr:hover {
	background: var(--accent-soft);
}
.ps-table__note {
	font-size: 12.5px;
	color: var(--text-mut-2);
	letter-spacing: .03em;
	padding: 14px 4px 0;
}
/* ===== 相关产品 ===== */
.ps-related {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.ps-related__card {
	background: #fff;
	border: 1px solid var(--line);
	transition: all .5s var(--ease);
	display: block;
}
.ps-related__card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 42px rgba(0,0,0,.1);
	border-color: transparent;
}
.ps-related__img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.ps-related__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 1s var(--ease-out);
}
.ps-related__card:hover .ps-related__img img {
	transform: scale(1.05);
}
.ps-related__card h4 {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 16px 18px 0;
	transition: color .4s var(--ease);
}
.ps-related__card:hover h4 {
	color: var(--accent);
}
.ps-related__card span {
	display: block;
	font-size: 12px;
	color: var(--text-mut-2);
	padding: 6px 18px 18px;
	letter-spacing: .03em;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
.ps-top {
	grid-template-columns: 1fr;
	gap: 40px;
	margin-bottom: 60px;
}
.ps-gallery__main img {
	/* height: 340px; */
}
.ps-info__title {
	font-size: 25px;
}
.ps-feats {
	grid-template-columns: repeat(2, 1fr);
}
.ps-related {
	grid-template-columns: repeat(2, 1fr);
}
.ps-table-wrap {
	overflow-x: auto;
}
.ps-table {
	min-width: 680px;
}
}
@media (max-width: 600px) {
.ps-feats {
	grid-template-columns: 1fr;
}
.ps-related {
	grid-template-columns: 1fr;
}
.ps-gallery__main img {
	/* height: 260px; */
}
.ps-info__params {
	grid-template-columns: 1fr;
}
}
