/**
 * 商品页采购规格表样式（b2b-spec.css）
 * ---------------------------------------------------------------
 * 对应 mu-plugins/bt-b2b-spec.php 前台输出：
 *   .bt-specs / .bt-specs__title / .bt-specs__tbl / .bt-specs__row
 *
 * 2026-11-03 补建：enqueue.php 一直以 <link> 引用本文件，但文件从未存在，
 * 单品页返回 404。规格表四项（MOQ / 交期 / 认证 / 装箱）全空时该表在 DOM 里
 * 不存在，所以此前没人发现缺样式 —— 一旦商品填了数据，表格会裸奔。
 *
 * 只作用于 .bt-specs 内部，不影响父主题。
 */

.bt-specs {
	margin: 26px 0 34px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.bt-specs__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 14px 18px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
	background: #f6f7f9;
	border-bottom: 1px solid #e5e7eb;
}

.bt-specs__tbl {
	display: table;
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.bt-specs__row {
	display: table-row;
}

.bt-specs__row > * {
	display: table-cell;
	padding: 11px 18px;
	font-size: 13.5px;
	line-height: 1.55;
	vertical-align: top;
	border-bottom: 1px solid #f0f1f3;
}

.bt-specs__row:last-child > * {
	border-bottom: 0;
}

/* 第一格 = 项名（MOQ / Lead time / Certification / Packing），定宽 */
.bt-specs__row > *:first-child {
	width: 34%;
	font-weight: 600;
	color: #4b5563;
	background: #fbfbfc;
}

.bt-specs__row > *:last-child {
	color: #1f2937;
	word-break: break-word;
}

@media (max-width: 767px) {
	.bt-specs {
		margin: 20px 0 26px;
	}

	.bt-specs__title {
		padding: 12px 14px;
		font-size: 14px;
	}

	.bt-specs__row > * {
		padding: 9px 14px;
		font-size: 13px;
	}

	.bt-specs__row > *:first-child {
		width: 42%;
	}
}
