/* elecbang B2B 展示站子主题样式（纯展示，无交易） */

/* ===== 归档头部 ===== */
.elec-archive-header {
	margin: 0 0 24px;
}
.elec-archive-title {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #1f2933;
}
.elec-archive-desc {
	color: #5b6770;
	font-size: 14px;
	line-height: 1.7;
}

/* ===== 卡片网格 ===== */
.elec-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 28px;
}
@media (max-width: 992px) {
	.elec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.elec-grid { grid-template-columns: 1fr; }
}

/* ===== 卡片 ===== */
.elec-card {
	background: #fff;
	border: 1px solid #e7ecf1;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
	display: flex;
	flex-direction: column;
}
.elec-card:hover {
	box-shadow: 0 8px 24px rgba(31, 41, 51, .10);
	transform: translateY(-2px);
}
.elec-card__link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	color: inherit;
}

.elec-card__thumb {
	position: relative;
	background: #f2f5f8;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	height: 170px;
	min-height: 170px;
}
.elec-card__thumb img {
	position: relative;
	max-width: 100%;
	max-height: 170px;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center center;
	display: block;
}

.elec-card__body {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.elec-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.elec-tag {
	display: inline-block;
	font-size: 12px;
	line-height: 1;
	color: #2f7fb8;
	background: #e8f2f9;
	border-radius: 4px;
	padding: 5px 8px;
}

.elec-card__title {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	color: #1f2933;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.elec-card__link:hover .elec-card__title {
	color: #2f7fb8;
}

.elec-card__excerpt {
	font-size: 13px;
	color: #5b6770;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.elec-card__meta {
	list-style: none;
	margin: auto 0 0;
	padding: 10px 0 0;
	border-top: 1px dashed #e7ecf1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.elec-card__meta li {
	display: flex;
	gap: 8px;
	font-size: 13px;
	line-height: 1.5;
}
.elec-meta-k {
	flex: 0 0 40px;
	color: #8a97a3;
}
.elec-meta-v {
	color: #33404c;
	word-break: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ===== 分页 ===== */
.elec-pagination {
	margin: 8px 0 24px;
}
.elec-pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 3px;
	border: 1px solid #e7ecf1;
	border-radius: 6px;
	color: #33404c;
	font-size: 14px;
}
.elec-pagination .page-numbers.current {
	background: #2f7fb8;
	border-color: #2f7fb8;
	color: #fff;
}
.elec-pagination a.page-numbers:hover {
	border-color: #2f7fb8;
	color: #2f7fb8;
}

/* 首页厂家网格分页（前端分页） */
.elec-home-vendors__pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 18px 0 8px;
}
.elec-home-vendors__pager .elec-pagination__info {
	font-size: 14px;
	color: #6b7885;
	min-width: 44px;
	text-align: center;
}
.elec-home-vendors__pager .page-numbers[disabled],
.elec-home-vendors__pager .page-numbers.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.elec-home-vendors__pager .page-numbers[disabled]:hover {
	border-color: #e7ecf1;
	color: #33404c;
}

/* ===== 详情页板块 ===== */
.elec-detail__cover {
	position: relative;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto 22px;
	border-radius: 12px;
	background: #f2f5f8;
	border: 1px solid #e7ecf1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.elec-detail__cover img {
	position: relative;
	width: auto;
	max-width: 100%;
	max-height: 420px;
	height: auto;
	object-fit: contain;
	object-position: center center;
	display: block;
}
.elec-detail__header {
	margin: 0 0 20px;
}
.elec-detail__title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #1f2933;
}
.elec-detail__subtitle {
	color: #5b6770;
	font-size: 14px;
}

.elec-detail__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 22px;
}
@media (max-width: 768px) {
	.elec-detail__grid { grid-template-columns: 1fr; }
}
.elec-info-cell {
	background: #f7f9fb;
	border: 1px solid #e7ecf1;
	border-radius: 8px;
	padding: 12px 14px;
	min-width: 0;
}
.elec-info-cell .k {
	display: block;
	font-size: 12px;
	color: #8a97a3;
	margin-bottom: 4px;
}
.elec-info-cell .v {
	font-size: 14px;
	color: #33404c;
	line-height: 1.6;
}
.elec-info-cell--wide {
	grid-column: 1 / -1;
}

.elec-section {
	margin: 0 0 26px;
}
.elec-section__title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 14px;
	padding-left: 10px;
	border-left: 3px solid #2f7fb8;
	color: #1f2933;
}
.elec-rel-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.elec-rel-item {
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #e7ecf1;
	border-radius: 8px;
}
.elec-rel-item__link {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	color: #1f2933;
	text-decoration: none;
}
.elec-rel-item__thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 56px;
	border-radius: 6px;
	overflow: hidden;
	background: #eef1f5;
}
.elec-rel-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 4px;
	display: block;
}
.elec-rel-item__body {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
}
.elec-rel-item__title {
	line-height: 1.5;
}
.elec-rel-item__link:hover .elec-rel-item__title {
	color: #2f7fb8;
}
.elec-rel-role {
	flex: 0 0 auto;
	font-size: 12px;
	color: #8a97a3;
}

.elec-contact-line {
	display: flex;
	gap: 8px;
	font-size: 14px;
	line-height: 1.7;
	color: #33404c;
}
.elec-contact-line .k {
	flex: 0 0 70px;
	color: #8a97a3;
}

/* 厂家详情：紧凑联系列表（替代六格平铺） */
.elec-vendor-contact {
	background: #fff;
	border: 1px solid #e7ecf1;
	border-radius: 10px;
	padding: 16px 18px;
	margin: 0 0 16px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
.elec-contact-row {
	display: flex;
	gap: 10px;
	font-size: 14px;
	line-height: 1.6;
}
.elec-contact-row .k {
	flex: 0 0 72px;
	color: #8a97a3;
}
.elec-contact-row .v {
	flex: 1 1 auto;
	color: #33404c;
	word-break: break-word;
}
.elec-contact-row a { color: #2f7fb8; text-decoration: none; }
.elec-contact-row a:hover { text-decoration: underline; }
.elec-contact-pending { color: #aab4bd; }
.elec-map-links {
	display: inline-flex;
	gap: 10px;
	margin-left: 8px;
	flex-wrap: wrap;
}
.elec-map-link {
	font-size: 12px;
	color: #2f7fb8;
	border: 1px solid #cfe2f0;
	border-radius: 5px;
	padding: 2px 8px;
}
.elec-map-link:hover {
	background: #e8f2f9;
	text-decoration: none !important;
}
.elec-vendor-qual {
	background: #f7f9fb;
	border: 1px solid #e7ecf1;
	border-radius: 10px;
	padding: 14px 18px;
	margin: 0 0 22px;
	font-size: 13px;
	color: #5b6770;
	line-height: 1.7;
}
.elec-vendor-qual .k {
	display: block;
	font-size: 12px;
	color: #8a97a3;
	margin-bottom: 4px;
}

/* ===== 首页 Hero ===== */
.elec-hero {
	margin: 0 0 28px;
	border-radius: 12px;
	overflow: hidden;
}
/* Hero 浅灰卡片样式见后文「Hero 浅灰卡片」段，此处不再保留旧深蓝实色版本。 */

/* ===== 首页入口：三组 × 上下两层 ===== */
.elec-entry-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.elec-entry-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
@media (max-width: 992px) {
	.elec-entry-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* 窄屏拆掉分组纵向堆叠，六张卡直接平铺两列，避免末行右侧孤空 */
	.elec-entry-group { display: contents; }
}
@media (max-width: 520px) {
	.elec-entry-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.elec-entry { padding: 14px 12px; min-height: 92px; gap: 8px; }
	.elec-entry__name {
		font-size: 14px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.elec-entry__desc {
		font-size: 12px;
		line-height: 1.5;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}
.elec-entry {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 18px;
	min-height: 134px;
	background: #fff;
	border: 1px solid #e7ecf1;
	border-left: 3px solid #e7ecf1;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: border-color .2s ease, box-shadow .2s ease;
}
/* 上排门面主卡：藏蓝标题 + 青蓝左侧竖条 */
.elec-entry--main {
	border-left-color: #2f7fb8;
}
.elec-entry--main .elec-entry__name { color: #16213a; }
.elec-entry--main .elec-entry__desc { color: #5b6770; }
/* 下排从属卡：弱化竖条与标题色 */
.elec-entry--sub {
	border-left-color: #d8e0e8;
}
.elec-entry--sub .elec-entry__name { color: #33404c; }
.elec-entry--sub .elec-entry__desc { color: #6b7780; }
.elec-entry:hover {
	border-color: #2f7fb8;
	box-shadow: 0 6px 18px rgba(47, 127, 184, .12);
}
/* 上下排卡片标题 / 描述字号统一，避免主从卡视觉落差 */
.elec-entry__name {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}
.elec-entry__desc {
	font-size: 13px;
	line-height: 1.6;
}

/* ===== 今日新增表 ===== */
.elec-latest-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #e7ecf1;
	border-radius: 10px;
	overflow: hidden;
}
.elec-latest-table td {
	padding: 12px 14px;
	border-top: 1px solid #f0f3f6;
	font-size: 14px;
}
.elec-latest-table tr:first-child td { border-top: 0; }
.elec-latest__type { width: 84px; }
.elec-latest__title { min-width: 0; }
.elec-latest__title a { color: #2f7fb8; text-decoration: none; word-break: break-word; line-height: 1.5; }
.elec-latest__title a:hover { text-decoration: underline; }
.elec-latest__date { width: 100px; color: #8a97a3; text-align: right; white-space: nowrap; }
@media (max-width: 520px) {
	.elec-latest-table td { padding: 10px 10px; font-size: 13px; }
	.elec-latest__type { width: 62px; }
	.elec-latest__date { width: 84px; }
}

/* ===== 资讯列表 ===== */
.elec-news-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.elec-news-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #e7ecf1;
	border-radius: 8px;
}
.elec-news-item a { color: #33404c; text-decoration: none; }
.elec-news-item a:hover { color: #2f7fb8; }
.elec-news-date { flex: 0 0 auto; color: #8a97a3; font-size: 13px; white-space: nowrap; }

.elec-empty {
	color: #8a97a3;
	font-size: 14px;
	padding: 48px 20px;
	text-align: center;
	background: #f5f7f9;
	border: 1px dashed #d8e0e6;
	border-radius: 12px;
	margin: 24px 0;
}
.elec-empty__icon {
	color: #b9c6d0;
	margin-bottom: 14px;
}
.elec-empty__title {
	font-size: 18px;
	font-weight: 600;
	color: #33404c;
	margin: 0 0 8px;
}
.elec-empty__desc {
	margin: 0 0 18px;
	color: #8a97a3;
	line-height: 1.7;
}
.elec-empty__link {
	display: inline-block;
	color: #2f7fb8;
	border: 1px solid #2f7fb8;
	border-radius: 8px;
	padding: 8px 20px;
	text-decoration: none;
	font-size: 14px;
}
.elec-empty__link:hover {
	background: #2f7fb8;
	color: #fff;
}

/* ===== 头部电商残留兜底隐藏 ===== */
.header-support,
.departments-menu-v2,
.departments-menu,
.navbar-search,
.header-icons {
	display: none !important;
}

/* 部门菜单/搜索/图标已移除，整条电商导航条收起，避免黄色空条 */
.electro-navbar,
.handheld-header-links,
.site-search,
.widget_product_search,
.footer-bottom-widgets-menu,
.footer-newsletter,
.footer-call-us,
.footer-address,
.footer-social-icons {
	display: none !important;
}

/* ===== 顶部 masthead 单行布局 ===== */
.masthead {
	gap: 24px;
	padding: 18px 0;
}
.primary-nav-menu .nav {
	gap: 4px;
}
.primary-nav-menu .nav-link {
	font-size: 15px;
	padding: 8px 12px;
	color: #33404c;
}
.primary-nav-menu .nav-link:hover {
	color: #2f7fb8;
}

/* ===== 首页区块统一卡片容器 ===== */
.elec-home-entries,
.elec-home-latest,
.elec-home-vendors,
.elec-home-news {
	background: #f7f9fb;
	border: 1px solid #eef1f5;
	border-radius: 14px;
	padding: 22px 22px 24px;
	margin: 0 0 22px;
}

/* ===== Hero 浅灰卡片（对齐参考稿，替代深蓝实色块） ===== */
.elec-hero__static {
	background: linear-gradient(120deg, #f2f5f8 0%, #e9f0f5 100%);
	color: #1f2933;
	padding: 44px 32px;
	border-radius: 14px;
}
.elec-hero__title {
	color: #16213a;
	font-size: 30px;
}
.elec-hero__subtitle {
	color: #5b6770;
}

/* ===== Hero 厂家轮播 ===== */
.elec-hero-slider {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	height: 360px;
	background: #16213a;
}
.elec-hero-slider__track {
	display: flex;
	height: 100%;
	transition: transform .5s ease;
}
.elec-hero-slide {
	flex: 0 0 100%;
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
}
.elec-hero-slide__bg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.elec-hero-slide__bg img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
.elec-hero-slide__mask {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(22, 33, 58, .82) 0%, rgba(22, 33, 58, .42) 48%, rgba(22, 33, 58, .08) 100%);
}
.elec-hero-slide__body {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 28px 30px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 72%;
}
.elec-hero-slide__role {
	align-self: flex-start;
}
.elec-hero-slide__name {
	color: #fff;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
}
.elec-hero-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 14px;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.elec-hero-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, .45);
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.elec-hero-dot.is-active {
	background: #2f7fb8;
	transform: scale(1.25);
}
@media (max-width: 768px) {
	.elec-hero-slider { height: 260px; }
	.elec-hero-slide__body { padding: 18px 18px; max-width: 88%; }
	.elec-hero-slide__name { font-size: 17px; }
}

/* 注：入口卡片底色由 .elec-entry--main（藏蓝主卡）/ .elec-entry--sub（浅灰弱卡）分别定义，
   不再在此处用通用 .elec-entry 规则覆盖，避免主卡藏蓝背景被后定义的浅灰规则压掉。 */

/* ===== 文字品牌标识（无图片 logo 占位） ===== */
.elec-brand {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.elec-brand__side {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.elec-brand__home {
	display: none; /* 桌面端首页在主导航第一行，品牌区不重复放；手机端在断点内显示并靠右 */
	font-size: 12px;
	line-height: 1.3;
	color: #2f7fb8;
	text-decoration: none;
	white-space: nowrap;
}
.elec-brand__home:hover {
	text-decoration: underline;
}
.elec-brand__slogan {
	display: none; /* 仅手机端品牌行右侧显示，桌面端不重复展示 */
	font-size: 12px;
	line-height: 1.35;
	color: #8a97a3;
	letter-spacing: 0.3px;
}
.elec-brand__link {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	text-decoration: none;
}
.elec-brand__tagline {
	font-size: 12px;
	line-height: 1.3;
	color: #8a97a3;
	letter-spacing: 0.3px;
}
.elec-brand__cn {
	font-size: 22px;
	font-weight: 700;
	color: #16213a;
	letter-spacing: 1px;
}
.elec-brand__en {
	font-size: 14px;
	font-weight: 600;
	color: #2f7fb8;
	letter-spacing: 0.5px;
}
.footer .elec-brand__cn,
.site-footer .elec-brand__cn {
	font-size: 18px;
	color: #16213a;
}

/* ===== 图片 logo 限高（后台站点标识上传后生效） ===== */
.header-logo .custom-logo,
.custom-logo-link .custom-logo,
.header-logo img,
.custom-logo-link img {
	height: 62px;
	width: auto;
	max-width: 100%;
	display: block;
}
@media (max-width: 1199px) {
	.header-logo .custom-logo,
	.custom-logo-link .custom-logo,
	.header-logo img,
	.custom-logo-link img {
		height: 46px;
	}
}

/* 导航不再收进汉堡抽屉：桌面内联导航在所有断点直接显示，手持汉堡整体隐藏 */
.footer .header-logo img,
.site-footer .header-logo img,
.footer .custom-logo-link img,
.site-footer .custom-logo-link img {
	height: 30px;
}

/* ===== 品牌主色兜底：主题预设黄 → 藏蓝 / 青蓝 ===== */
:root {
	--elec-navy: #16213a;
	--elec-blue: #2f7fb8;
}
/* 桌面导航条藏蓝；手持头部 logo 行保持白底，深色主标 logo 在白底上清晰可读 */
.navbar-primary,
.electro-navbar {
	background: var(--elec-navy) !important;
}
.handheld-header,
.handheld-header-v2,
.handheld-header .handheld-header-links {
	background: #fff !important;
	border-bottom: 1px solid #e7ecf1;
}
/* 手持头部汉堡 / 关闭图标用深色（白底） */
.handheld-header-v2 .navbar-toggler i,
.handheld-header .navbar-toggler i {
	color: #16213a !important;
}
/* 兜底：隐藏父主题默认 SVG logo 及其黄色圆点（自定义图片 logo 已接管） */
.header-logo svg,
.footer-logo svg {
	display: none;
}
.navbar-primary .nav-link,
.electro-navbar .nav-link,
.navbar-primary .menu-item > a,
.electro-navbar .menu-item > a {
	color: #fff !important;
}
.navbar-primary .nav-link:hover,
.navbar-primary .nav-link.active,
.electro-navbar .nav-link:hover,
.electro-navbar .nav-link.active,
.navbar-primary .menu-item > a:hover,
.electro-navbar .menu-item > a:hover {
	color: var(--elec-blue) !important;
}
/* 按钮 / 计数徽标 / 激活圆点等主色驱动元素兜底为青蓝 */
.navbar-mini-cart .cart-items-count,
.navbar-compare .count,
.navbar-wishlist .count,
.owl-dots .owl-dot.active,
.deal-progress .progress-bar {
	background: var(--elec-blue) !important;
}

/* ===== 页脚快速导航（桌面：一行靠右，项间正常间距；窄屏：三列两行） ===== */
.elec-footer-menu {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: flex-end;
	column-gap: 6px 22px;
	row-gap: 10px;
}
.elec-footer-menu li {
	margin: 0;
	list-style: none;
	flex: 0 0 auto;
	min-width: 0;
}
.elec-footer-menu a {
	color: #5b6770;
	text-decoration: none;
	font-size: 13px;
	line-height: 1.5;
	padding: 2px 6px;
	display: block;
	text-align: right;
	white-space: nowrap;
}
.elec-footer-menu a:hover {
	color: var(--elec-blue);
}
.footer .widget-title,
.site-footer .widget-title {
	color: #16213a;
	text-align: right; /* 桌面端快速导航标题与菜单一同右对齐 */
}

/* 桌面端：整列推到页脚最右侧，标题/正文/菜单右对齐；窄屏由手机断点覆盖为靠左 */
@media (min-width: 769px) {
	.footer-widgets > .col-lg-4 {
		margin-left: auto;
	}
	.site-footer .footer-widgets .widget-title {
		text-align: right;
	}
	.site-footer .footer-widgets .widget .body {
		text-align: right;
	}
}

/* ===== 头部站内搜索 ===== */
.elec-header-search {
	display: flex;
	align-items: center;
	gap: 22px;
	width: 100%;
	margin-left: 0;
}
.elec-header-search__tagline {
	flex: 0 0 auto;
	font-size: 13px;
	color: #8a97a3;
	white-space: nowrap;
}
.elec-header-search__form {
	display: flex;
	align-items: stretch;
	flex: 1 1 auto;
	max-width: 100%;
	min-width: 0;
}
.elec-header-search__input {
	border: 1px solid #e7ecf1;
	background: #f2f5f8;
	border-radius: 8px 0 0 8px;
	height: 38px;
	padding: 0 12px;
	font-size: 14px;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	outline: none;
	color: #1f2933;
}
.elec-header-search__input:focus {
	border-color: #2f7fb8;
	background: #fff;
}
.elec-header-search .elec-header-search__btn {
	height: 38px;
	flex: 0 0 auto;
	min-width: 0;
	white-space: nowrap;
	border: 0 !important;
	border-radius: 0 8px 8px 0;
	background: #2f7fb8 !important;
	background-color: #2f7fb8 !important;
	color: #fff !important;
	padding: 0 14px;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
}
.elec-header-search .elec-header-search__btn i,
.elec-header-search .elec-header-search__btn .ec-search {
	color: #fff;
}
.elec-header-search .elec-header-search__btn:hover {
	background: #16213a !important;
	background-color: #16213a !important;
}
@media (max-width: 992px) {
	.elec-header-search__input { width: 132px; }
	.elec-header-search__btn-text { display: none; }
}

/* ===== 全局布局收口：sticky footer，页脚贴视口底，短页不在页脚之后留白 ===== */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
/* body → .off-canvas-wrapper → #page.hfeed.site → header/#content/footer。
   主链路逐级 grow，把页脚顶到视口底；长页自然撑高，不强制纵向拉伸内容。 */
.off-canvas-wrapper {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
#page.hfeed.site {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
}
#content.site-content {
	flex: 1 0 auto;
	width: 100%;
	margin-bottom: 1.5em;
}
.site-main > :last-child {
	margin-bottom: 0;
}
.site-footer {
	flex-shrink: 0;
}
/* 快速导航小工具与版权条之间去掉父主题默认 45px 下边距 */
.site-footer .footer-widgets {
	margin-bottom: 0;
}
/* 回顶层浮动按钮：固定视口右下，不进文档流，避免 absolute+bottom:0 把短页 body 撑到视口高 */
.back-to-top-wrapper {
	position: fixed !important;
	top: auto !important;
	bottom: 1.25rem !important;
	left: auto !important;
	right: 1.25rem !important;
}
/* 空 blog 侧边栏兜底隐藏（五池已全宽，正常不应再输出） */
#sidebar.sidebar-blog:empty {
	display: none;
}
/* 纯展示站：主内容单列全宽，不再给右侧栏留 25% 空列 */
#primary.content-area {
	width: 100% !important;
	flex: 0 0 100% !important;
	max-width: 100%;
}

/* ===== 产品图集 ===== */
.elec-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.elec-gallery__item {
	margin: 0;
	background: #f2f5f8;
	border: 1px solid #e7ecf1;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.elec-gallery__item img {
	width: 100%;
	height: 190px;
	object-fit: contain;
	display: block;
}
@media (max-width: 768px) {
	.elec-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.elec-gallery__item img { height: 160px; }
}
@media (max-width: 520px) {
	.elec-gallery__item img { height: 140px; }
}

/* ===== 厂家详情地图内嵌 ===== */
.elec-map {
	margin: 0 0 22px;
}
.elec-map__frame {
	width: 100%;
	height: 320px;
	border: 1px solid #e7ecf1;
	border-radius: 10px;
	background: #eef1f5;
}
.elec-map .elec-map-links {
	margin-top: 10px;
}

/* ===== 页脚收口：去掉空 logo 列，版权居中，快速导航窄屏可见 ===== */
.site-footer .footer-contact {
	display: none;
}
/* 手机端空底部栏（无电话/社交/导航内容）整体隐藏，避免空条占高 */
.handheld-footer {
	display: none !important;
}
/* 页脚空的底部小工具列整体隐藏 */
.footer-bottom-widgets {
	display: none !important;
}
/* 收紧页脚导航标题下间距与容器上下留白，避免标题与菜单之间留大段空白 */
.footer-widgets {
	padding-top: 10px;
	padding-bottom: 10px;
}
.footer-widgets .widget-title {
	margin-bottom: 16px !important;
	padding-top: 6px;
}
.copyright-bar .copyright {
	float: none !important;
	width: 100%;
	text-align: center;
}
@media (max-width: 991.98px) {
	.site-footer .desktop-footer {
		display: block !important;
	}
	.site-footer .footer-widgets > div {
		max-width: 100%;
		flex: 0 0 100%;
	}
}

/* ===== 头部：导航全部直接显示，不做汉堡抽屉（全断点） ===== */
/* 覆盖父主题 Bootstrap 断点：桌面 masthead 容器在任意宽度都可见；
   注意必须用 :not 排除手持容器，否则下面的隐藏规则会被本 ID 选择器压过 */
#masthead > .container:not(.handheld-header-wrap) {
	display: block !important;
}
/* 手持头部（汉堡抽屉那一套）整体关闭，导航统一走桌面内联菜单 */
.handheld-header-wrap,
.handheld-header,
.handheld-header-v2 {
	display: none !important;
}
/* 桌面 logo 区里的 off-canvas 抽屉按钮与抽屉本体隐藏，只保留 logo 与内联导航 */
.header-logo-area .off-canvas-navbar-toggle-buttons,
.header-logo-area .off-canvas-navigation-wrapper {
	display: none !important;
}
/* 残留的手持汉堡/关闭按钮、手持搜索一并隐藏 */
.navbar-toggle-hamburger,
.navbar-toggle-close,
.handheld-header-links {
	display: none !important;
}
.masthead {
	display: grid;
	grid-template-columns: 170px 1fr;
	align-items: center;
	gap: 12px 20px;
}
.masthead .header-logo-area {
	grid-row: 1;
	grid-column: 1;
	flex: 0 0 auto;
	width: auto;
	max-width: 170px;
}
.header-logo-area .header-logo,
.header-logo-area .header-logo-link {
	width: auto;
	max-width: 100%;
}
.header-logo-area .header-logo img {
	max-width: 100%;
	height: 46px;
	width: auto;
}
.primary-nav-menu {
	grid-row: 1;
	grid-column: 2;
	flex: 1 1 auto;
	display: block !important;
	min-width: 0;
}
.primary-nav-menu .nav.nav-inline {
	display: flex;
	flex-wrap: wrap;
	white-space: nowrap;
	margin: 0;
	gap: 2px 4px;
	justify-content: space-between;
	scrollbar-width: none;
}
.primary-nav-menu .nav.nav-inline::-webkit-scrollbar {
	display: none;
}
.primary-nav-menu .menu-item {
	flex: 1 1 0;
	min-width: 0;
}
.primary-nav-menu .nav-link {
	padding: 8px 11px;
	font-size: 15px;
	display: block;
	text-align: center;
}
/* 「首页」为两字，字间距撑开至与四字菜单相近的视觉宽度，项宽与间距同其他菜单一致 */
.primary-nav-menu .menu-item-45 .nav-link {
	letter-spacing: .6em;
	text-indent: .6em;
}
.elec-header-search {
	grid-row: 2;
	grid-column: 1 / -1;
	flex: 1 1 auto;
}
@media (max-width: 768px) {
	.masthead { grid-template-columns: 120px 1fr; gap: 8px 12px; }
	.masthead .header-logo-area { max-width: 100%; grid-column: 1 / -1; }
	.header-logo-area .header-logo img { height: 38px; }
	/* 手机端品牌横排：logo 居左；右侧首页入口不再单独显示，回首页点 logo 即可 */
	.elec-brand { flex: 1 1 auto; flex-direction: row; align-items: center; gap: 12px; width: 100%; }
	.elec-brand__side { flex: 1 1 auto; align-items: center; justify-content: center; margin-left: auto; }
	.elec-brand__home { display: none; }
	.elec-brand__slogan { display: block; text-align: center; font-size: 13px; }
	/* 手机端主导航去掉首页，只留六个业务栏目三列两行 */
	.primary-nav-menu .menu-item-45 { display: none; }
	.primary-nav-menu { grid-column: 1 / -1; grid-row: 2; }
	/* 手机端主导航：三列两行，整组在容器内水平居中，列间距一致，项宽随内容，每格文字左对齐；清掉相邻菜单项 2.5em 左外边距 */
	.primary-nav-menu .nav.nav-inline { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 8px 26px; margin: 0; padding: 0; }
	.primary-nav-menu .nav-inline > .menu-item + .menu-item { margin-left: 0 !important; }
	.primary-nav-menu .menu-item { width: auto; margin: 0; padding: 0; text-align: left; }
	.primary-nav-menu .menu-item > a { display: block; width: auto; padding: 7px 8px; font-size: 13px; text-align: left; }
	.elec-header-search { grid-row: 3; }
	.elec-header-search__tagline { display: none; }
	.elec-header-search__input { width: auto; }

	/* 页脚快速导航：窄屏三列两行，标题与区块左对齐、项内居中（右对齐仅用于桌面端） */
	.footer-widgets > .col-lg-4 { margin-left: 0; }
	.site-footer .widget-title { text-align: left; }
	.site-footer .footer-widgets .widget .body { text-align: left; }
	.elec-footer-menu {
		flex-wrap: wrap;
		justify-content: flex-start;
		column-gap: 0;
		row-gap: 12px;
	}
	.elec-footer-menu li { flex: 0 0 33.333%; }
	.elec-footer-menu a { text-align: center; padding: 2px 0; }
}

/* ===== 页脚收口：快速导航单列，去掉空列与 widget 多余内高 ===== */
.footer-widgets.row {
	display: block;
}
.footer-widgets > div {
	max-width: 100% !important;
	flex: 0 0 100% !important;
}
.footer-widgets .widget,
.footer-widgets .widget.clearfix {
	margin: 0;
	padding: 0;
}
.footer-widgets .widget .body {
	padding: 0;
	text-align: right; /* 桌面端快速导航标题与菜单整体右对齐 */
}
.footer-widgets .widget-title {
	margin-bottom: 12px !important;
	padding-top: 0;
}
.elec-footer-menu li {
	margin: 0;
	line-height: 1.4;
}
.site-footer {
	padding-top: 12px;
	padding-bottom: 12px;
}
.footer-widgets {
	padding-top: 4px;
	padding-bottom: 8px;
}

/* 面包屑：父主题横向滚动残留轨道隐藏，避免空内容露出滚动条/箭头条 */
.woocommerce-breadcrumb {
	overflow: visible !important;
	overflow-x: visible !important;
	overflow-y: visible !important;
	scrollbar-width: none;
	margin-bottom: 1.25em;
}
.woocommerce-breadcrumb::-webkit-scrollbar {
	display: none;
}
