@charset "utf-8";
/* ============================================================
   gl.css — 供应频道列表页专属（仅 chan_goods_list.htm 引用）
   前缀 .gl- 零外溢；工具条复用 channel2.css 的 .ch-pwtool
   ============================================================ */

/* ---------- 工具条与列表容器的间距 ---------- */
.gl-tool{ margin:2px 0 4px; }

/* ---------- 列表 ---------- */
.gl-list{ display:flex; flex-direction:column; margin-top:2px; }

.gl-i{
	display:grid;
	grid-template-columns:26px 142px minmax(0,1fr) 156px;
	gap:14px;
	align-items:center;
	padding:14px 12px;
	border-bottom:1px dashed var(--f-line-soft);
	border-radius:12px;
	transition:background .22s, box-shadow .22s, border-color .22s;
}
.gl-i:last-child{ border-bottom:none; }
.gl-i:hover{ background:#F7FCF9; box-shadow:0 8px 24px rgba(43,182,115,.10); border-bottom-color:transparent; }
.gl-i.on{ background:#F2FBF6; box-shadow:inset 0 0 0 2px rgba(43,182,115,.28); border-bottom-color:transparent; }

/* ---------- 勾选框 ---------- */
.gl-chk{
	position:relative; width:20px; height:20px; cursor:pointer; justify-self:center;
}
.gl-chk input{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.gl-chk i{
	display:flex; align-items:center; justify-content:center;
	width:20px; height:20px; border-radius:6px;
	border:1.6px solid var(--f-line-strong);
	background:#fff; color:transparent; font-style:normal;
	font-size:12px; font-weight:900; line-height:1;
	transition:.18s;
}
.gl-chk:hover i{ border-color:var(--f-p2); }
.gl-chk input:checked + i{
	color:#fff; border-color:transparent;
	background:linear-gradient(135deg,var(--f-p1),var(--f-p2));
}

/* ---------- 缩略图 ---------- */
.gl-th{
	display:block; width:142px; height:100px; overflow:hidden;
	border-radius:12px; background:#EDF6F2; position:relative;
}
.gl-th img{ width:100%; height:100%; object-fit:cover; display:block; transition:.35s; }
.gl-i:hover .gl-th img{ transform:scale(1.05); }
.gl-th .ch-ph{ height:100%; border-radius:0; }

/* ---------- 正文 ---------- */
.gl-bd{ min-width:0; display:flex; flex-direction:column; }
.gl-bd h4{ margin:0; font-size:15px; font-weight:700; line-height:1.5; }
.gl-bd h4 a{ color:var(--f-ink); text-decoration:none; }
.gl-bd h4 a:hover{ color:var(--f-p2); }
.gl-bd p{
	margin:6px 0 0; font-size:12.5px; color:var(--f-ink3); line-height:1.6;
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.gl-m{
	margin-top:auto; padding-top:9px;
	display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px;
	font-size:11.5px; color:var(--f-ink4);
}
.gl-m .ar{ display:inline-flex; align-items:center; gap:4px; }
.gl-m .ar::before{ content:'◈'; color:var(--f-p2); font-size:10px; }
.gl-m a.co{
	max-width:280px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
	color:var(--f-ink3); text-decoration:none;
}
.gl-m a.co:hover{ color:var(--f-p2); }
.gl-m .hi{ display:inline-flex; align-items:center; gap:4px; }

/* ---------- 价格 + 操作 ---------- */
.gl-end{ display:flex; flex-direction:column; align-items:flex-end; gap:9px; }
.gl-pr{ font-size:16.5px; font-weight:900; color:var(--f-hot); font-variant-numeric:tabular-nums; line-height:1.25; text-align:right; }
.gl-pr u{ margin-left:2px; font-size:11px; font-weight:500; color:var(--f-ink4); text-decoration:none; }
.gl-pr i{ display:block; margin-top:2px; font-style:normal; font-size:11px; font-weight:400; color:var(--f-ink4); }
.gl-pr.neg{ color:var(--f-ink3); font-size:13.5px; font-weight:600; }

.gl-btn{ display:flex; gap:7px; }
.gl-btn a{
	display:inline-flex; align-items:center; justify-content:center;
	height:28px; padding:0 13px; border-radius:14px;
	font-size:12.5px; font-weight:700; text-decoration:none; white-space:nowrap;
	transition:.2s;
}
.gl-inq{ color:#fff; background:linear-gradient(135deg,var(--f-p1),var(--f-p2)); }
.gl-inq:hover{ filter:brightness(1.07); }
.gl-chat{ color:var(--f-ink2); background:#fff; border:1px solid var(--f-line); }
.gl-chat:hover{ border-color:var(--f-p2); color:var(--f-p2); }

/* ---------- 响应式 ---------- */
@media (max-width:1240px){
	.gl-i{ grid-template-columns:26px 122px minmax(0,1fr) 142px; gap:12px; }
	.gl-th{ width:122px; height:90px; }
	.gl-m a.co{ max-width:200px; }
}
@media (max-width:900px){
	.gl-i{ grid-template-columns:24px 100px minmax(0,1fr); gap:11px; padding:13px 8px; }
	.gl-th{ width:100px; height:76px; }
	.gl-end{ grid-column:2 / -1; flex-direction:row; align-items:center; justify-content:space-between; margin-top:2px; }
	.gl-pr{ text-align:left; }
	.gl-m{ gap:6px 12px; }
	.gl-m a.co{ max-width:100%; }
}
@media (max-width:560px){
	.gl-i{ grid-template-columns:22px minmax(0,1fr); }
	.gl-th{ display:none; }
	.gl-end{ grid-column:1 / -1; }
	.gl-bd p{ -webkit-line-clamp:3; }
	.gl-btn a{ height:27px; padding:0 12px; }
}

/* ================================================================
   4. 四组筛选条：行业 / 地区 / 类别 / 自定义
   （仅供应频道 $CH_TYPE == 'sell' 输出；提交到 search.php）
   ================================================================ */
.gl-fbar{
	display: flex;
	flex-direction: column;
	margin: 2px 0 16px;
	border: 1px solid var(--f-line);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}
.gl-fl{
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid var(--f-line-soft);
}
.gl-fl:last-child{ border-bottom: none; }
.gl-fl > b{
	flex: none;
	width: 66px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F5FAF7;
	color: var(--f-ink3);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .6px;
}
.gl-fv{
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	padding: 9px 12px;
}
.gl-fv a{
	font-size: 12.5px;
	color: var(--f-ink2);
	text-decoration: none;
	padding: 4px 11px;
	border-radius: 999px;
	background: #F3F9F6;
	white-space: nowrap;
	transition: .18s;
}
.gl-fv a:hover{ color: var(--f-p2); background: #E9F6EF; }
.gl-fv a.on{
	color: #fff;
	background: linear-gradient(135deg, var(--f-p1), var(--f-p2));
	font-weight: 700;
}
/* 筛选条内的自定义字段（当后台配置了自定义字段时自动出现） */
.gl-fv .sort{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	width: 100%;
}
.gl-fv .sort .sort-k{ display: none; }
.gl-fv .sort .sort-v ul{
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gl-fv .sort .sort-v li{ list-style: none; }
.gl-fv .sort input[type=hidden]{ display: none; }

@media (max-width:640px){
	.gl-fl{ flex-direction: column; }
	.gl-fl > b{
		width: auto;
		justify-content: flex-start;
		padding: 9px 12px 0;
		background: transparent;
	}
	.gl-fv{ padding: 6px 12px 10px; }
}
