/* 宝梅智能 - 产品列表 & 详情页 */

body.baomei-product-layout .home-container,
body.baomei-product-layout .wrapper .container.home-container {
	max-width: 100%;
	padding: 0;
}

body.baomei-product-layout #content {
	padding: 0;
}

/* ── 通用 Hero ── */
.baomei-product-hero {
	position: relative;
	padding: 56px 0 64px;
	overflow: hidden;
}

.baomei-product-hero--compact {
	padding: 40px 0 48px;
}

.baomei-product-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.35;
}

.baomei-product-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(18, 26, 46, 0.92) 0%, rgba(26, 35, 64, 0.78) 100%);
}

.baomei-product-hero .container {
	position: relative;
	z-index: 1;
}

.baomei-breadcrumb {
	font-size: 13px;
	margin-bottom: 16px;
}

.baomei-breadcrumb a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.baomei-breadcrumb a:hover {
	color: var(--primary-color, #ff5e3a);
}

.baomei-breadcrumb span {
	color: rgba(255, 255, 255, 0.45);
	margin: 0 8px;
}

.baomei-product-hero-content h1,
.baomei-product-hero h1 {
	color: #fff;
	font-size: 36px;
	font-weight: 700;
	margin: 8px 0 12px;
}

.baomei-product-hero-content p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 15px;
	margin-bottom: 20px;
}

.baomei-hero-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	background: var(--primary-color, #ff5e3a);
	color: #fff !important;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 15px;
	transition: background 0.3s;
}

.baomei-hero-phone:hover {
	background: #e04e2a;
	color: #fff !important;
}

/* ── 列表页 ── */
.baomei-product-archive-body {
	padding: 60px 0 80px;
	background: #f4f6fa;
}

.baomei-archive-count {
	color: #667;
	font-size: 14px;
	margin-bottom: 28px;
}

.baomei-archive-count strong {
	color: var(--primary-color, #ff5e3a);
}

.baomei-product-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 32px;
}

.baomei-product-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: #fff;
	border-radius: 999px;
	color: #1a2340;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: 0 2px 10px rgba(26, 35, 64, 0.06);
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.baomei-product-tab em {
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(26, 35, 64, 0.08);
	color: #556;
	line-height: 1.4;
}

.baomei-product-tab:hover,
.baomei-product-tab.is-active {
	background: var(--primary-color, #ff5e3a);
	color: #fff;
	box-shadow: 0 6px 18px rgba(255, 94, 58, 0.28);
}

.baomei-product-tab:hover em,
.baomei-product-tab.is-active em {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.baomei-product-grid--archive {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.baomei-product-grid--archive .baomei-product-card {
	box-shadow: 0 4px 20px rgba(26, 35, 64, 0.1);
}

.baomei-product-grid--archive .baomei-product-body h2 {
	font-size: 16px;
	margin-bottom: 8px;
	font-weight: 700;
	color: #1a2340;
}

.baomei-product-empty-page {
	text-align: center;
	padding: 80px 20px;
	color: #778;
}

.baomei-product-empty-page i {
	font-size: 48px;
	color: #ccd;
	margin-bottom: 16px;
	display: block;
}

.baomei-archive-cta {
	margin-top: 56px;
	padding: 40px;
	background: #fff;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(26, 35, 64, 0.06);
}

.baomei-archive-cta h3 {
	color: #1a2340;
	font-size: 22px;
	margin-bottom: 10px;
	font-weight: 700;
}

.baomei-archive-cta p {
	color: #778;
	margin-bottom: 20px;
}

/* ── 详情页 ── */
.baomei-single-wrap {
	padding: 48px 15px 80px;
}

.baomei-single-gallery-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 4px 20px rgba(26, 35, 64, 0.08);
	margin-bottom: 24px;
}

.baomei-single-main-image {
	border-radius: 8px;
	overflow: hidden;
	background: #f0f2f6;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.baomei-single-main-image img {
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: contain;
	display: block;
}

.baomei-single-main-image--empty {
	flex-direction: column;
	color: #aab;
	gap: 12px;
	padding: 60px;
}

.baomei-single-main-image--empty i {
	font-size: 48px;
}

.baomei-single-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.baomei-product-thumb {
	border: 2px solid transparent;
	border-radius: 6px;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	background: none;
	width: 72px;
	height: 72px;
	transition: border-color 0.2s;
}

.baomei-product-thumb.is-active,
.baomei-product-thumb:hover {
	border-color: var(--primary-color, #ff5e3a);
}

.baomei-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.baomei-single-block {
	background: #fff;
	border-radius: 12px;
	padding: 28px 32px;
	margin-bottom: 24px;
	box-shadow: 0 2px 16px rgba(26, 35, 64, 0.06);
}

.baomei-single-block--soft {
	background: #f8f9fc;
}

.baomei-single-block h2 {
	color: #1a2340;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f0f2f6;
}

.baomei-single-block h2 i {
	color: var(--primary-color, #ff5e3a);
	margin-right: 8px;
	font-size: 18px;
}

.baomei-single-desc,
.baomei-single-prose {
	color: #556;
	line-height: 1.85;
	font-size: 15px;
}

.baomei-single-desc p {
	margin-bottom: 12px;
}

.baomei-text-muted {
	color: #99a;
}

.baomei-spec-table-wrap {
	overflow-x: auto;
}

.baomei-spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.baomei-spec-table th,
.baomei-spec-table td {
	padding: 12px 16px;
	border: 1px solid #e8ecf2;
	text-align: center;
}

.baomei-spec-table thead th {
	background: #1a2340;
	color: #fff;
	font-weight: 600;
}

.baomei-spec-table tbody th {
	background: #f4f6fa;
	color: #1a2340;
	font-weight: 600;
	text-align: left;
}

.baomei-spec-table tbody tr:nth-child(even) td {
	background: #fafbfc;
}

.baomei-features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.baomei-feature-item {
	padding: 20px;
	background: #f8f9fc;
	border-radius: 8px;
	border-left: 3px solid var(--primary-color, #ff5e3a);
}

.baomei-feature-num {
	display: inline-block;
	font-size: 24px;
	font-weight: 800;
	color: rgba(255, 94, 58, 0.25);
	line-height: 1;
	margin-bottom: 8px;
}

.baomei-feature-item h3 {
	font-size: 15px;
	color: #1a2340;
	margin-bottom: 6px;
	font-weight: 700;
}

.baomei-feature-item p {
	font-size: 13px;
	color: #778;
	margin: 0;
	line-height: 1.6;
}

.baomei-video-wrap {
	border-radius: 8px;
	overflow: hidden;
}

.baomei-video-wrap iframe,
.baomei-video-wrap video {
	width: 100%;
	max-width: 100%;
}

/* 侧边栏 */
.baomei-sidebar-card {
	background: #fff;
	border-radius: 12px;
	padding: 28px 24px;
	box-shadow: 0 4px 24px rgba(26, 35, 64, 0.1);
	border-top: 4px solid var(--primary-color, #ff5e3a);
	position: sticky;
	top: 100px;
}

.baomei-sidebar-card h3 {
	color: #1a2340;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
}

.baomei-sidebar-card > p {
	color: #778;
	font-size: 14px;
	line-height: 1.65;
	margin-bottom: 18px;
}

.baomei-sidebar-contacts {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

.baomei-sidebar-contacts li {
	padding: 7px 0;
	font-size: 14px;
	color: #445;
}

.baomei-sidebar-contacts i {
	color: var(--primary-color, #ff5e3a);
	width: 20px;
	margin-right: 6px;
}

.baomei-sidebar-contacts a {
	color: var(--primary-color, #ff5e3a);
	text-decoration: none;
	font-weight: 600;
}

.baomei-btn-block {
	display: block;
	width: 100%;
	text-align: center;
}

@media (max-width: 991px) {
	.baomei-product-grid--archive {
		grid-template-columns: repeat(2, 1fr);
	}

	.baomei-features-grid {
		grid-template-columns: 1fr;
	}

	.baomei-sidebar-card {
		position: static;
		margin-top: 8px;
	}

	.baomei-product-hero-content h1,
	.baomei-product-hero h1 {
		font-size: 28px;
	}
}

@media (max-width: 767px) {
	.baomei-product-tabs {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 6px;
		-webkit-overflow-scrolling: touch;
	}

	.baomei-product-tab {
		flex-shrink: 0;
	}
}

@media (max-width: 575px) {
	.baomei-product-grid--archive {
		grid-template-columns: 1fr;
	}

	.baomei-single-block {
		padding: 20px;
	}
}
