/**
 * 商品详情决策区：摘要 / 阶梯当前档 / 小计 / Sheet / 底栏摘要
 */
/*======= sanxio 卡片1 间距统一 start ===========*/
.mdc-show-left-card {
	--sx-card1-gap: var(--sanxio-gap-sm, 8px);
	--sx-card1-pad-x: var(--sanxio-card-px, 12px);
	--sx-card1-pad-y: var(--sanxio-card-py, 12px);
}
@media (min-width: 768px) {
	.mdc-show-left-card {
		--sx-card1-pad-x: var(--sanxio-card-px, 20px);
		--sx-card1-pad-y: var(--sanxio-card-py, 20px);
	}
}
/* info 区：标题→决策区全程同一 gap，取消各子块自带 margin 叠距 */
.mdc-show-left-card .mdc-show-info {
	display: flex;
	flex-direction: column;
	gap: var(--sx-card1-gap);
	padding: var(--sx-card1-pad-y) var(--sx-card1-pad-x);
	box-sizing: border-box;
}
.mdc-show-left-card .mdc-show-gallery__thumbs {
	padding-top: var(--sx-card1-gap);
	padding-bottom: var(--sx-card1-gap);
}
/*======= sanxio 卡片1 间距统一 end ===========*/
/*======= sanxio PDP buy panel start ===========*/
.sx-pdp-buy-root {
	--sx-pdp-stack-gap: var(--sx-card1-gap, var(--sanxio-gap-sm, 8px));
	display: flex;
	flex-direction: column;
	gap: var(--sx-pdp-stack-gap);
	margin: 0;
	padding: 0;
	min-width: 0;
}
/*======= sanxio PDP 标题/价格排版 start ===========*/
.sx-pdp-info-head {
	display: flex;
	flex-direction: column;
	gap: var(--sx-card1-gap, var(--sanxio-gap-sm, 8px));
	margin: 0;
}
.mdc-show-info .sx-pdp-info-head .mdc-show-info__title {
	margin: 0;
}
.mdc-show-info .sx-pdp-info-head .mdc-show-info__publisher {
	margin: 0 !important;
	padding: 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--md3-color-on-surface-variant, var(--md-sys-color-on-surface-variant, #49454f));
}
.mdc-show-info .sx-pdp-info-head .mdc-show-info__subtitle {
	margin: 0;
}
.mdc-show-info .sx-pdp-info-head .mdc-show-sec1,
.mdc-show-info .sx-pdp-info-head .mdc-show-sec2 {
	margin: 0;
}
.mdc-show-info .mdc-show-price.sx-pdp-price-row {
	margin: 0;
	margin-bottom: 0;
	gap: var(--sx-card1-gap, var(--sanxio-gap-sm, 8px));
	align-items: center;
}
/* 压过 mall-show.css #data-step { margin-bottom:12px }，避免 gap+外边距叠成大空档 */
.sx-pdp-buy-root #data-step,
.sx-pdp-buy-root .mdc-step-groups,
.sx-pdp-buy-root .sx-mix-tier-show,
.sx-pdp-buy-root #sx-pdp-buy-slot {
	margin: 0;
}
.mdc-show-info .mdc-step-groups__items {
	gap: var(--sx-card1-gap, var(--sanxio-gap-sm, 8px));
}
.mdc-show-info .mdc-step-group {
	gap: 2px;
	padding: var(--sx-card1-gap, 8px);
	box-sizing: border-box;
}
.mdc-show-info .sx-pdp-tier-hint {
	margin-top: 0;
}

.sx-pdp-price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sanxio-gap-sm, 8px);
	width: 100%;
}
.sx-pdp-price-main {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sanxio-gap-sm, 8px);
	min-width: 0;
}
.sx-pdp-price-fig {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--sanxio-gap-sm, 8px);
	min-width: 0;
	line-height: 1.2;
}
.sx-pdp-price-fig b {
	font-weight: 700;
}
.sx-pdp-price-row .mdc-show-price__min {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	margin-left: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--md3-color-on-surface-variant, var(--md-sys-color-on-surface-variant, #49454f));
	white-space: nowrap;
}
.sx-pdp-price-row .mdc-show-price__moq {
	font-weight: 500;
	color: var(--md3-color-on-surface-variant, var(--md-sys-color-on-surface-variant, #49454f));
}
.sx-pdp-price-actions {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: flex-end;
	gap: var(--sanxio-gap-sm, 8px);
	margin-left: auto;
}
.sx-pdp-price-actions .mdc-show-price__compare {
	margin: 0;
	padding-left: 4px;
	padding-right: 4px;
	min-height: 28px;
}
.sx-pdp-price-actions .mdc-show-price__favorite,
.sx-pdp-price-actions .favorite {
	margin-left: 0;
}
@media (max-width: 767px) {
	.sx-pdp-price-row {
		flex-direction: column;
		align-items: stretch;
		gap: var(--sanxio-gap-sm, 8px);
	}
	.sx-pdp-price-main {
		width: 100%;
	}
	.sx-pdp-price-actions {
		width: 100%;
		margin-left: 0;
		justify-content: space-between;
	}
	.sx-pdp-price-actions .mdc-show-price__compare {
		padding-left: 0;
	}
}

.sx-pdp-tier-badge {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 8px;
	border-radius: var(--md-sys-shape-corner-extra-small, 4px);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	color: var(--md-sys-color-on-primary-container, #001d36);
	background: var(--md-sys-color-primary-container, #c2e7ff);
	white-space: nowrap;
}
/*======= sanxio PDP 标题/价格排版 end ===========*/

.mdc-step-groups .mdc-step-group {
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	position: relative;
	font: inherit;
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	width: 100%;
}
.mdc-step-groups .mdc-step-group.is-current {
	border-color: var(--md-sys-color-primary, #1976d2);
	background: var(--md-sys-color-primary-container, #c2e7ff);
	box-shadow: 0 0 0 1px var(--md-sys-color-primary, #1976d2);
}
.mdc-step-groups .mdc-step-group.is-next {
	border-color: var(--md-sys-color-outline, #79747e);
}
.sx-pdp-tier-hint {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	line-height: 1.3;
	color: var(--md-sys-color-primary, #1976d2);
	font-weight: 600;
	text-align: center;
}
.sx-pdp-tier-hint[hidden] {
	display: none !important;
}

.sx-pdp-buy-panel {
	display: flex;
	flex-direction: column;
	gap: var(--sx-card1-gap, var(--sx-pdp-stack-gap, 8px));
	padding: var(--sx-card1-gap, 8px);
	border-radius: var(--md-sys-shape-corner-medium, 12px);
	background: var(--md-sys-color-surface-container-low, #f7f2fa);
	border: 1px solid var(--md-sys-color-outline-variant, #e7e0ec);
	box-sizing: border-box;
}

/* 摘要条：无描边，用底色与决策区区分（Antigravity surface 层级） */
.sx-pdp-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	padding: 6px 10px;
	border-radius: var(--md-sys-shape-corner-small, 8px);
	background: var(--md-sys-color-surface-container-high, #ece6f0);
	border: none;
	box-shadow: none;
	font-size: 13px;
}
.sx-pdp-summary.is-incomplete {
	border: none;
	background: color-mix(in srgb, var(--md-sys-color-error-container, #f9dedc) 72%, var(--md-sys-color-surface-container-high, #ece6f0));
}
.sx-pdp-summary.is-ready {
	border: none;
	background: color-mix(in srgb, var(--md-sys-color-primary-container, #c2e7ff) 78%, var(--md-sys-color-surface-container-high, #ece6f0));
}
.sx-pdp-summary__text {
	font-weight: 600;
	color: var(--md-sys-color-on-surface, #1c1b1f);
}
.sx-pdp-summary__meta {
	color: var(--md-sys-color-on-surface-variant, #49454f);
	font-size: 12px;
}
.sx-pdp-summary__action {
	margin-left: auto;
}

/* 库存左 + 快捷右同一行；合计挂在 Qty 行中部 */
.sx-pdp-qty-meta {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	column-gap: var(--sx-card1-gap, 8px);
	row-gap: 6px;
	margin-top: 0;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
.sx-pdp-qty-extra {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	flex: 0 1 auto;
	min-width: 0;
	margin-left: auto;
}
.sx-pdp-qty-extra[hidden] {
	display: none !important;
}
.sx-pdp-qty-meta > .mdc-show-qty__stock {
	flex: 0 1 auto;
	min-width: 0;
	margin-left: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
	font-size: 12px;
	line-height: 1.3;
	color: var(--md-sys-color-on-surface-variant, #49454f);
}
.sx-pdp-subtotal {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	justify-content: flex-end;
	gap: 4px 8px;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 8px;
	font-size: 13px;
	color: var(--md-sys-color-on-surface, #1c1b1f);
	text-align: right;
	overflow: hidden;
}
.sx-pdp-subtotal[hidden] {
	display: none !important;
}
.sx-pdp-subtotal__total {
	font-size: 14px;
	font-weight: 700;
	color: var(--md3-color-primary, var(--md-sys-color-primary, #1976d2));
	white-space: nowrap;
}
.sx-pdp-subtotal__price {
	font-weight: 500;
	font-size: 11px;
	color: var(--md-sys-color-on-surface-variant, #49454f);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sx-pdp-subtotal__save {
	color: var(--md-sys-color-primary, #1976d2);
	font-weight: 600;
	font-size: 11px;
	white-space: nowrap;
}
@media (max-width: 360px) {
	/* 极窄：隐藏次要公式，只留合计 */
	.sx-pdp-subtotal__price {
		display: none;
	}
}

/*======= sanxio PDP 次要信息区压密 start ===========*/
.sx-pdp-secondary {
	/* 与卡片1同 gap；分割线上下各 1×gap，不再叠 margin-top */
	--sanxio-pdp-meta-label-w: 4.75em;
	--sanxio-pdp-row-h: 36px;
	--sanxio-pdp-row-gap: var(--sx-card1-gap, var(--sanxio-gap-sm, 8px));
	display: flex;
	flex-direction: column;
	gap: var(--sanxio-pdp-row-gap);
	margin: 0;
	padding-top: var(--sanxio-pdp-row-gap);
	border-top: 1px solid var(--md3-color-outline-variant, var(--md-sys-color-outline-variant, #cac4d0));
}
.sx-pdp-secondary .mdc-show-meta {
	display: flex;
	flex-direction: column;
	gap: var(--sanxio-pdp-row-gap);
	margin: 0;
	padding: 0;
	border-bottom: none;
}
.sx-pdp-secondary .mdc-show-meta li {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--sanxio-pdp-row-gap);
	height: var(--sanxio-pdp-row-h);
	min-height: var(--sanxio-pdp-row-h);
	font-size: 13px;
	line-height: 1.25;
	border-bottom: none;
	padding: 0;
	box-sizing: border-box;
}
.sx-pdp-secondary .mdc-show-meta__k,
.sx-pdp-secondary .mdc-show-coupon__label {
	flex: 0 0 var(--sanxio-pdp-meta-label-w);
	width: var(--sanxio-pdp-meta-label-w);
	min-width: var(--sanxio-pdp-meta-label-w);
	max-width: var(--sanxio-pdp-meta-label-w);
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
}
.sx-pdp-secondary .mdc-show-meta__v {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

/* 券：摘要一行，详情走 Sheet；右侧空白因内容左堆、> 未贴行尾 */
.sx-pdp-secondary .mdc-show-spec.mdc-show-spec--coupon.sx-coupon-entry {
	display: flex;
	align-items: center;
	width: 100%;
	height: var(--sanxio-pdp-row-h);
	min-height: var(--sanxio-pdp-row-h);
	padding: 0;
	gap: var(--sanxio-pdp-row-gap);
	border-bottom: none;
	box-sizing: border-box;
}
.sx-pdp-secondary .sx-coupon-entry__btn {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	padding: 0;
	gap: var(--sanxio-pdp-row-gap);
	justify-content: flex-start;
	align-items: center;
}
.sx-pdp-secondary .sx-coupon-entry__previews {
	flex: 1 1 auto;
	min-width: 0;
	gap: var(--sanxio-pdp-row-gap);
}
.sx-pdp-secondary .sx-coupon-entry__meta {
	flex: 0 0 auto;
	margin-left: auto; /* 张数贴右，与发货行通栏一致 */
	gap: 4px;
	overflow: visible;
	text-overflow: unset;
}
.sx-pdp-secondary .sx-coupon-entry__count {
	flex-shrink: 0;
}
.sx-pdp-secondary .sx-coupon-entry__chevron,
.sx-pdp-secondary .sx-coupon-entry__expand {
	flex: 0 0 auto;
	margin-left: 0;
}
.sx-pdp-secondary .mdc-show-coupon__label {
	font-weight: 600;
	color: var(--md-sys-color-primary, #1976d2);
}
/* 旧版 strip 在次要信息区：移动端同样显示展开钮 */
.sx-pdp-secondary .mdc-show-spec--coupon[data-sx-coupon-panel] {
	width: 100%;
	height: auto;
	min-height: var(--sanxio-pdp-row-h);
	align-items: flex-start;
	padding: 0;
	gap: var(--sanxio-pdp-row-gap);
	border-bottom: none;
	box-sizing: border-box;
}
.sx-pdp-secondary .mdc-show-spec--coupon[data-sx-coupon-panel] .mdc-show-coupon__card,
.sx-pdp-secondary .mdc-show-spec--coupon[data-sx-coupon-panel] .mdc-show-coupon__wrap {
	width: 100%;
}
.sx-pdp-secondary .mdc-show-coupon__toggle {
	min-height: 0 !important;
	min-width: 0 !important;
}

/* 发货+COD：强制单行，地区省略 */
.sx-pdp-secondary .mdc-show-meta li.mdc-show-meta__row--ship {
	height: var(--sanxio-pdp-row-h);
	min-height: var(--sanxio-pdp-row-h);
	max-height: var(--sanxio-pdp-row-h);
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	padding: 0;
	gap: var(--sanxio-pdp-row-gap);
}
.sx-pdp-secondary .mdc-show-meta__v--ship {
	flex: 1 1 auto;
	min-width: 0;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	text-align: left;
	gap: var(--sanxio-pdp-row-gap);
	overflow: hidden;
}
.sx-pdp-secondary .mdc-show-ship__area {
	display: block;
	flex: 1 1 auto;
	/* 压过 base.css 移动端 a,button{min-height/min-width:44px}，避免「发货」下假空白 */
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	max-width: 100%;
	margin: 0;
	padding: 0 !important;
	border: none;
	background: none;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--md-sys-color-on-surface-variant, #49454f);
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-break: normal;
	cursor: default;
}
.sx-pdp-secondary .mdc-show-ship__area.is-truncatable {
	cursor: pointer;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 2px;
}
.sx-pdp-secondary .mdc-show-ship__area.is-truncatable:hover {
	color: var(--md-sys-color-primary, #1976d2);
}
/* 点击展开完整地址（提高优先级，压过单行 32px 限制） */
.sx-pdp-secondary .mdc-show-meta li.mdc-show-meta__row--ship.is-ship-expanded {
	height: auto !important;
	min-height: var(--sanxio-pdp-row-h) !important;
	max-height: none !important;
	align-items: flex-start;
	padding-top: var(--sanxio-pdp-row-gap);
	padding-bottom: var(--sanxio-pdp-row-gap);
}
.sx-pdp-secondary .mdc-show-meta li.mdc-show-meta__row--ship.is-ship-expanded .mdc-show-meta__v--ship {
	flex-wrap: wrap !important;
	align-items: center;
	overflow: visible !important;
}
.sx-pdp-secondary .mdc-show-meta li.mdc-show-meta__row--ship.is-ship-expanded .mdc-show-ship__area {
	flex: 1 1 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: unset !important;
	word-break: break-word;
	height: auto !important;
}
.sx-pdp-secondary .mdc-show-ship__eta {
	flex: 0 0 auto;
	flex-shrink: 0;
	height: 22px;
	padding: 0 6px;
	font-size: 11px;
}
.sx-pdp-secondary .mdc-show-ship__eta--cod {
	flex-shrink: 0;
	background: color-mix(in srgb, var(--md-sys-color-primary, #1976d2) 12%, #fff);
	color: var(--md-sys-color-primary, #1976d2);
}

/*======= sanxio 移动端领券/发货：标题上、项目下 start ===========*/
@media (max-width: 767px) {
	.sx-pdp-secondary .mdc-show-spec.mdc-show-spec--coupon.sx-coupon-entry {
		flex-direction: column;
		align-items: stretch;
		height: auto;
		min-height: 0;
		/* 与 .sx-pdp-secondary 区块 gap 一致，避免「领券」到标签 / 标签到发货 一松一紧 */
		gap: var(--sanxio-pdp-row-gap, 8px);
		padding: 0;
	}
	.sx-pdp-secondary .mdc-show-coupon__label {
		flex: 0 0 auto;
		width: auto;
		min-width: 0;
		max-width: none;
		white-space: nowrap;
		overflow: visible;
		text-overflow: unset;
		line-height: 1.25;
	}
	.sx-pdp-secondary .sx-coupon-entry__btn {
		width: 100%;
		flex-wrap: nowrap;
		align-items: center;
		gap: var(--sanxio-pdp-row-gap, 8px);
		/* 压过 base 移动端 button min-height:44，否则标签行上下假空白不对称 */
		min-height: 0 !important;
		min-width: 0 !important;
		height: auto !important;
		padding: 0 !important;
	}
	.sx-pdp-secondary .sx-coupon-entry__previews {
		flex: 1 1 auto;
		flex-wrap: wrap;
		overflow: visible;
		max-width: 100%;
		align-items: center;
		gap: 6px;
	}
	.sx-pdp-secondary .sx-coupon-entry__meta {
		display: none !important;
		margin-left: 0;
	}
	.sx-pdp-secondary .sx-coupon-entry__expand {
		flex: 0 0 auto;
		margin-left: auto;
		align-self: center;
		/* 与 pill 同高，避免展开钮偏高造成标签行上下视觉空隙不均 */
		min-height: 0 !important;
		height: auto !important;
		padding: 3px 8px !important;
		line-height: 1.2;
		box-sizing: border-box;
	}
	.sx-pdp-secondary .sx-coupon-entry__expand .material-symbols-outlined {
		font-size: 16px;
		line-height: 1;
	}
	.sx-pdp-secondary .mdc-show-spec--coupon[data-sx-coupon-panel] {
		flex-direction: column;
		align-items: stretch;
	}
	.sx-pdp-secondary .mdc-show-meta li.mdc-show-meta__row--ship {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
		height: auto;
		min-height: 0;
		max-height: none;
		/* 与领券「标题→内容」同用 row-gap，避免 Coupons/Shipping 上下松紧不一 */
		gap: var(--sanxio-pdp-row-gap, 8px);
	}
	.sx-pdp-secondary .mdc-show-meta li.mdc-show-meta__row--ship .mdc-show-meta__k {
		flex: 0 0 auto;
		width: auto;
		min-width: 0;
		max-width: none;
		white-space: nowrap;
		overflow: visible;
		text-overflow: unset;
	}
	.sx-pdp-secondary .mdc-show-meta__v--ship {
		flex-wrap: wrap;
		width: 100%;
		overflow: visible;
	}
	.sx-pdp-secondary .mdc-show-ship__area {
		flex: 1 1 auto;
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
		word-break: break-word;
	}
}
/*======= sanxio 移动端领券/发货：标题上、项目下 end ===========*/

/*======= sanxio 信任条三列指标排版 start ===========*/
.sx-pdp-secondary .mdc-show-meta li.mdc-show-meta__row--trust {
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0;
	/* 与上行间距仅靠 meta gap=8；线上下各 8，避免再叠 margin */
	padding: var(--sanxio-pdp-row-gap) 0 0;
	border-top: 1px solid var(--md3-color-outline-variant, var(--md-sys-color-outline-variant, #cac4d0));
	overflow: visible;
}
.sx-pdp-secondary .mdc-show-meta__trust {
	display: flex;
	flex: 1 1 auto;
	width: 100%;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 0;
	min-height: 44px;
	overflow: visible;
	font-size: 12px;
	line-height: 1.25;
	color: var(--md3-color-on-surface-variant, var(--md-sys-color-on-surface-variant, #49454f));
}
.sx-pdp-secondary .mdc-show-meta__trust-item {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 0 var(--sanxio-pdp-row-gap);
	text-align: center;
	white-space: nowrap;
	box-sizing: border-box;
	position: relative;
}
.sx-pdp-secondary .mdc-show-meta__trust-item + .mdc-show-meta__trust-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	bottom: 8px;
	width: 1px;
	background: var(--md3-color-outline-variant, var(--md-sys-color-outline-variant, #cac4d0));
}
.sx-pdp-secondary .mdc-show-meta__trust-num {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--md3-color-on-surface, var(--md-sys-color-on-surface, #1c1b1f));
}
.sx-pdp-secondary .mdc-show-meta__trust-label {
	font-size: 11px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--md3-color-on-surface-variant, var(--md-sys-color-on-surface-variant, #49454f));
}
.sx-pdp-secondary .mdc-show-meta__trust-item--link {
	margin: 0;
	border: none;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
	border-radius: var(--md3-shape-small, 8px);
}
.sx-pdp-secondary .mdc-show-meta__trust-item--link .mdc-show-meta__trust-num {
	color: var(--md3-color-primary, var(--md-sys-color-primary, #1976d2));
}
.sx-pdp-secondary .mdc-show-meta__trust-item--link:hover .mdc-show-meta__trust-label,
.sx-pdp-secondary .mdc-show-meta__trust-item--link:focus-visible .mdc-show-meta__trust-label {
	color: var(--md3-color-primary, var(--md-sys-color-primary, #1976d2));
	text-decoration: underline;
}
.sx-pdp-secondary .mdc-show-meta__trust-item--link:focus-visible {
	outline: 2px solid var(--md3-color-primary, var(--md-sys-color-primary, #1976d2));
	outline-offset: 2px;
}
.sx-pdp-secondary .mdc-show-meta__trust-sep {
	display: none;
}
/*======= sanxio 信任条三列指标排版 end ===========*/
/*======= sanxio 发货/券/信任 移动端压密 start ===========*/
@media (max-width: 767px) {
	.sx-pdp-secondary {
		--sanxio-pdp-meta-label-w: 4.75em;
	}
	/* 发货：标题上 / 内容下（覆盖旧「强制单行」） */
	.sx-pdp-secondary .mdc-show-meta li.mdc-show-meta__row--ship {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		gap: var(--sanxio-pdp-row-gap, 8px) !important;
		padding: 0 !important;
	}
	.sx-pdp-secondary .mdc-show-meta li.mdc-show-meta__row--ship .mdc-show-meta__k {
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
	}
	.sx-pdp-secondary .mdc-show-meta__v--ship {
		flex-wrap: wrap !important;
		justify-content: flex-start;
		align-items: center;
		text-align: left;
		width: 100%;
		overflow: visible !important;
		gap: var(--sanxio-pdp-row-gap);
	}
	.sx-pdp-secondary .mdc-show-ship__area {
		flex: 1 1 auto;
		min-width: 0 !important;
		min-height: 0 !important;
		height: auto !important;
		max-width: 100%;
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: unset !important;
		word-break: break-word;
	}
	.sx-pdp-secondary .mdc-show-ship__eta,
	.sx-pdp-secondary .mdc-show-ship__eta--cod {
		flex: 0 0 auto;
		flex-shrink: 0;
	}
	.sx-pdp-secondary .sx-coupon-entry__pill {
		max-width: none;
	}
	.sx-pdp-secondary .sx-coupon-entry__meta {
		flex: 0 0 auto;
		margin-left: 0;
		overflow: visible;
		text-overflow: unset;
	}
	.sx-pdp-secondary .sx-coupon-entry__count {
		flex-shrink: 0;
	}
	.sx-pdp-secondary .sx-coupon-entry__expand {
		flex-shrink: 0;
		margin-left: auto;
	}
	.sx-pdp-secondary .mdc-show-spec--coupon[data-sx-coupon-panel].is-coupon-collapsed {
		height: var(--sanxio-pdp-row-h) !important;
		min-height: var(--sanxio-pdp-row-h) !important;
		max-height: var(--sanxio-pdp-row-h) !important;
		overflow: hidden;
	}
	.sx-pdp-secondary .mdc-show-spec--coupon[data-sx-coupon-panel].is-coupon-expanded {
		height: auto !important;
		min-height: var(--sanxio-pdp-row-h) !important;
		max-height: none !important;
		overflow: visible;
	}
	.sx-pdp-secondary .mdc-show-meta__trust-num {
		font-size: 14px;
	}
}
/*======= sanxio 发货/券/信任 移动端压密 end ===========*/
/*======= sanxio PDP 次要信息区压密 end ===========*/

/* ---- 自适应：少选项网格 ---- */
.sx-pdp-spec--grid .mdc-show-spec__scroll-wrap.sx-pdp-spec-grid-wrap {
	display: block;
	align-items: stretch;
	min-height: 0;
	position: relative;
}
.sx-pdp-spec--grid .mdc-show-spec__nav {
	display: none !important;
}
.sx-pdp-spec--grid .mdc-show-spec__fakebar {
	display: none !important;
}
.sx-pdp-spec--grid .sx-pdp-spec-grid,
.sx-pdp-buy-panel .sx-pdp-spec--grid .mdc-show-spec__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	overflow: visible;
	align-items: stretch;
	padding: 0;
}
.sx-pdp-spec--grid .mdc-show-chip {
	flex: 0 1 auto;
	max-width: 100%;
	position: relative;
	z-index: 1;
}
.sx-pdp-spec--grid .mdc-show-chip .sx-chip-label {
	display: inline-block;
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
}
/* 网格内售空：mask 参与流式布局，禁止 absolute 叠层 */
.sx-pdp-spec--grid .mdc-show-chip.is-sold-out:not(.mdc-show-chip--thumb):not(:has(.sx-chip-thumb)) .sx-chip-sold-out-mask {
	position: static !important;
	inset: auto !important;
}
/* Sheet/网格内售空：始终灰不可用（含选中） */
.sx-pdp-buy-panel .mdc-show-chip.is-sold-out,
.sx-pdp-buy-panel .mdc-show-chip.is-sold-out.is-selected,
#sx-pdp-sheet .mdc-show-chip.is-sold-out,
#sx-pdp-sheet .mdc-show-chip.is-sold-out.is-selected {
	background: #e8eaed !important;
	border-color: #dadce0 !important;
	color: #5f6368 !important;
	box-shadow: none !important;
	cursor: not-allowed !important;
	opacity: 0.72;
	pointer-events: none;
}

/* ---- 决策区规格：可搜索维「左标题右下拉」；网格维仍标题上/选项下 ---- */
.sx-pdp-buy-panel .mdc-show-spec:not(.mdc-show-spec--coupon) {
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	height: auto;
	min-height: 0;
	gap: 4px;
	padding: 0;
	margin: 0;
	border-bottom: none;
}
.sx-pdp-buy-panel .mdc-show-spec.sx-pdp-spec--search:not(.mdc-show-spec--coupon) {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 8px;
	row-gap: 6px;
}
.sx-pdp-buy-panel .mdc-show-spec__label {
	flex: 0 0 auto;
	min-width: 0;
	width: auto;
	max-width: none;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	/* 与领券标题同级主色高亮，规格维名更醒目 */
	color: var(--md3-color-primary, var(--md-sys-color-primary, #1976d2));
	letter-spacing: 0.02em;
}
.sx-pdp-buy-panel .sx-pdp-spec--search > .mdc-show-spec__label {
	grid-column: 1;
	align-self: center;
	min-width: 3.25em;
	max-width: 5.5em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sx-pdp-buy-panel .mdc-show-spec__card,
.sx-pdp-buy-panel .sx-pdp-spec-search {
	width: 100%;
	flex: 0 0 auto;
	margin: 0;
}
.sx-pdp-buy-panel .sx-pdp-spec--search > .sx-pdp-spec-search {
	grid-column: 2;
	width: 100%;
	min-width: 0;
}
.sx-pdp-buy-panel .sx-pdp-spec--search > .sx-pdp-spec-search.is-open {
	/* 展开后占满整行，列表更好扫 */
	grid-column: 1 / -1;
}
.sx-pdp-buy-panel .sx-pdp-spec--search > .mdc-show-spec__card {
	grid-column: 1 / -1;
}
.sx-pdp-buy-panel .sx-pdp-spec-search__trigger {
	min-height: 32px;
	padding: 4px 10px;
	font-size: 13px;
}
.sx-pdp-buy-panel .mdc-show-buy {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sx-pdp-stack-gap, 8px);
}
.sx-pdp-buy-panel .mdc-show-buy .mdc-show-qty,
.sx-pdp-buy-panel .mdc-show-buy .mdc-show-actions {
	margin: 0;
	margin-bottom: 0;
}
.sx-pdp-buy-panel .mdc-show-qty {
	display: flex;
	flex-direction: column;
	align-items: stretch; /* 覆盖 mall-show 的 center，避免快捷行居中 */
	gap: 6px;
	width: 100%;
}
.sx-pdp-buy-panel .mdc-show-qty__row {
	margin: 0;
	gap: 6px;
	/* Qty | 合计 | 步进器 */
	justify-content: flex-start;
	align-items: center;
	flex-wrap: nowrap;
}
.sx-pdp-buy-panel .mdc-show-qty__label {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--md3-color-primary, var(--md-sys-color-primary, #1976d2));
	letter-spacing: 0.02em;
}
/* Sheet/选购区数量器压矮（覆盖 mall-show 36px + 移动端 button min-height:44） */
.sx-pdp-buy-panel .mdc-show-qty__ctrl {
	flex: 0 0 auto;
	margin-left: auto;
	min-height: 28px;
	height: 28px;
}
.sx-pdp-buy-panel .mdc-show-qty__row > .sx-pdp-subtotal {
	flex: 1 1 auto;
}
.sx-pdp-buy-panel .mdc-show-qty__ctrl button {
	width: 28px;
	height: 28px;
	min-height: 0 !important;
	min-width: 0 !important;
	font-size: 16px;
	line-height: 1;
	padding: 0 !important;
}
.sx-pdp-buy-panel .mdc-show-qty__ctrl input {
	width: 36px;
	height: 28px;
	min-height: 0 !important;
	font-size: 13px;
	line-height: 28px;
	padding: 0;
}
.sx-pdp-buy-panel .mdc-show-actions {
	gap: 8px;
}
.sx-pdp-buy-panel .sx-pdp-qty-meta {
	margin-top: 0;
}
.sx-pdp-buy-panel .sx-pdp-qty-extra {
	gap: 6px;
}
.sx-pdp-buy-panel .sx-pdp-qty-extra .md3-btn--sm {
	min-height: 28px;
	padding: 0 10px;
	font-size: 12px;
}
.sx-pdp-buy-panel .sx-qty-stock-warn {
	margin: 0;
}

/* ---- 自适应：多选项可搜索列表 ---- */
.sx-pdp-spec--search .mdc-show-spec__card {
	display: none;
}
.sx-pdp-spec--search .sx-pdp-spec-chips-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}
.sx-pdp-spec-search {
	position: relative;
	width: 100%;
	margin-top: 0;
}
.sx-pdp-spec-search__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--md-sys-color-outline-variant, #e7e0ec);
	border-radius: var(--md-sys-shape-corner-small, 8px);
	background: var(--md-sys-color-surface, #fff);
	color: var(--md-sys-color-on-surface, #1c1b1f);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	text-align: left;
}
.sx-pdp-spec-search.is-open .sx-pdp-spec-search__trigger {
	border-color: var(--md-sys-color-primary, #1976d2);
}
.sx-pdp-spec-search__trigger-thumb {
	width: 28px;
	height: 28px;
	border-radius: 4px;
	object-fit: cover;
	flex-shrink: 0;
	background: var(--md-sys-color-surface-container-high, #ece6f0);
}
.sx-pdp-spec-search__trigger-text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sx-pdp-spec-search__drop {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	z-index: 40;
	display: flex;
	flex-direction: column;
	max-height: min(280px, 50vh);
	padding: 10px;
	gap: 8px;
	border: 1px solid var(--md-sys-color-outline-variant, #e7e0ec);
	border-radius: var(--md-sys-shape-corner-medium, 12px);
	background: var(--md-sys-color-surface, #fff);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}
.sx-pdp-spec-search__drop[hidden] {
	display: none !important;
}
/* 搜索框：左侧图标 + 填充底 + focus 描边 */
.sx-pdp-spec-search__field {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-height: 40px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid transparent;
	border-radius: var(--md-sys-shape-corner-medium, 12px);
	background: var(--md-sys-color-surface-container-high, #ece6f0);
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.sx-pdp-spec-search__field:hover {
	background: var(--md-sys-color-surface-container-highest, #e6e0e9);
}
.sx-pdp-spec-search__field:focus-within {
	border-color: var(--md-sys-color-primary, #1976d2);
	background: var(--md-sys-color-surface, #fff);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--md-sys-color-primary, #1976d2) 22%, transparent);
}
.sx-pdp-spec-search__icon {
	flex: 0 0 auto;
	font-size: 20px;
	line-height: 1;
	color: var(--md-sys-color-on-surface-variant, #49454f);
	user-select: none;
}
.sx-pdp-spec-search__field:focus-within .sx-pdp-spec-search__icon {
	color: var(--md-sys-color-primary, #1976d2);
}
.sx-pdp-spec-search__input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 8px 0;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	box-sizing: border-box;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--md-sys-color-on-surface, #1c1b1f);
	-webkit-appearance: none;
	appearance: none;
}
.sx-pdp-spec-search__input::placeholder {
	color: var(--md-sys-color-on-surface-variant, #49454f);
	opacity: 0.72;
	font-weight: 400;
}
.sx-pdp-spec-search__input::-webkit-search-decoration,
.sx-pdp-spec-search__input::-webkit-search-cancel-button,
.sx-pdp-spec-search__input::-webkit-search-results-button,
.sx-pdp-spec-search__input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
}
.sx-pdp-spec-search__list {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-height: 0;
	padding: 2px 0 0;
	border-top: 1px solid var(--md-sys-color-outline-variant, #e7e0ec);
	margin: 0 -2px;
	padding-left: 2px;
	padding-right: 2px;
}
.sx-pdp-spec-search__opt[hidden],
.sx-pdp-spec-search__opt.is-filter-miss {
	display: none !important;
}
.sx-pdp-spec-search__opt {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 9px 10px;
	border: none;
	border-radius: var(--md-sys-shape-corner-small, 8px);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 14px;
	text-align: left;
	cursor: pointer;
}
.sx-pdp-spec-search__opt:hover {
	background: var(--md-sys-color-surface-container, #f5f9ff);
}
.sx-pdp-spec-search__opt.is-selected {
	background: var(--md-sys-color-primary-container, #c2e7ff);
	font-weight: 600;
}
/* 无库存：整行灰色 + 售空标，仍可选（加购禁用兜底） */
.sx-pdp-spec-search__opt.is-sold-out {
	color: var(--md-sys-color-on-surface-variant, #79747e);
	opacity: 0.72;
}
.sx-pdp-spec-search__opt.is-sold-out .sx-pdp-spec-search__opt-text {
	color: var(--md-sys-color-on-surface-variant, #79747e);
}
.sx-pdp-spec-search__opt.is-sold-out .sx-pdp-spec-search__thumb {
	filter: grayscale(1);
	opacity: 0.75;
}
.sx-pdp-spec-search__opt.is-sold-out:hover {
	background: var(--md-sys-color-surface-container-low, #f7f2fa);
}
.sx-pdp-spec-search__opt.is-sold-out.is-selected {
	background: color-mix(in srgb, var(--md-sys-color-surface-container-high, #ece6f0) 85%, var(--md-sys-color-error-container, #f9dedc));
	font-weight: 600;
}
.sx-pdp-spec-search__opt.is-sold-out .sx-pdp-spec-search__sold {
	display: inline;
}
.sx-pdp-spec-search__sold {
	display: none;
	margin-left: auto;
	font-size: 12px;
	font-weight: 700;
	color: #c5221f;
	flex-shrink: 0;
}
.sx-pdp-spec-search__thumb {
	width: 28px;
	height: 28px;
	border-radius: 4px;
	object-fit: cover;
	flex-shrink: 0;
}
.sx-pdp-spec-search__opt-text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Sheet */
.sx-pdp-sheet {
	position: fixed;
	inset: 0;
	z-index: 9200;
	display: none;
}
.sx-pdp-sheet.is-open,
.sx-pdp-sheet:not([hidden]) {
	display: block;
}
.sx-pdp-sheet[hidden] {
	display: none !important;
}
.sx-pdp-sheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
}
.sx-pdp-sheet__panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: min(88vh, 720px);
	display: flex;
	flex-direction: column;
	background: var(--md-sys-color-surface, #fff);
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
	padding-bottom: env(safe-area-inset-bottom, 0);
}
.sx-pdp-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 12px;
	border-bottom: 1px solid var(--md-sys-color-outline-variant, #e7e0ec);
}
.sx-pdp-sheet__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--md-sys-color-on-surface, #1c1b1f);
}
/* 关闭钮：与领券 Sheet 同源 MD3 圆形 */
.sx-pdp-sheet__close {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--md-sys-color-surface-container-high, #ece6f0);
	color: var(--md-sys-color-on-surface-variant, #49454f);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .18s ease, color .18s ease, transform .12s ease;
}
.sx-pdp-sheet__close .material-symbols-outlined {
	font-size: 20px;
	line-height: 1;
}
.sx-pdp-sheet__close:hover {
	background: var(--md-sys-color-surface-container-highest, #e6e0e9);
	color: var(--md-sys-color-on-surface, #1c1b1f);
}
.sx-pdp-sheet__close:active {
	transform: scale(0.94);
}
.sx-pdp-sheet__close:focus-visible {
	outline: 2px solid var(--md-sys-color-primary, #1976d2);
	outline-offset: 2px;
}
.sx-pdp-sheet__body {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 12px 12px 20px;
}
.sx-pdp-sheet__body .sx-pdp-buy-panel {
	border: none;
	background: transparent;
	padding: 0;
}
body.sx-pdp-sheet-open {
	overflow: hidden;
}

/* 底栏中区已并入 CTA，默认隐藏 */
.mdc-mall-show-bottom-add__mid {
	display: none !important;
}
@media (max-width: 1024px) {
	.mdc-mall-show-bottom-add__right {
		flex: 1 1 auto;
		min-width: 0;
	}
	/* 底栏单 CTA：单价·购买 合并开抽屉；售空时仍占满右侧成灰胶囊 */
	.mdc-mall-show-bottom-add__right .sx-pdp-bar-cta {
		flex: 1 1 auto;
		min-width: 0;
		width: 100%;
		height: 40px !important;
		min-height: 40px !important;
		justify-content: center;
		align-items: center;
		gap: 6px;
		padding: 0 16px;
	}
	.mdc-mall-show-bottom-add__right .sx-pdp-bar-cta:disabled,
	.mdc-mall-show-bottom-add__right .sx-pdp-bar-cta.is-disabled,
	.mdc-mall-show-bottom-add__right .sx-pdp-bar-cta.is-sold-out {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
		opacity: 1 !important;
	}
	.sx-pdp-bar-cta__price {
		font-size: 15px;
		font-weight: 700;
		line-height: 1.1;
		letter-spacing: -0.02em;
		color: inherit;
		max-width: 46%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.sx-pdp-bar-cta__price[hidden],
	.sx-pdp-bar-cta__sep[hidden] {
		display: none !important;
	}
	.sx-pdp-bar-cta__sep {
		opacity: 0.75;
		font-weight: 600;
	}
	.mdc-mall-show-bottom-add__right .sx-pdp-bar-cta .mdc-mall-show-bottom-add__label {
		font-size: 14px;
		font-weight: 700;
		flex-shrink: 0;
	}

	/* ≤520：收起左栏文案；CTA 压矮，把宽度留给价格/选规格芯片 */
	@media (max-width: 520px) {
		body:has(.mdc-show-page) {
			--sx-mall-show-bottom: 52px;
		}
		.mdc-mall-show-bottom-add {
			gap: 6px;
			padding-top: 6px;
			padding-bottom: calc(6px + var(--sx-mall-show-bottom-safe, 0px));
			padding-left: max(8px, env(safe-area-inset-left, 0px));
			padding-right: max(8px, env(safe-area-inset-right, 0px));
			min-height: calc(var(--sx-mall-show-bottom, 52px) + var(--sx-mall-show-bottom-safe, 0px));
		}
		.mdc-mall-show-bottom-add__btn--icon,
		.mdc-mall-show-bottom-add a.mdc-mall-show-bottom-add__btn--icon {
			min-width: 36px;
			max-width: 42px;
			padding: 0 2px;
		}
		.mdc-mall-show-bottom-add__btn--icon .mdc-mall-show-bottom-add__label {
			display: none;
		}
		.mdc-mall-show-bottom-add__right .sx-pdp-bar-cta {
			height: 36px !important;
			min-height: 36px !important;
			padding: 0 12px;
			gap: 5px;
		}
		.sx-pdp-bar-cta__price {
			font-size: 14px;
		}
		.mdc-mall-show-bottom-add__right .sx-pdp-bar-cta .mdc-mall-show-bottom-add__label {
			font-size: 13px;
			font-weight: 700;
		}
	}

	@media (max-width: 400px) {
		body:has(.mdc-show-page) {
			--sx-mall-show-bottom: 50px;
			--sx-mall-fab-size: 40px;
			--sx-mall-fab-gap: 20px;
		}
		.mdc-mall-show-bottom-add {
			flex-wrap: nowrap;
			align-items: center;
			gap: 4px;
			padding-top: 5px;
			padding-bottom: calc(5px + var(--sx-mall-show-bottom-safe, 0px));
			min-height: calc(var(--sx-mall-show-bottom, 50px) + var(--sx-mall-show-bottom-safe, 0px));
		}
		.mdc-mall-show-bottom-add__left {
			flex: 0 0 auto;
			gap: 0;
		}
		.mdc-mall-show-bottom-add__right {
			flex: 1 1 auto;
			min-width: 0;
		}
		.mdc-mall-show-bottom-add__right .sx-pdp-bar-cta {
			height: 36px !important;
			min-height: 36px !important;
			padding: 0 10px;
			gap: 4px;
		}
		.sx-pdp-bar-cta__price {
			font-size: 13px;
			max-width: 50%;
		}
		.mdc-mall-show-bottom-add__right .sx-pdp-bar-cta .mdc-mall-show-bottom-add__label {
			font-size: 13px;
		}
	}
}

@media (min-width: 1025px) {
	.sx-pdp-sheet {
		display: none !important;
	}
	.sx-pdp-summary__action {
		display: none;
	}
}

/*======= sanxio 移动端规格：页内摘要 + 底部 Sheet start ===========*/
@media (max-width: 1024px) {
	/* 有规格时：页内只留摘要行，规格/数量/购买进 Sheet */
	body:has(.mdc-show-page) #sx-pdp-buy-slot .sx-pdp-buy-panel:has(> .sx-pdp-summary) {
		padding: 0;
		border: none;
		background: transparent;
		gap: 0;
	}
	body:has(.mdc-show-page) #sx-pdp-buy-slot .sx-pdp-buy-panel:has(> .sx-pdp-summary) > .mdc-show-spec:not(.mdc-show-spec--coupon),
	body:has(.mdc-show-page) #sx-pdp-buy-slot .sx-pdp-buy-panel:has(> .sx-pdp-summary) > .mdc-show-buy {
		display: none !important;
	}
	body:has(.mdc-show-page) #sx-pdp-buy-slot .sx-pdp-summary {
		width: 100%;
		box-sizing: border-box;
		align-items: center;
		flex-wrap: nowrap;
		gap: 8px;
		padding: 10px 12px;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	body:has(.mdc-show-page) #sx-pdp-buy-slot .sx-pdp-summary__text {
		flex: 1 1 auto;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	body:has(.mdc-show-page) #sx-pdp-buy-slot .sx-pdp-summary__meta {
		flex: 0 1 auto;
		min-width: 0;
		max-width: 42%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	body:has(.mdc-show-page) #sx-pdp-buy-slot .sx-pdp-summary__action {
		flex: 0 0 auto;
		margin-left: 0;
	}
	/* Sheet 内：隐藏摘要，展示完整选购 */
	#sx-pdp-sheet .sx-pdp-summary {
		display: none !important;
	}
	#sx-pdp-sheet .sx-pdp-buy-panel {
		padding: 0;
		border: none;
		background: transparent;
	}
	#sx-pdp-sheet .sx-pdp-buy-panel > .mdc-show-spec:not(.mdc-show-spec--coupon) {
		display: flex;
	}
	#sx-pdp-sheet .sx-pdp-buy-panel > .mdc-show-spec.sx-pdp-spec--search:not(.mdc-show-spec--coupon) {
		display: grid;
	}
	/* Sheet 内多规格：默认只显示触发条；点开后再展开搜索+列表（与页内下拉一致） */
	#sx-pdp-sheet .sx-pdp-spec-search.is-open .sx-pdp-spec-search__drop {
		position: static;
		left: auto;
		right: auto;
		top: auto;
		max-height: min(42vh, 360px);
		margin-top: 8px;
		box-shadow: none;
	}
	#sx-pdp-sheet .sx-pdp-spec-search {
		overflow: visible;
	}
	#sx-pdp-sheet .sx-pdp-buy-panel > .mdc-show-buy {
		display: flex;
		flex-direction: column;
	}
	#sx-pdp-sheet .sx-pdp-qty-extra {
		display: flex !important;
	}
	/* Sheet 内恢复购买按钮（页内被底栏替代而隐藏） */
	body:has(.mdc-show-page) #sx-pdp-sheet .mdc-show-buy .mdc-show-actions {
		display: flex !important;
		position: sticky;
		bottom: 0;
		z-index: 2;
		gap: 8px;
		margin-top: 8px;
		padding: 10px 0 calc(8px + env(safe-area-inset-bottom, 0px));
		background: linear-gradient(180deg, transparent, var(--md-sys-color-surface, #fff) 28%);
	}
	body:has(.mdc-show-page) #sx-pdp-sheet .mdc-show-buy .mdc-show-actions .md3-btn {
		flex: 1 1 0;
		min-width: 0;
	}
	/* 无规格商品：页内仍可调数量，仅收起快捷档 */
	body:has(.mdc-show-page) #sx-pdp-buy-slot .sx-pdp-buy-panel:not(:has(> .sx-pdp-summary)) .sx-pdp-qty-extra {
		display: none !important;
	}
}
@media (max-width: 767px) {
	body:has(.mdc-show-page) #sx-pdp-buy-slot .sx-pdp-buy-panel:not(:has(> .sx-pdp-summary)) {
		padding: 6px 8px;
	}
}
/*======= sanxio 移动端规格：页内摘要 + 底部 Sheet end ===========*/
/*======= sanxio PDP buy panel end ===========*/
