/* ==========================================================================
   IMAXPWR — Product catalog / finder  (scope: .imc)
   ========================================================================== */
.imc {
	--ink:#253745; --ink2:#5f6f7b; --mut:#8a99a5; --line:#e4e9ed; --line2:#d3dce3;
	--grn:#57b33e; --grnd:#499934; --bg:#f6f8f9;
	font-family:"Muli","Rubik",-apple-system,"Segoe UI",Arial,sans-serif;
	color:var(--ink); background:#fff; -webkit-font-smoothing:antialiased;
}
.imc *, .imc *::before, .imc *::after { box-sizing:border-box; }
.imc a { text-decoration:none; color:inherit; }
.imc p { margin:0; }
.imc h1, .imc h2, .imc h3 { margin:0; font-family:"Rubik","Muli",Arial,sans-serif; }
.imc img { display:block; max-width:100%; }
.imc .w { max-width:1180px; margin:0 auto; padding:0 24px; }

/* ---------- hero ---------- */
.imc-hero {
	position:relative; overflow:hidden; padding:42px 0 36px; color:#fff;
	background:
		radial-gradient(1000px 420px at 10% -25%, rgba(87,179,62,.30), transparent 62%),
		radial-gradient(800px 380px at 92% 0%, rgba(22,49,92,.55), transparent 60%),
		linear-gradient(135deg,#253745 0%,#1b2833 100%);
}
.imc-hero::after {
	content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
	background:linear-gradient(90deg,var(--grn) 0%,rgba(87,179,62,.22) 55%,transparent 100%);
}
.imc-kick { font-size:11px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:#8fd46f; margin-bottom:12px; }
.imc-h1 { font-size:clamp(25px,2.8vw,34px); font-weight:800; line-height:1.24; letter-spacing:-.4px; color:#fff; }
.imc-sub { margin-top:9px; font-size:14px; color:#aebbc6; }
.imc-sub b { color:#dce6ec; font-weight:600; }

.imc-sbox {
	display:flex; align-items:center; gap:6px; max-width:660px; margin-top:20px;
	background:#fff; border-radius:11px; padding:5px 5px 5px 14px; box-shadow:0 14px 32px rgba(9,20,30,.26);
}
.imc-sbox svg { color:#9aa9b5; flex:0 0 auto; }
.imc .imc-sbox input {
	flex:1 1 auto; min-width:0; height:44px !important; padding:0 8px !important; border:0 !important; outline:0;
	background:none !important; font-size:15.5px !important; font-family:inherit !important;
	color:var(--ink) !important; box-shadow:none !important; border-radius:0 !important;
	-webkit-appearance:none; appearance:none; line-height:44px;
}
.imc-sbox input::placeholder { color:#a5b2bd; }
.imc .imc-sbox button {
	flex:0 0 auto; height:44px; padding:0 26px; border:0; border-radius:8px;
	background:var(--grn); color:#fff; font:inherit; font-weight:700; font-size:15px; line-height:44px;
	cursor:pointer; transition:background .18s; box-shadow:none; text-transform:none; letter-spacing:0; min-width:0;
}
.imc .imc-sbox button:hover { background:var(--grnd); }

.imc-hints { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:14px; font-size:12.5px; color:#8ba0ae; }
.imc .imc-hint { padding:5px 12px; border:1px solid rgba(255,255,255,.22); border-radius:999px; color:#dbe5eb; background:rgba(255,255,255,.05); cursor:pointer; font:inherit; font-size:12.5px; transition:.18s; }
.imc .imc-hint:hover { border-color:var(--grn); color:#fff; background:rgba(87,179,62,.24); }

/* ---------- filter bar ---------- */
/* header 是 sticky（桌面 137px / 移动 151px），筛选条必须停在它下面，
   否则 top:0 会钻到导航底下把菜单盖住 */
.imc-fbar {
	position: sticky; top: 137px; z-index: 40;
	background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
@media (max-width: 767px) { .imc-fbar { top: 151px; } }
.imc-frow { display:flex; align-items:center; gap:10px; padding:11px 0; }
.imc-frow + .imc-frow { border-top:1px solid #f0f3f5; }
.imc-flab { flex:0 0 auto; width:56px; font-size:10.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--mut); }
.imc-pills { display:flex; flex-wrap:wrap; gap:6px; padding-bottom:1px; }

.imc .imc-pill {
	flex:0 0 auto; padding:6px 11px; border:1px solid var(--line); border-radius:999px; background:#fff;
	font:inherit; font-size:13px; font-weight:400; line-height:1.4; color:var(--ink2);
	cursor:pointer; white-space:nowrap; transition:.15s; box-shadow:none; text-transform:none; letter-spacing:0;
	min-height:0; height:auto; min-width:0; width:auto;
}
.imc .imc-pill:hover {
	border-color: var(--line2) !important;
	color: var(--ink) !important;
	background: #fff !important;
}
.imc .imc-pill.on:hover {
	background: var(--ink) !important;
	border-color: var(--ink) !important;
	color: #fff !important;
}
.imc .imc-pill b { margin-left:5px; font-weight:600; color:var(--mut); font-size:12px; }
.imc .imc-pill.on { background:var(--ink); border-color:var(--ink); color:#fff; }
.imc .imc-pill.on b { color:rgba(255,255,255,.72); }

/* ---------- body ---------- */
.imc-body { background:var(--bg); padding:22px 0 60px; min-height:60vh; border-bottom:1px solid var(--line); }
.imc-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; font-size:13.5px; color:var(--ink2); }
.imc-meta b { color:var(--ink); }
.imc-mright { display:flex; align-items:center; gap:10px; }
.imc-mright label { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--mut); }
.imc .imc-mright select {
	font:inherit; font-size:13.5px !important; color:var(--ink) !important; border:1px solid var(--line) !important;
	border-radius:7px !important; padding:6px 9px !important; background:#fff !important; cursor:pointer; line-height:1.4;
}
.imc .imc-reset { border:0; background:none; font:inherit; font-size:13.5px; font-weight:600; color:var(--grnd); cursor:pointer; }
/* Elementor 的 button:hover 会把背景刷成深绿，导致绿字消失 —— 这里锁死 */
.imc .imc-reset:hover,
.imc .imc-reset:focus {
	text-decoration: underline;
	color: #3F8C2C !important;
	background: transparent !important;
	box-shadow: none !important;
}

.imc-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.imc-card {
	display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:12px;
	overflow:hidden; transition:box-shadow .2s, border-color .2s, transform .2s;
}
.imc-card:hover { border-color:#cfdbe3; box-shadow:0 14px 30px rgba(37,55,69,.10); transform:translateY(-2px); }
.imc-thumb { position:relative; aspect-ratio:16/10; background:#f3f6f8; border-bottom:1px solid var(--line); }
.imc-thumb img { position:absolute; inset:10px; width:calc(100% - 20px); height:calc(100% - 20px); object-fit:contain; }
.imc-cbody { display:flex; flex-direction:column; flex:1; padding:14px 16px 16px; }
.imc-coderow { height:22px; margin-bottom:8px; display:flex; align-items:center; overflow:hidden; }
.imc-code {
	font-family:ui-monospace,Menlo,Consolas,monospace; font-size:11.5px; letter-spacing:.02em; color:#7b8b97;
	background:#f1f5f7; border:1px solid #e6ecf0; border-radius:5px; padding:2px 7px;
	max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.imc-tt {
	font-size:15px; font-weight:700; line-height:1.42; color:var(--ink); min-height:42px;
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.imc-specs { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.imc-sp { font-size:12px; font-weight:600; padding:3px 9px; border-radius:6px; background:#f2f7ee; color:#3f8c2c; border:1px solid #e0efd8; }
.imc-sp.gray { background:#f4f6f8; color:#6b7c88; border-color:#e6ecf0; }
.imc-foot { margin-top:auto; padding-top:12px; font-size:13px; font-weight:700; color:var(--grnd); }
.imc-card:hover .imc-foot { color:#3f8c2c; }

.imc .imc-more {
	display:block; margin:26px auto 0; padding:12px 30px; border:1px solid var(--line2); border-radius:9px;
	background:#fff; font:inherit; font-size:14px; font-weight:700; color:var(--ink); cursor:pointer;
}
.imc .imc-more:hover, .imc .imc-more:focus {
	border-color: var(--ink) !important;
	color: var(--ink) !important;
	background: #fff !important;
	box-shadow: none !important;
}
.imc-empty { padding:56px 24px; text-align:center; background:#fff; border:1px solid var(--line); border-radius:14px; }
.imc-empty h3 { font-size:19px; font-weight:800; margin-bottom:8px; }
.imc-empty p { color:var(--ink2); font-size:14.5px; max-width:520px; margin:0 auto 16px; }

/* help strip */
.imc-help {
	display:flex; align-items:center; justify-content:space-between; gap:26px; margin-top:32px;
	padding:24px 30px; border-radius:14px; background:linear-gradient(120deg,#253745,#1d2b37); color:#fff;
}
.imc-help h3 { font-size:18px; font-weight:700; color:#fff; }
.imc-help p { margin-top:6px; max-width:620px; font-size:13.5px; line-height:1.65; color:#b3c0ca; }
.imc .imc-help a.imc-btn {
	display:inline-block; padding:11px 20px; border-radius:8px; background:var(--grn); color:#fff;
	font-size:14px; font-weight:700; line-height:1.4; white-space:nowrap; transition:background .18s;
	box-shadow:none; text-transform:none; letter-spacing:0;
}
.imc .imc-help a.imc-btn:hover { background:var(--grnd); }

@media (max-width:980px) {
	.imc-grid { grid-template-columns:repeat(2,1fr); }
	.imc-help { flex-direction:column; align-items:flex-start; gap:16px; }
}
@media (max-width:640px) {
	.imc .w { padding:0 16px; }
	.imc-hero { padding:28px 0 24px; }
	.imc-h1 { font-size:23px; }
	.imc-sbox { flex-wrap:wrap; padding:6px; }
	.imc-sbox input { flex:1 1 100%; }
	.imc-sbox button { width:100%; margin-top:6px; }
	.imc-grid { grid-template-columns:1fr; }
	.imc-meta { flex-wrap:wrap; gap:8px; }
	.imc-mright { width:100%; justify-content:space-between; }
	.imc-flab { width:44px; font-size:10px; }
	.imc-pills { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
	.imc-pills::-webkit-scrollbar { display:none; }
	.imc-frow { padding-right:52px; }              /* 避开右侧浮动联系按钮 */
	.imc-mright { display:grid; grid-template-columns:1fr 1fr; gap:8px; width:100%; }
	.imc-mright label { display:none; }
	.imc-mright select { width:100%; }
	.imc-mright .imc-reset { grid-column:1 / -1; text-align:right; padding-top:2px; }
	.imc-help { padding:22px; }
}

/* 分类页眉题里的上级专题回指（L3 → L2） */
.imc-kick-back a { color: #8FD46F; text-decoration: none; font-weight: 700; }
.imc-kick-back a:hover { color: #B4E896; text-decoration: underline; }
.imc-kick-back > span[aria-hidden] { color: #5E7385; margin: 0 7px; }
.imc-kick-back .imc-kick-cur { color: #AEBBC6; }
