/* ============================================================
   SINGI 产品页 · 移动端表格可读性修复
   目的：手机上保留表格原始列宽与字号，超宽部分左右滑动查看
        取消模板脚本的"整表等比缩小"与"逐字折行"
   范围：仅 768px 以下 + 仅产品详情正文区，桌面端零影响
   回退：删除 product.html 中本文件的 <link> 引用即可
   日期：2026-12-01
   ============================================================ */

@media screen and (max-width: 768px) {

	/* 1. 模板自带的表格滑块容器：改为真滚动，取消固定高度 */
	.prodDetail-editor-container .sliderTable {
		overflow-x: auto !important;
		overflow-y: visible !important;
		height: auto !important;
		-webkit-overflow-scrolling: touch;
	}
	.prodDetail-editor-container .sliderTable > .inner {
		height: auto !important;
		overflow: visible !important;
	}

	/* 2. 表格本体：自己当滚动容器，恢复原始宽度，取消等比缩放 */
	.prodDetail-editor-container table {
		display: block !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
		width: auto !important;
		max-width: 100% !important;
		transform: none !important;
		-webkit-transform: none !important;
	}

	/* 3. 单元格：数字与英文单词不再被逐字折断 */
	.prodDetail-editor-container table td,
	.prodDetail-editor-container table th {
		word-break: normal !important;
		overflow-wrap: break-word;
		max-width: none !important;
	}

	/* 4. 多列表格首列限宽：长参数名换行，数值列不再被挤出屏幕
	      :not(:only-child) 保证单列表格（如联系方式）不受影响 */
	.prodDetail-editor-container table tr > *:first-child:not(:only-child) {
		width: 132px !important;
		min-width: 132px !important;
		max-width: 132px !important;
		white-space: normal !important;
	}

	/* 5. 模板生成的放大镜按钮：表格已可滑动查看，不再需要 */
	.prodDetail-editor-container .inner-zoom {
		display: none !important;
	}

	/* 6. SKU 属性表保持原样，不参与上面的改造 */
	.prodDetail-editor-container .this-description-table {
		display: table !important;
		overflow: visible !important;
		width: 100% !important;
	}
	.prodDetail-editor-container .this-description-table tr > *:first-child {
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
	}
}
