@charset "utf-8";

.hero-slider {
	height: 50vh;
}

/* ===== 产品详情主体 ===== */
.product-detail {
	display: flex;
	gap: 47px;
	align-items: center;
	padding-bottom: 50px;
	border-bottom: 1px solid #e8e8e8;
}

/* --- 左侧图片区 --- */
/* --- 左侧图片区 --- */
.gallery {
	flex: 0 0 700px;
	display: flex;
	gap: 12px;
}

.gallery-main {
	flex: 1;
	min-width: 0;
	aspect-ratio: 4/3;
	border-radius: 12px;
	overflow: hidden;
	background: #f5f5f5;
	position: relative;
	cursor: pointer;
}

.gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.4s ease;
}

.gallery-main img {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
}

.gallery-main img:first-child {
	opacity: 1;
	position: relative;
}

/*  水印 */
.gallery-badge {
	position: absolute;
	top: 16px;
	right: 16px;
	background: rgba(255, 255, 255, 0.92);
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #555;
	letter-spacing: 2px;
	z-index: 3;
	backdrop-filter: blur(4px);
}

.gallery-badge span {
	color: #c9a96e;
	font-style: italic;
	font-weight: 700;
}

/* ===== 缩略图侧栏 ===== */
.thumbs-sidebar {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
}

.thumb-arrow {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #f0f0f0;
	border: 1px solid #e0e0e0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	color: #aaa;
	transition: all 0.2s;
}

.thumb-arrow:hover {
	background: #e8e8e8;
	color: #666;
}

.thumbs-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.thumb {
	width: 56px;
	height: 46px;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: 0.25s;
	opacity: 0.65;
	background: #f0f0f0;
}

.thumb:hover {
	opacity: 0.88;
}

.thumb.active {
	border-color: #d4894a;
	opacity: 1;
	box-shadow: 0 2px 8px rgba(212, 137, 74, 0.25);
}

.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 幻灯片样式 */
.slide-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}

.slide-modal.show {
	display: flex;
}

.slide-wrap {
	width: 80%;
	height: 80%;
	position: relative;
}

.slide-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: none;
}

.slide-wrap img.show {
	display: block;
}

.slide-close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
	z-index: 10;
}

.slide-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 50px;
	color: #fff;
	cursor: pointer;
	padding: 0 20px;
	user-select: none;
}

.slide-prev {
	left: 0;
}

.slide-next {
	right: 0;
}





/* --- 右侧信息区 --- */
.info-panel {
	flex: 1;
	padding-top: 8px;
}

.info-title {
	font-size: 36px;
	font-weight: 400;
	color: #222;
	margin-bottom: 30px;
	letter-spacing: 2px;
}

/* 技术参数 */
.spec-section {
	margin-bottom: 32px;
}

.spec-heading {
	font-size: 18px;
	font-weight: 500;
	color: #222;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.spec-heading span {
	color: #d4894a;
	font-weight: 700;
	font-style: italic;
	font-size: 20px;
}

.spec-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px 24px;
}

.spec-item {}

.spec-label {
	font-size: 12px;
	color: #999;
	margin-bottom: 4px;
}

.spec-value {
	font-size: 15px;
	font-weight: 600;
	color: #333;
}

/* 分割线 */
.divider {
	height: 1px;
	background: #eee;
	margin: 28px 0;
}

/* 功能配置 */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px 20px;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: #333;
}

.feature-num {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #222;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* 按钮 */
.btn-row {
	display: flex;
	gap: 16px;
	margin-top: 36px;
}

.btn {
	padding: 13px 28px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	border: none;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.btn-primary {
	background: #d4894a;
	color: #fff;
}

.btn-primary:hover {
	background: #c27a3a;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(212, 137, 74, 0.35);
}

.btn-secondary {
	background: #d4894a;
	color: #fff;
}

.btn-secondary:hover {
	background: #c27a3a;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(212, 137, 74, 0.35);
}

.btn-icon {
	font-size: 16px;
	transition: transform 0.3s;
}

.btn:hover .btn-icon {
	transform: translateY(2px);
}

/* ===== 产品介绍 ===== */

 .pro_info {
            display: flex;
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
            /* 关键：容器相对定位，作为固定定位的参考 */
            position: relative;
            /* 保留容器原有高度（由子元素撑开） */
            min-height: 1px;
        }

        /* 左侧内容 */
.intro-text img {
    width: 100%;
}
        .product-left {
            max-width: 800px;
            flex: 3;
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .product-left h1 {
            font-size: 22px;
            margin-bottom: 15px;
            color: #222;
        }
        .product-left p {
            margin-bottom: 10px;
            color: #444;
            font-size: 14px;
        }

        /* 右侧联系模块 - 撑满容器高度，作为sticky的约束边界 */
        .contact-right {
            flex: 1;
            min-width: 280px;
            align-self: stretch; /* 关键：撑满与左侧同高 */
        }
        .contact-box {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            padding: 20px;
            width: 100%;
            /* sticky：自动实现吸顶，到底部时自动吸底 */
            position: sticky;
            top: 0;
        }

        .company-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        .logo-box {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            border-radius: 4px;
            flex-shrink: 0;
        }
		.logo-box img {
    width: 100%;
}
        .company-name {
            font-weight: bold;
            font-size: 15px;
            color: #222;
        }
        .icons-group {
            display: flex;
            gap: 8px;
            margin-left: auto;
        }
        .icon {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #ddd;
        }
        .icon:nth-child(1) {background: #07C160;}
        .icon:nth-child(2) {background: #1677ff;}
        .icon:nth-child(3) {background: #f7ba3e;}

        .contact-person {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }
        .avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #eee;
            overflow: hidden;
            flex-shrink: 0;
        }
        .avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .person-name {
            font-size: 16px;
            font-weight: bold;
            color: #222;
        }

        .btn-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
       
       
        .btn.order {
            background: #F5222D;
            color: #fff;
        }
        .btn.inquiry {
            background: #fff;
            color: #F5222D;
            border: 1px solid #F5222D;
        }
        .btn.chat {
            background: #fff;
            color: #333;
            border: 1px solid #ccc;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .chat-icon {
            width: 16px;
            height: 16px;
            background: #1677ff;
            border-radius: 50%;
        }
		.box{
			background: #07C160;
			width: 100%;
			height: 1000px;
		}
		button.btn.order a {
    color: #fff;
    text-decoration: none;
}

button.btn.inquiry a {
    text-decoration: none;
    color: #000;
}

button.btn.chat a {
    text-decoration: none;
    color: #000;
}
        /* ====================== 响应式核心 ====================== */
        @media (max-width: 992px) {
            .pro_info {
                flex-direction: column;
            }
            .contact-right {
                width: 100%;
                min-width: auto;
            }
            /* 小屏幕取消sticky，恢复流式布局 */
            .contact-box {
                position: static;
            }
        }

/* 响应式 */
@media (max-width:900px) {
	.product-detail {
		flex-direction: column;
		gap: 32px;
	}

	.gallery {
		flex: none;
		width: 100%;
		max-width: 560px;
		margin: 0 auto;
		flex-direction: row-reverse;
		justify-content: center;
	}

	.thumbs-sidebar {
		flex-direction: row;
		gap: 8px;
		order: -1;
	}

	.thumbs-list {
		flex-direction: column;
	}

	.thumb {
		width: 64px;
		height: 50px;
	}

	.thumb.active {
		transform: translateY(-2px) translateX(0);
	}

	.thumb:hover {
		transform: translateY(-1px) translateX(0);
	}

	.thumb-arrow {
		display: none;
	}

	.info-title {
		font-size: 28px;
	}

	.spec-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width:480px) {
	.container {
		padding: 20px 14px;
	}

	.info-title {
		font-size: 24px;
	}

	.spec-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.feature-grid {
		grid-template-columns: 1fr 1fr;
	}

	.btn-row {
		flex-direction: column;
	}

	.btn {
		justify-content: center;
	}
}


/* ===== Hero ===== */
.hero {
	height: 55vh;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 60%, #16213e 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 70%, rgba(212, 137, 74, 0.14) 0%, transparent 65%);
}

.hero-eyebrow {
	font-size: 38px;
	letter-spacing: 4px;
	color: #d4894a;
	text-transform: uppercase;
	margin-bottom: 16px;
	opacity: 0;
	animation: fadeInDown 0.8s 0.2s forwards;
}

.hero-title {
	color: #fff;
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 800;
	margin-bottom: 16px;
	opacity: 0;
	animation: fadeInDown 0.8s 0.4s forwards;
}

.hero-title span {
	color: #d4894a;
}

.hero-sub {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.5);
	max-width: 520px;
	line-height: 1.7;
	opacity: 0;
	animation: fadeInUp 0.8s 0.6s forwards;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.btn-row a {
	text-decoration: none;
	color: #fff;
}



.info-section {
	max-width: 900px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 16px;
	/* padding: 2rem; */
}

.section-title {
	font-size: 1.3rem;
	color: #1e293b;
	font-weight: 600;
	margin-bottom: 1.2rem;
	padding-left: 0.6rem;
	border-left: 4px solid #10b981;
}
.intro-text {
    margin-bottom: 30px;
}
.info-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	color: #334155;
	font-size: 0.95rem;
}

.info-item .check-icon {
	color: #10b981;
	font-size: 1.1rem;
	margin-top: 0.1rem;
	flex-shrink: 0;
}

.info-item strong {
	color: #0f172a;
	font-weight: 500;
}