/* 供应市场 · 商品详情页（1688 版式：左栏信息+图片+描述同宽，右栏价格面板吸顶） */
body {
	color: #333333;
	background: var(--page-bg-color, #f5f6f7);
}

.ns-delivery-tags {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	vertical-align: middle;
}

.ns-delivery-tag {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 7px;
	border: 1px solid #bde8cf;
	border-radius: 4px;
	background: #f1faf5;
	color: #009c50;
	font-size: 11px;
	font-style: normal;
	line-height: 18px;
	white-space: nowrap;
}

.ns-supply-detail {
	padding-top: 16px;
	padding-bottom: 40px;
}

.dt-body {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.dt-left-col {
	flex: 0 0 50.6%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.dt-right-col {
	position: sticky;
	flex: 1 1 auto;
	min-width: 420px;
	top: 24px;
	/* 右栏 = 价格面板 + 底部购物结算栏 两段：滚动的只有价格面板（.dt-buy-panel） */
	display: flex;
	flex-direction: column;
	gap: 0;                 /* 两段之间不留缝：视觉上是一张卡 */
	/* 手机浏览器贴底工具条 / 安全区：这部分高度由 JS 从面板最大高度里减掉 */
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* 价格面板：高度由 JS 按「视口高 − 吸顶距离 − 结算栏高度 − 底部工具条 − 留白」算，超了自己滚动 */
.dt-card.dt-buy-panel {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-radius: 12px 12px 0 0;   /* 只圆上半截，下半截和结算栏接在一起 */
	padding: 16px 20px 12px;        /* 比默认 .dt-card 收紧一点，规格列表更紧凑 */
}

/* 底部购物结算栏：独立一栏（不在价格面板里面、不参与滚动），视觉上和价格面板连成一张卡 */
.dt-buy-foot {
	flex: 0 0 auto;
	padding: 12px 20px 16px;
	background-color: #ffffff;
	border-radius: 0 0 12px 12px;
	border-top: 1px solid #f2f3f2;
	box-sizing: border-box;
}

/* ---------- 供货商卡（左栏） ---------- */
.dt-shop {
	padding: 16px 20px;
	background-color: #FFFFFF;
	border-radius: 12px;
	box-sizing: border-box;
}

.dt-shop-head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.dt-shop-left {
	display: flex;
	align-items: center;
	min-width: 0;
}

.dt-shop-logo {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	margin-right: 12px;
	border-radius: 8px;
	overflow: hidden;
	background-color: var(--page-bg-color, #f5f6f7);
}

.dt-shop-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dt-shop-name {
	font-size: 17px;
	font-weight: 600;
	color: #222222;
	text-decoration: none;
}

.dt-shop-name:hover {
	color: var(--primary-color, #009c50);
}

.dt-shop-main {
	min-width: 0;
}

.dt-shop-desc {
	margin-top: 4px;
	max-width: 420px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	color: var(--primary-color-dark, #999999);
}

.dt-shop-meta {
	margin-top: 10px;
	font-size: 13px;
	color: #666666;
}

.dt-shop-score {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 28px;
	margin-top: 8px;
	font-size: 13px;
	color: #666666;
}

.dt-shop-score span {
	white-space: nowrap;
}

.dt-shop-score b {
	font-weight: 600;
	color: var(--primary-color, #009c50);
}

.dt-shop-meta span {
	white-space: nowrap;
}

.dt-shop-sep {
	display: inline-block;
	width: 1px;
	height: 12px;
	margin: 0 12px;
	background-color: #e5e6e6;
	vertical-align: -1px;
}

.dt-shop-btn {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 0 0 auto;
}

/* 供货商卡右上角操作：图标 + 文字，不要边框 */
.dt-shop-action {
	display: inline-flex;
	align-items: center;
	padding: 0;
	font-size: 14px;
	line-height: 22px;
	color: #666666;
	background: none;
	border: none;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s;
}

.dt-shop-action i {
	margin-right: 4px;
	font-size: 15px;
}

.dt-shop-action:hover,
.dt-shop-action.is-active {
	color: var(--primary-color, #009c50);
}

/* ---------- 图片卡（左栏） ---------- */
.dt-gallery {
	display: flex;
	padding: 16px;
	background-color: #FFFFFF;
	border-radius: 12px;
	box-sizing: border-box;
}

.dt-thumbs {
	flex: 0 0 148px;
	width: 148px;
	margin-right: 12px;
	max-height: 100%;
	overflow-y: auto;
}

.dt-thumbs ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dt-thumbs li {
	position: relative;
	width: 68px;
	height: 68px;
	margin: 0 12px 12px 0;
	list-style: none;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	box-sizing: border-box;
	background-color: #f7f8f7;
	cursor: pointer;
}

.dt-thumbs li:nth-child(2n) {
	margin-right: 0;
}

.dt-thumbs li.ns-pic-selected {
	border-color: var(--primary-color, #07c160);
}

.dt-thumbs li .ns-pic,
.dt-thumbs li .ns-pic a {
	display: block;
	width: 100%;
	height: 100%;
}

.dt-thumbs li img,
.dt-thumbs li video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dt-thumbs .dt-thumb-tag {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 1px 6px;
	font-size: 11px;
	color: #FFFFFF;
	background-color: rgba(0, 0, 0, .55);
	border-radius: 0 6px 0 0;
}

.dt-main-img {
	position: relative;
	flex: 1;
	min-width: 0;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	border-radius: 8px;
	background-color: #f7f8f7;
	text-align: center;
}

.dt-main-img > a {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	overflow: hidden;
}

.dt-main-img a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dt-main-img a video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background-color: #000000;
}

/* ---------- 右栏价格面板 ---------- */
.dt-card {
	padding: 20px;
	background-color: #FFFFFF;
	border-radius: 12px;
	box-sizing: border-box;
}

.dt-title-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 14px;
}

.dt-title {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: 18px;
	line-height: 27px;
	font-weight: 600;
	color: #222222;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* 收藏（标题右侧图标，无边框；已收藏为实心） */
.dt-collect {
	flex: none;
	width: 30px;
	height: 30px;
	margin-top: -2px;
	padding: 0;
	font-size: 21px;
	line-height: 30px;
	text-align: center;
	color: var(--primary-color-dark, #999999);
	background: none;
	border: none;
	cursor: pointer;
	transition: color .2s, transform .2s;
}

.dt-collect:hover {
	color: var(--primary-color, #009c50);
}

.dt-collect.is-active {
	color: var(--primary-color, #009c50);
	background: none;
	border: none;
}

/* 收藏用爱心：未收藏描边，已收藏实心 */
.dt-collect .dt-heart {
	display: block;
	width: 20px;
	height: 20px;
	margin: 5px auto 0;
}

.dt-collect .dt-heart path {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linejoin: round;
	transition: fill .2s;
}

.dt-collect.is-active .dt-heart path {
	fill: currentColor;
}

/* 收藏 / 关注成功的过渡动效 */
@-webkit-keyframes dt-pulse {
	0% { -webkit-transform: scale(1); }
	40% { -webkit-transform: scale(1.28); }
	100% { -webkit-transform: scale(1); }
}

@keyframes dt-pulse {
	0% { transform: scale(1); }
	40% { transform: scale(1.28); }
	100% { transform: scale(1); }
}

.dt-collect.is-pulse,
.dt-shop-action.is-pulse {
	animation: dt-pulse .42s ease;
}

/* 宣传标语（供货商后台商品里的「促销语」，纯文案展示） */
.dt-promo {
	margin: -6px 0 12px;
	font-size: 13px;
	line-height: 20px;
	color: #888888;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.dt-price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin-bottom: 12px;
}

.dt-price-label {
	font-size: 13px;
	color: var(--primary-color-dark, #999999);
}

.dt-price-main {
	color: var(--primary-color, #009c50);
	line-height: 1;
}

.dt-price-main .dt-cur {
	font-size: 16px;
	font-weight: 600;
}

.dt-price-main em {
	font-style: normal;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.5px;
}

.dt-price-main .dt-unit {
	margin-left: 4px;
	font-size: 13px;
	color: #888888;
}

.dt-price-tip {
	font-size: 12px;
	color: var(--primary-color, #009c50);
}

.dt-price-range {
	font-size: 13px;
	color: var(--primary-color-dark, #999999);
}

.dt-tiers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.dt-tiers span {
	padding: 3px 10px;
	font-size: 12px;
	color: var(--primary-color, #009c50);
	background-color: #fff2f1;
	border-radius: 12px;
}

/* 当前数量命中的那一档 */
.dt-tiers span.is-active {
	color: #ffffff;
	background-color: var(--primary-color, #009c50);
}

/* 价格区的形态资料：预包装（规格/净含量）、散装（包装换算） */
.dt-form-info {
	margin: -6px 0 14px;
	font-size: 13px;
	line-height: 20px;
	color: #666666;
}

.dt-ship {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	padding-bottom: 12px;
	font-size: 13px;
	color: #666666;
	border-bottom: 1px solid #f2f2f2;
}

.dt-ship > span {
	display: inline-flex;
	align-items: center;
}

.dt-ship i {
	margin-right: 6px;
	color: var(--primary-color-dark, #999999);
}

.dt-ship em {
	font-style: normal;
	color: #333333;
}

/* 「发货地 送至 收货地 ⌄」 */
.dt-ship-to {
	cursor: pointer;
}

.dt-ship-to .dt-ship-word {
	margin: 0 4px;
	color: var(--primary-color-dark, #999999);
}

.dt-ship-to .dt-ship-city {
	font-weight: 600;
	color: #333333;
}

.dt-ship-to .dt-ship-arrow {
	margin-left: 4px;
	font-size: 12px;
	color: var(--primary-color-dark, #999999);
}

.dt-ship-to:hover .dt-ship-city,
.dt-ship-to:hover .dt-ship-arrow {
	color: var(--primary-color, #009c50);
}

/* 选择收货地址 */
.dt-addr-pop {
	max-height: 58vh;
	overflow-y: auto;
	padding: 14px 16px;
}

.dt-addr-item {
	padding: 10px 12px;
	margin-bottom: 10px;
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}

.dt-addr-item:hover {
	border-color: var(--primary-color, #009c50);
	background-color: #fff8f5;
}

.dt-addr-item.is-active {
	border-color: var(--primary-color, #009c50);
	background-color: var(--primary-color-light, #eefbf3);
}

.dt-addr-item .dt-addr-name {
	font-size: 14px;
	color: #333333;
}

.dt-addr-item .dt-addr-name span {
	margin-left: 8px;
	color: var(--primary-color-dark, #999999);
}

.dt-addr-item .dt-addr-name em {
	margin-left: 6px;
	padding: 0 4px;
	font-style: normal;
	font-size: 12px;
	color: var(--primary-color, #009c50);
	border: 1px solid #b7e6cd;
	border-radius: 3px;
}

.dt-addr-item .dt-addr-detail {
	margin-top: 4px;
	font-size: 13px;
	line-height: 20px;
	color: #666666;
}

/* ---------- 运费说明 ---------- */
.dt-postage-more {
	margin-left: 8px;
	color: var(--primary-color, #009c50);
	text-decoration: none;
	cursor: pointer;
}

.dt-postage-more:hover {
	text-decoration: underline;
}

.dt-postage-box {
	display: none;
}

.dt-postage-pop {
	max-height: 62vh;
	overflow-y: auto;
	padding: 16px 18px;
	font-size: 13px;
	line-height: 22px;
	color: #333333;
}

.dt-postage-pop .dt-postage-item {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px dashed #ececec;
}

.dt-postage-pop .dt-postage-item:last-of-type {
	border-bottom: none;
}

.dt-postage-pop .dt-postage-fee {
	font-weight: 600;
	color: var(--primary-color, #009c50);
}

.dt-postage-pop .dt-postage-area {
	margin-top: 4px;
	color: #666666;
}

.dt-postage-pop .dt-postage-tip {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 20px;
	color: var(--primary-color-dark, #999999);
}

.dt-service-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	padding: 12px 0 2px;
	font-size: 13px;
	color: #666666;
}

.dt-service-row span i {
	margin-right: 4px;
	color: var(--primary-color, #009c50);
}

/* 服务保障的图标（后台各服务的图标） */
.dt-service-row .dt-service-icon {
	width: 16px;
	height: 16px;
	margin-right: 5px;
	vertical-align: -3px;
	border-radius: 3px;
}

.dt-row {
	display: flex;
	align-items: flex-start;
	margin-top: 16px;
}

.dt-row-label {
	flex: 0 0 60px;
	width: 60px;
	line-height: 34px;
	font-size: 13px;
	color: var(--primary-color-dark, #999999);
}

.dt-row-body {
	flex: 1;
	min-width: 0;
}

.dt-spec-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.dt-spec-item {
	min-width: 120px;
	padding: 6px 12px;
	border: 1px solid #e5e6e6;
	border-radius: 4px;
	cursor: pointer;
	background-color: #ffffff;
	line-height: 20px;
	box-sizing: border-box;
}

.dt-spec-item .dt-spec-name {
	font-size: 13px;
	color: #333333;
}

.dt-spec-item .dt-spec-sub {
	font-size: 12px;
	color: var(--primary-color-dark, #999999);
}

.dt-spec-item.selected {
	border-color: var(--primary-color, #07c160);
	background-color: #f2fbf0;
}

.dt-spec-item.selected .dt-spec-name {
	color: var(--primary-color, #009c50);
	font-weight: 600;
}

.dt-spec-item.selected .dt-spec-sub {
	color: var(--primary-color, #009c50);
}

/* 多规格：一规格一行（左侧规格名+价格，右侧增减数量；数量为 0 = 不选这个规格，>0 的行高亮为「已选」） */
.dt-spec-rows {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
	/* 规格区自己不滚动、不出滚动条：高度由 JS 算在「整个右侧面板」上（dtPanelFitHeight），
	   面板整体滚动，「已选 / 商品金额 / 按钮」贴住面板底部 */
	box-sizing: border-box;
}

.dt-spec-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 3px 6px;
	border: 0;
	border-radius: 4px;
	background-color: transparent;
	box-sizing: border-box;
}

.dt-spec-row:hover {
	background-color: #fafafa;
}

.dt-spec-row-name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 13px;
	line-height: 20px;
	color: #333333;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dt-spec-row-price {
	flex: 0 0 auto;
	text-align: right;
	white-space: nowrap;
	font-size: 12px;
	line-height: 18px;
	color: var(--primary-color-dark, #999999);
}

.dt-spec-row-price em {
	font-style: normal;
	color: var(--primary-color, #009c50);
}

.dt-spec-row-batch {
	margin-left: 4px;
}

.dt-spec-row-stock {
	margin-left: 10px;
}

.dt-spec-row-step {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	margin-left: auto;
	border: 1px solid #e5e6e6;
	border-radius: 4px;
	overflow: hidden;
}

.dt-spec-row-step .step-btn {
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-size: 14px;
	color: #666666;
	background-color: #fafafa;
	cursor: pointer;
	user-select: none;
}

.dt-spec-row-step .step-btn:hover {
	color: var(--primary-color, #009c50);
	background-color: #f2fbf0;
}

.dt-spec-row-step .dt-spec-row-num {
	width: 54px;
	height: 30px;
	padding: 0;
	border: 0;
	border-left: 1px solid #e5e6e6;
	border-right: 1px solid #e5e6e6;
	text-align: center;
	font-size: 13px;
	color: #333333;
	box-sizing: border-box;
}

/* 已填数量的行（激活态）：只让「规格名 / 单价 / 数量」文字变绿，不画框、不换底色 */
.dt-spec-row.is-active .dt-spec-row-name {
	color: var(--primary-color, #009c50);
	font-weight: 600;
}

.dt-spec-row.is-active .dt-spec-row-price em {
	color: var(--primary-color, #009c50);
	font-weight: 600;
}

.dt-spec-row.is-active .dt-spec-row-num {
	color: var(--primary-color, #009c50);
	font-weight: 600;
}

.dt-buy-num {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.dt-buy-num .decrease,
.dt-buy-num .increase {
	display: inline-block;
	width: 34px;
	height: 34px;
	line-height: 32px;
	text-align: center;
	font-size: 16px;
	color: #666666;
	border: 1px solid #e5e6e6;
	cursor: pointer;
	user-select: none;
	background-color: #fafafa;
	box-sizing: border-box;
}

.dt-buy-num .decrease {
	border-radius: 4px 0 0 4px;
}

.dt-buy-num .increase {
	border-radius: 0 4px 4px 0;
}

.dt-buy-num .goods-buy-num {
	width: 72px;
	height: 34px;
	line-height: 34px;
	padding: 0 6px;
	text-align: center;
	border: 1px solid #e5e6e6;
	border-left: none;
	border-right: none;
	border-radius: 0;
	box-sizing: border-box;
}

.dt-buy-tip {
	flex: 0 0 100%;
	margin-top: 8px;
	font-size: 12px;
	color: var(--primary-color-dark, #999999);
}

.dt-sum {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: 16px;
	padding: 10px 14px;
	font-size: 13px;
	line-height: 22px;
	color: #666666;
	background-color: #f7f8f7;
	border-radius: 8px;
}

.dt-sum em {
	font-style: normal;
	color: #333333;
}

.dt-sum .dt-sum-picked em {
	color: #333333;
}

.dt-sum .dt-sum-amount em {
	font-size: 18px;
	font-weight: 600;
	color: var(--primary-color, #009c50);
}

.dt-sum .dt-sum-amount em b {
	font-weight: 700;
}

.dt-sum .dt-sum-freight em {
	color: #333333;
}

.dt-sum .dt-sum-freight em.is-free {
	color: var(--primary-color, #009c50);
}

.dt-sum .dt-sum-sep {
	width: 1px;
	height: 12px;
	background-color: #dcdee0;
}

.dt-btns {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 10px;
	margin-top: 22px;
}

/* 立即购买 : 加入采购单 = 2/3 : 1/3 */
.dt-btns .dt-btn-main {
	flex: 2 1 0;
}

.dt-btns .dt-btn-cart {
	flex: 1 1 0;
}

.dt-btn {
	height: 46px;
	line-height: 44px;
	padding: 0 20px;
	white-space: nowrap;
	font-size: 15px;
	border-radius: 6px;
	border: 1px solid var(--primary-color, #07c160);
	cursor: pointer;
	box-sizing: border-box;
	background-color: #ffffff;
	color: var(--primary-color, #009c50);
}

.dt-btn-main {
	flex: 1 1 100%;
	background-color: var(--primary-color, #07c160);
	border-color: var(--primary-color, #07c160);
	color: #ffffff;
}

.dt-btn-main:hover {
	background-color: var(--primary-color, #07c160);
}

/* ---------- 详情 / 属性（左栏） ---------- */
.ns-goods-detail-con {
	padding: 8px 20px 28px;
	background-color: #FFFFFF;
	border-radius: 12px;
	box-sizing: border-box;
}

/* 工具条（商品属性 / 商品详情）：只做锚点定位，滚到位置吸顶 */
.dt-detail-bar {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 28px;
	height: 48px;
	margin: 0 -20px;
	padding: 0 20px;
	background-color: #ffffff;
	border-bottom: 1px solid #f0f0f0;
}

.dt-detail-bar-item {
	position: relative;
	height: 48px;
	line-height: 48px;
	font-size: 15px;
	color: #666666;
	text-decoration: none;
	cursor: pointer;
}

.dt-detail-bar-item.is-active {
	color: #222222;
	font-weight: 600;
}

.dt-detail-bar-item.is-active:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background-color: var(--primary-color, #07c160);
}

.dt-detail-block {
	padding-top: 18px;
	font-size: 14px;
	line-height: 1.8;
	color: #333333;
}

.dt-detail-block img {
	max-width: 100%;
	height: auto;
}

/* 商品属性里的包装信息（件重尺）：按规格列重量/体积 */
.dt-pack-info {
	margin-top: 18px;
}

.dt-pack-info-title {
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #333333;
}

.dt-pack-info-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.dt-pack-info-table th,
.dt-pack-info-table td {
	padding: 8px 12px;
	text-align: left;
	border: 1px solid #f0f0f0;
}

.dt-pack-info-table th {
	font-weight: 400;
	color: #333333;
	background-color: #f5f5f5;
}

.dt-pack-info-table td {
	color: #666666;
}

.ns-goods-detail-con .null-evaluate {
	padding: 60px 0;
	text-align: center;
	color: var(--primary-color-dark, #999999);
}

/* ---------- 商品参数（商品属性页签） ---------- */
/* 商品属性：表格化 —— 带网格线、属性名浅灰底、整体小圆角 */
.dt-attr-list {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr) 110px minmax(0, 1fr);
	gap: 1px;                      /* 1px 的缝隙就是网格线（用边框会叠成 2px） */
	background-color: #ececee;     /* 缝隙色 = 线色 */
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 0 0 1px #ececee; /* 外框 */
	margin: 0;
	padding: 0;
	list-style: none;
}

/* 一个 li = 一对「属性名 + 属性值」，让它直接参与外层网格 */
.dt-attr-list li {
	display: contents;
}

.dt-attr-list .dt-attr-name,
.dt-attr-list .dt-attr-value {
	padding: 11px 16px;
	font-size: 14px;
	line-height: 22px;
	min-width: 0;
	box-sizing: border-box;
}

.dt-attr-list .dt-attr-name {
	background-color: #f7f8f8;
	color: #8a8a8a;
}

.dt-attr-list .dt-attr-value {
	background-color: #ffffff;
	color: #333333;
	word-break: break-all;
}

/* 窄屏：退化成两列（属性名 | 属性值） */
@media (max-width: 768px) {
	.dt-attr-list {
		grid-template-columns: 96px minmax(0, 1fr);
	}
}

.dt-attr-empty {
	padding: 40px 0;
	text-align: center;
	font-size: 14px;
	color: var(--primary-color-dark, #999999);
}

/* ---------- 其他商家还在看（整页宽） ---------- */
.ns-goods-more {
	margin-top: 16px;
	padding: 20px 20px 26px;
	background-color: #FFFFFF;
	border-radius: 12px;
	box-sizing: border-box;
}

/* ===== 分销代发（2026-10-15）=====
   两张脸：已开店铺 → 三个操作按钮 + 一行供货商发货能力；没店铺（含游客）→ 引导开通店铺。
   样式跟上面 .ns-goods-more 一张卡（同圆角/同背景），颜色沿用供应市场的绿。 */
.ns-dropship {
	margin-top: 16px;
	padding: 18px 20px;
	background-color: #FFFFFF;
	border-radius: 12px;
	box-sizing: border-box;
}

.ns-dropship-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ns-dropship-head > b {
	font-size: 16px;
	font-weight: 600;
	color: #222222;
}

.ns-dropship-ops {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ns-ds-btn {
	display: inline-block;
	height: 32px;
	padding: 0 14px;
	font-size: 13px;
	line-height: 32px;
	/* 静默按钮（2026-10-15 用户要求）：不抢「立即购买」的注意力 —— 浅灰底、无边框、深灰字 */
	color: #4a544e;
	background-color: #f6f7f6;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	transition: color .18s, background-color .18s;
}

.ns-ds-btn:hover {
	color: var(--primary-color, #009c50);
	background-color: #eef7ea;
}

.ns-ds-btn[disabled] {
	opacity: .6;
	cursor: default;
}

/* 数据条：供货商代发指标，3 列 × 3 行（2026-10-15 用户给的参考图就是三列排布），口径见 Goods::getDropshipBlock */
.ns-dropship-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 18px;
	margin-top: 14px;
}

.ns-dropship-facts span {
	display: flex;
	align-items: baseline;
	gap: 6px;
	min-width: 0;
	font-size: 13px;
}

.ns-dropship-facts em {
	flex: none;
	font-style: normal;
	color: #98a29c;
}

.ns-dropship-facts b {
	min-width: 0;
	font-weight: 600;
	color: #232b26;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* 没店铺时的引导文案 */
.ns-dropship-promo {
	margin-top: 12px;
}

.ns-ds-promo-title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #222222;
}

.ns-ds-promo-sub {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.7;
	color: #646566;
}

.ns-goods-more > p {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 600;
	color: #222222;
}

.ns-goods-more-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ns-goods-more-list > a {
	flex: 0 0 calc((100% - 80px) / 6);
	min-width: 0;
	border-radius: 8px;
	overflow: hidden;
}

.ns-goods-more .ns-goods-more-wrap {
	display: block;
}

.ns-goods-more .more-goods-img {
	position: relative;
	width: 100%;
	padding-top: 100%;
	border-radius: 8px;
	overflow: hidden;
	background-color: #f7f8f7;
}

.ns-goods-more .more-goods-img img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ns-goods-more .ns-goods-more-wrap p {
	margin: 8px 0 0;
	font-size: 13px;
	color: #666666;
}

.ns-goods-more .ns-goods-more-wrap p .ns-red-color {
	color: var(--primary-color, #009c50);
	font-weight: 600;
}

/* 推荐区已去掉触底加载提示（2026-10-16：两块推荐各自一次性取满，不再有「加载中/没有更多了」） */

/* 价格说明 / 内容声明 */
.dt-notice {
	margin-top: 16px;
	padding: 20px 20px 22px;
	background-color: #FFFFFF;
	border-radius: 12px;
	box-sizing: border-box;
}

.dt-notice .dt-notice-sec {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	color: #222222;
}

.dt-notice .dt-notice-sec:not(:first-child) {
	margin-top: 20px;
}

.dt-notice .dt-notice-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dt-notice .dt-notice-list li {
	position: relative;
	margin-bottom: 6px;
	padding-left: 12px;
	font-size: 12px;
	line-height: 22px;
	color: #666666;
}

.dt-notice .dt-notice-list li:last-child {
	margin-bottom: 0;
}

.dt-notice .dt-notice-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: #d9d9d9;
}

.dt-notice .dt-notice-list li b {
	color: #333333;
	font-weight: 600;
}

.dt-notice .dt-notice-text {
	margin: 0;
	font-size: 12px;
	line-height: 22px;
	color: #666666;
}

.dt-notice .dt-notice-list.dt-notice-note li {
	margin-bottom: 2px;
	color: var(--primary-color, #009c50);
}

.dt-notice .dt-notice-list.dt-notice-note li::before {
	background-color: transparent;
}

/* 屏幕不够宽时 */
@media (max-width: 1500px) {
	.ns-goods-more-list > a {
		flex: 0 0 calc((100% - 64px) / 5);
	}
}

@media (max-width: 1360px) {
	.ns-goods-more-list > a {
		flex: 0 0 calc((100% - 48px) / 4);
	}

	.dt-right-col {
		min-width: 360px;
	}

	.dt-thumbs {
		flex: 0 0 148px;
		width: 148px;
	}

	.dt-thumbs li {
		width: 68px;
		height: 68px;
	}
}

/* 窗口高度过矮时，右栏不吸顶（否则整块贴住顶部、底部按钮看不到） */
@media (max-height: 620px) {
	.dt-right-col {
		position: static;
	}
}

/* ---------- 主图全屏预览 ---------- */
.dt-viewer {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	background-color: #000000;
}

.dt-viewer.is-open {
	display: block;
}

.dt-viewer-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dt-viewer-close {
	position: absolute;
	right: 26px;
	top: 20px;
	width: 46px;
	height: 46px;
	line-height: 44px;
	text-align: center;
	font-size: 30px;
	color: #FFFFFF;
	cursor: pointer;
	background-color: rgba(0, 0, 0, .35);
	border-radius: 50%;
	user-select: none;
}

.dt-viewer-close:hover {
	background-color: rgba(0, 0, 0, .6);
}

.dt-viewer-arrow {
	position: absolute;
	top: 50%;
	margin-top: -32px;
	width: 52px;
	height: 64px;
	line-height: 60px;
	text-align: center;
	font-size: 36px;
	color: #FFFFFF;
	cursor: pointer;
	background-color: rgba(0, 0, 0, .3);
	border-radius: 6px;
	user-select: none;
}

.dt-viewer-arrow:hover {
	background-color: rgba(0, 0, 0, .6);
}

.dt-viewer-prev {
	left: 26px;
}

.dt-viewer-next {
	right: 26px;
}

.dt-main-img .jqzoom {
	cursor: zoom-in;
}

/* ---------- 主图：左右滚动按钮 + 放大镜 ---------- */
.dt-nav {
	display: none;
	position: absolute;
	top: 50%;
	margin-top: -30px;
	width: 28px;
	height: 60px;
	line-height: 56px;
	text-align: center;
	font-size: 26px;
	color: #FFFFFF;
	background-color: rgba(0, 0, 0, .28);
	cursor: pointer;
	user-select: none;
	z-index: 300;
}

.dt-nav:hover {
	background-color: rgba(0, 0, 0, .55);
}

.dt-nav-prev {
	left: 0;
	border-radius: 0 4px 4px 0;
}

.dt-nav-next {
	right: 0;
	border-radius: 4px 0 0 4px;
}

.dt-gallery:hover .dt-nav {
	display: block;
}

.dt-zoom {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border: 1px solid #e5e6e6;
	border-radius: 12px;
	background-color: #FFFFFF;
	background-repeat: no-repeat;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
	pointer-events: none;
	z-index: 120;
}

/* ---------- 供货商详情展开面板 ---------- */
.dt-shop {
	position: relative;
}

.dt-shop-name-wrap {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.dt-shop-arrow {
	width: 0;
	height: 0;
	margin-left: 8px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid var(--primary-color-dark, #999999);
	transition: transform .2s;
}

.dt-shop-arrow.is-open {
	transform: rotate(180deg);
}

.dt-shop-panel {
	display: none;
	position: absolute;
	left: 0;
	top: calc(100% + 10px);
	z-index: 80;
	width: 700px;
	max-width: calc(100% - 40px);
	padding: 20px 24px;
	background-color: #FFFFFF;
	border: 1px solid #eeeeee;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
	box-sizing: border-box;
}

.dt-shop-panel.is-open {
	display: flex;
}

.dt-panel-col {
	flex: 1;
	min-width: 0;
}

.dt-panel-info {
	padding-right: 24px;
	border-right: 1px solid #f2f2f2;
}

.dt-panel-name {
	display: flex;
	align-items: center;
	margin-bottom: 14px;
	font-size: 15px;
	font-weight: 600;
	color: #222222;
}

/* 供货商名过长时省略，把空间留给右边的入驻标签 */
.dt-panel-name > span,
.dt-panel-name > a {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #222222;
	text-decoration: none;
}

.dt-panel-name > a:hover {
	color: var(--primary-color, #009c50);
}

.dt-panel-badge {
	flex: none;
	margin-left: 10px;
	padding: 1px 5px;
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
	white-space: nowrap;
	color: var(--primary-color, #009c50);
	border: 1px solid var(--primary-color, #009c50);
	border-radius: 3px;
}

.dt-panel-info ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dt-panel-info li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
	font-size: 13px;
	line-height: 20px;
}

.dt-panel-info li label {
	flex: 0 0 68px;
	color: var(--primary-color-dark, #999999);
}

.dt-panel-info li span {
	flex: 1;
	min-width: 0;
	color: #333333;
	word-break: break-all;
}

.dt-panel-score {
	padding-left: 24px;
}

.dt-panel-score-title {
	margin-bottom: 14px;
	font-size: 15px;
	font-weight: 600;
	color: #222222;
}

.dt-panel-score-item {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	font-size: 13px;
	color: #666666;
}

.dt-panel-score-item span {
	flex: 0 0 68px;
}

.dt-panel-score-item b {
	flex: 0 0 34px;
	font-weight: 600;
	color: #333333;
}

.dt-panel-score-item i {
	flex: 1;
	height: 8px;
	background-color: #f2f2f2;
	border-radius: 4px;
	overflow: hidden;
}

.dt-panel-score-item i em {
	display: block;
	height: 100%;
	background-color: var(--primary-color, #009c50);
	border-radius: 4px;
}

/* ---------- 已认证标记 / 证照 ---------- */
.dt-shop-cert {
	margin-left: 8px;
	padding: 1px 6px;
	font-size: 12px;
	font-style: normal;
	color: var(--primary-color, #009c50);
	border: 1px solid var(--primary-color, #07c160);
	border-radius: 3px;
}

.dt-cert-link {
	color: var(--primary-color, #009c50);
}

.dt-cert-none {
	font-style: normal;
	color: var(--primary-color-dark, #999999);
}

/* 个人认证：只显示「已实名认证」标识，不展示身份证件照 */
.dt-cert-real {
	font-style: normal;
	color: var(--primary-color, #009c50);
}

/* ============================================================
   1688 规格对齐：页面宽度 1380 / 品牌色 var(--primary-color, #07c160) / 字体栈 / 详情图缩放
   （仅作用于商品详情页 .dt-page）
   ============================================================ */
.dt-page {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
		"PingFang SC", "Microsoft YaHei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.dt-page .ns-supply-wrap-con {
	min-width: 1164px;
	max-width: 1380px;
	padding: 0 12px;
}

/* 品牌色：主按钮 / 次按钮 / 规格选中 / 价格 / 链接 */
.dt-page .dt-btn.dt-btn-main {
	background-color: var(--primary-color, #07c160);
	border-color: var(--primary-color, #07c160);
	color: #ffffff;
}

.dt-page .dt-btn.dt-btn-main:hover {
	background-color: var(--primary-color, #009c50);
	color: #ffffff;
}

.dt-page .dt-btn {
	border-color: var(--primary-color, #009c50);
	color: var(--primary-color, #009c50);
}

.dt-page .dt-spec-item.selected {
	border-color: var(--primary-color, #009c50);
	background-color: var(--primary-color-light, #eefbf3);
}

.dt-page .dt-spec-item.selected .dt-spec-name,
.dt-page .dt-spec-item.selected .dt-spec-sub {
	color: var(--primary-color, #009c50);
}

.dt-page .dt-price-main,
.dt-page .dt-tiers span,
.dt-page .dt-price-tip {
	color: var(--primary-color, #009c50);
}

.dt-page .dt-tiers span {
	background-color: var(--primary-color-light, #eefbf3);
}

.dt-page .dt-attrs li .dt-attr-value b {
	color: var(--primary-color, #009c50);
}

.dt-page .dt-service-row span i,
.dt-page .dt-ship i,
.dt-page .dt-shop-score b {
	color: var(--primary-color, #009c50);
}

.dt-page .dt-shop-cert {
	color: var(--primary-color, #009c50);
	border-color: var(--primary-color, #009c50);
}

.dt-page .dt-cert-link {
	color: var(--primary-color, #009c50);
}

.dt-page .dt-panel-badge {
	color: var(--primary-color, #009c50);
	border-color: var(--primary-color, #009c50);
}

.dt-page .dt-panel-score-item i em {
	background-color: var(--primary-color, #009c50);
}

.dt-page .dt-detail-bar-item.is-active {
	color: var(--primary-color, #009c50);
}

.dt-page .dt-detail-bar-item.is-active:after {
	background-color: var(--primary-color, #009c50);
}

.dt-page .dt-detail-block a {
	color: var(--primary-color, #009c50);
}

/* 商品详情富文本里的图片按 1688 的 --description-zoom 缩放 */
.dt-page .dt-desc-wrap img {
	zoom: 0.83291;
}

/* 展开面板：服务保障标签 */
.dt-panel-services em {
	display: inline-block;
	margin: 0 8px 6px 0;
	padding: 1px 8px;
	font-style: normal;
	font-size: 12px;
	color: var(--primary-color, #009c50);
	background-color: var(--primary-color-light, #eefbf3);
	border-radius: 3px;
}

/* 主图热区框（显示被放大的范围） */
.dt-zoom-hot {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	border: 1px solid var(--primary-color, #009c50);
	background-color: rgba(255, 64, 0, .14);
	border-radius: 2px;
	pointer-events: none;
	z-index: 110;
}
