@charset "utf-8";
/* ============================================================================
 * 商家频道共用皮肤（merchants_channel.css）—— 2026-11 重设计版
 * Merchant channel shared skin (redesign 2026-11)
 * 深圳市爱租网络有限公司2016-2026
 * Shenzhen iZucn Network Co.,Ltd. 2016-2026
 * ============================================================================
 * 适用页面（两份作用域互不重叠，可同文件挂载）：
 *   1. merchants.dwt        —— 我要开店 / 入驻介绍页（body.merchants-page）
 *   2. merchants_index.dwt  —— 商家频道首页 / 店铺首页（body.store-channel-page）
 * 说明：
 *   1. 全部选择器限定在 body.merchants-page / body.store-channel-page 内，
 *      不影响其它频道页；
 *   2. 颜色引用主题变量并保留兜底值，兼容多站点主题配色机制；
 *   3. 间距与对齐一律用 inline-start / inline-end / inset-inline 逻辑属性，
 *      RTL（阿拉伯语等）站点自动镜像，不写 left/right 分支；
 *   4. 设计语言对齐 brand_channel.css / cms_new.css：
 *      深海军蓝 + 促销金 + 16px 卡片 + 1px 描边；
 *   5. 自适应六档，断点与 cms_new.css 对齐：
 *      1659 / 1219 / 1023 / 768 / 520 / 400（max-width 逐档收敛）；
 *   6. style.css 里 .sett-* / .shop-* / .header-settled / .g-d-store-info
 *      的旧样式全部在本文件内覆盖，旧文件不改动，整文件移除即可回滚；
 *   7. 功能零改动：不动 DOM 结构、不动 id/class 钩子、不动 JS 行为；
 *      空态一律用 CSS（:empty / :has）收敛，不往模板里塞假内容。
 * ==========================================================================*/

/* ============================================================================
 * 〇、设计 token
 * ==========================================================================*/
body.merchants-page,
body.store-channel-page {
	--mc-brand: var(--color-primary, #232f3e);
	--mc-brand-deep: #16212c;
	--mc-brand-soft: #2c3b4f;
	--mc-accent: var(--color-promo, #febd69);
	--mc-accent-deep: #f0a63c;
	--mc-ink: #101828;
	--mc-ink-2: #344054;
	--mc-body: #475467;
	--mc-mute: #7b8794;
	--mc-line: #eaedf2;
	--mc-line-2: #f2f4f7;
	--mc-card: #ffffff;
	--mc-surface: #f4f6f9;
	--mc-surface-2: #eef1f6;
	--mc-price: var(--color-price, #2f2f34);
	--mc-radius: 16px;
	--mc-radius-sm: 10px;
	--mc-gap: 20px;
	--mc-ease: cubic-bezier(.22, .61, .36, 1);
	background: var(--mc-surface);
	color: var(--mc-body);
}

/* ============================================================================
 * 一、我要开店 / 入驻介绍页（merchants.dwt → body.merchants-page）
 * ==========================================================================*/

/* --- 1.1 页头：logo + 标题 + 药丸导航 + 电话 --------------------------------- */
body.merchants-page .header.header-settled {
	background: var(--mc-card);
	border-bottom: 1px solid var(--mc-line);
}

body.merchants-page .header.header-settled > .w {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 92px;
}

body.merchants-page .header-settled .logo {
	float: none;
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

body.merchants-page .header-settled .logoImg {
	float: none;
	margin: 0;
}

/* base.css 把 logo 链接写成 table-cell + height:100px，会把整条页头撑到 100px，
   这里收成图片实际高度，避免 logo 与标题错位 */
body.merchants-page .header-settled .logoImg a {
	display: flex;
	align-items: center;
	height: auto;
}

body.merchants-page .header-settled .logoImg img {
	display: block;
	width: auto;
	max-height: 46px;
}

body.merchants-page .header-settled .logo .tit {
	float: none;
	height: auto;
	margin: 0;
	padding: 0;
	padding-inline-start: 14px;
	border: 0;
	border-inline-start: 1px solid var(--mc-line);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mc-ink-2);
	white-space: nowrap;
}

body.merchants-page .settled-header-right {
	float: none;
	display: flex;
	align-items: center;
	gap: 20px;
	height: auto;
	line-height: normal;
	padding: 0;
	min-width: 0;
}

body.merchants-page .settled-header-right .settled-nav {
	float: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin: 0;
}

body.merchants-page .settled-header-right .settled-nav li {
	float: none;
	margin: 0;
}

body.merchants-page .settled-header-right .settled-nav a {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding-inline: 16px;
	border-radius: 999px;
	font-size: 15px;
	color: var(--mc-body);
	transition: color .2s var(--mc-ease), background-color .2s var(--mc-ease);
}

body.merchants-page .settled-header-right .settled-nav a:hover,
body.merchants-page .settled-header-right .settled-nav li.curr a {
	background: rgba(35, 47, 62, .06);
	color: var(--mc-brand);
	font-weight: 600;
}

body.merchants-page .settled-header-right .tel {
	float: none;
	font-size: 20px;
	font-weight: 700;
	color: var(--mc-brand);
	white-space: nowrap;
}

/* 后台未填客服电话时不占位 */
body.merchants-page .settled-header-right .tel:empty {
	display: none;
}

/* --- 1.2 Hero：第一个区块整体做成深蓝渐变头图 -------------------------------- */
body.merchants-page .settled-container {
	padding: 0;
}

/* 注意：必须比 1.4 的 .sett-section 白底高一档特异性，否则渐变被盖回白色 */
body.merchants-page .sett-section.s-section-step {
	position: relative;
	overflow: hidden;
	padding-block: 64px 58px;
	background:
		radial-gradient(680px 320px at 84% -10%, rgba(254, 189, 105, .20), transparent 66%),
		radial-gradient(520px 320px at 6% 108%, rgba(254, 189, 105, .10), transparent 70%),
		linear-gradient(135deg, var(--mc-brand-deep) 0%, var(--mc-brand) 56%, var(--mc-brand-soft) 100%);
}

body.merchants-page .s-section-step > .w {
	position: relative;
	z-index: 1;
}

body.merchants-page .s-section-step .sett-title {
	width: auto;
	max-width: 680px;
	margin: 0 auto 46px;
}

body.merchants-page .s-section-step .sett-title .zw-tit {
	background: transparent;
}

body.merchants-page .s-section-step .sett-title .zw-tit h3 {
	position: relative;
	display: inline-block;
	padding: 0;
	padding-inline-start: 18px;
	background: transparent;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

body.merchants-page .s-section-step .sett-title .zw-tit h3::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: .8em;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--mc-accent), var(--mc-accent-deep));
}

body.merchants-page .s-section-step .sett-title .zw-tit .line {
	display: none;
}

body.merchants-page .s-section-step .sett-title .yw-tit {
	display: block;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .18em;
	color: rgba(255, 255, 255, .48);
	text-transform: uppercase;
}

/* --- 1.3 四步流程：flex 均分 + 金色 squircle 图标 ---------------------------- */
body.merchants-page .s-section-step .sett-warp {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: visible;
}

body.merchants-page .s-section-step .item {
	float: none;
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	padding-inline: 10px;
	text-align: center;
}

body.merchants-page .s-section-step .item-i {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 82px;
	border: 0;
	border-radius: 26px;
	background: linear-gradient(160deg, var(--mc-accent) 0%, var(--mc-accent-deep) 100%);
	box-shadow: 0 12px 26px -12px rgba(240, 166, 60, .6);
	transition: transform .32s var(--mc-ease), box-shadow .32s var(--mc-ease);
}

body.merchants-page .s-section-step .item-i::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: inherit;
	pointer-events: none;
}

body.merchants-page .s-section-step .item-i i {
	display: block;
	margin-top: 0;
	background-image: url(../images/man-icon.png);
	background-repeat: no-repeat;
}

body.merchants-page .s-section-step .item .tit {
	margin: 22px 0 10px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff;
}

body.merchants-page .s-section-step .item span {
	display: block;
	font-size: 13px;
	line-height: 1.85;
	color: rgba(255, 255, 255, .64);
}

body.merchants-page .s-section-step .item span + span {
	margin-top: 2px;
}

body.merchants-page .s-section-step .item:hover .item-i {
	margin-left: 0;
	transform: translateY(-5px);
	box-shadow: 0 18px 34px -14px rgba(240, 166, 60, .72);
}

body.merchants-page .s-section-step .item-jt {
	float: none;
	align-self: flex-start;
	flex: 0 0 52px;
	width: 52px;
	height: 23px;
	margin: 30px 0 0;
	background-image: url(../images/man-icon.png);
	background-position: -122px -48px;
	background-repeat: no-repeat;
	opacity: .42;
}

html[dir="rtl"] body.merchants-page .s-section-step .item-jt,
html[dir="rtl"] .merchants-page .s-section-step .item-jt {
	transform: scaleX(-1);
}

/* --- 1.4 区块标题：金色渐隐横线 + 大写副标 ---------------------------------- */
body.merchants-page .sett-section {
	background: var(--mc-card);
}

body.merchants-page .sett-title {
	width: auto;
	max-width: 460px;
	margin: 58px auto 38px;
	text-align: center;
}

body.merchants-page .sett-title .zw-tit {
	background-color: transparent;
	font-size: 26px;
	line-height: 1.35;
}

body.merchants-page .sett-title .zw-tit h3 {
	display: inline-block;
	padding: 0 26px;
	background-color: var(--mc-card);
	font-size: 26px;
	font-weight: 700;
	color: var(--mc-ink);
}

body.merchants-page .sett-title .zw-tit .line {
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(240, 166, 60, .55), transparent);
}

body.merchants-page .sett-title .yw-tit {
	display: block;
	margin-top: 8px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .16em;
	color: var(--mc-mute);
	text-transform: uppercase;
}

body.merchants-page .s-section-case {
	background: var(--mc-surface-2);
}

body.merchants-page .s-section-case .sett-title .zw-tit h3 {
	background-color: var(--mc-surface-2);
}

/* --- 1.5 空态：广告位未配置时整块收起，不输出“只有标题”的空区块 ------------ */
/* :empty 不匹配含空白文本节点的容器；:has() 不能再嵌套在 :has() 内，
   所以拆成“有容器且容器无子元素”两段判断 */
body.merchants-page .sett-section:has(.sett-warp):not(:has(.sett-warp > *)) {
	display: none;
}

/* --- 1.6 常见问题：两列卡片，去掉 float 造成的 RTL 错位 ----------------------- */
body.merchants-page .s-section-help {
	padding-bottom: 88px;
}

body.merchants-page .s-section-help .sett-warp {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	overflow: visible;
}

body.merchants-page .s-section-help .item,
body.merchants-page .s-section-help .item-left {
	float: none;
	width: auto;
	margin: 0;
}

body.merchants-page .s-section-help .item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 24px 22px;
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-radius);
	background: var(--mc-card);
	transition: border-color .24s var(--mc-ease), background-color .24s var(--mc-ease);
}

body.merchants-page .s-section-help .item:hover {
	border-color: rgba(240, 166, 60, .55);
	background: #fffdf8;
}

body.merchants-page .s-section-help .item .number {
	float: none;
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: linear-gradient(160deg, rgba(254, 189, 105, .3), rgba(254, 189, 105, .08));
	box-shadow: none;
	font-size: 18px;
	font-weight: 700;
	line-height: 54px;
	color: var(--mc-brand);
	text-align: center;
}

body.merchants-page .s-section-help .item .info {
	float: none;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin: 0;
}

body.merchants-page .s-section-help .item .info .name {
	width: auto;
	transition: none;
}

body.merchants-page .s-section-help .item .info:hover .name {
	margin: 0;
}

body.merchants-page .s-section-help .item .info .tit a {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--mc-ink);
	transition: color .2s var(--mc-ease);
}

body.merchants-page .s-section-help .item .info .tit a:hover {
	color: var(--mc-brand);
}

body.merchants-page .s-section-help .item .info .desc {
	height: auto;
	max-height: 3.7em;
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.85;
	color: var(--mc-mute);
	overflow: hidden;
}

/* --- 1.7 类目 / 案例区：后台配置广告位后生效，float 改弹性网格 --------------- */
body.merchants-page .s-section-cate .sett-warp {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	padding-bottom: 24px;
	overflow: visible;
}

body.merchants-page .s-section-cate .item,
body.merchants-page .s-section-cate .item.last {
	float: none;
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1 1 240px;
	width: auto;
	max-width: 360px;
	margin: 0;
	padding: 18px 16px;
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-radius);
	background: var(--mc-card);
	transition: border-color .24s var(--mc-ease), transform .24s var(--mc-ease);
}

body.merchants-page .s-section-cate .item:hover {
	border-color: rgba(240, 166, 60, .5);
	transform: translateY(-2px);
}

body.merchants-page .s-section-cate .item i {
	float: none;
	flex: 0 0 auto;
	width: 98px;
	height: 85px;
	background-image: url(../images/sett-cate-icon.png);
	background-repeat: no-repeat;
}

body.merchants-page .s-section-cate .item span {
	font-size: 14px;
	line-height: 1.65;
	color: var(--mc-ink-2);
}

body.merchants-page .s-section-case .sett-warp {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	padding-bottom: 40px;
	overflow: visible;
}

body.merchants-page .s-section-case .item,
body.merchants-page .s-section-case .item:last-child {
	float: none;
	width: auto;
	margin: 0;
	text-align: center;
}

body.merchants-page .s-section-case .item .item-top {
	width: 100%;
	height: auto;
	aspect-ratio: 282 / 200;
	border-radius: var(--mc-radius-sm);
	overflow: hidden;
}

body.merchants-page .s-section-case .item .item-top a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body.merchants-page .s-section-case .item .item-top img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
}

body.merchants-page .s-section-case .item .tit {
	margin-top: 14px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--mc-ink);
}

body.merchants-page .s-section-case .item .desc {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--mc-mute);
}

/* ============================================================================
 * 二、商家频道首页 / 店铺首页（merchants_index.dwt → body.store-channel-page）
 * ==========================================================================*/

/* --- 2.1 店铺条：40px 绝对定位条 → 自适应 flex 条 ---------------------------- */
body.store-channel-page .shop-header {
	background: transparent;
}

body.store-channel-page .shop-header .top {
	height: auto;
	background: var(--mc-card);
	border-bottom: 1px solid var(--mc-line);
}

body.store-channel-page .shop-header .top > .w {
	display: flex;
	align-items: center;
	min-height: 58px;
	padding-block: 9px;
}

body.store-channel-page .g-d-store-info {
	position: static;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 22px;
	width: 100%;
	height: auto;
}

body.store-channel-page .g-d-store-info .item {
	position: relative;
	float: none;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

body.store-channel-page .g-d-store-info .item:first-child {
	margin-inline-end: auto;
}

body.store-channel-page .g-d-store-info .item .s-name {
	float: none;
	max-width: 42vw;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--mc-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color .2s var(--mc-ease);
}

body.store-channel-page .g-d-store-info .item .s-name:hover {
	color: var(--mc-brand);
}

body.store-channel-page .g-d-store-info .item .s-a-kefu {
	float: none;
	margin: 0;
}

body.store-channel-page .g-d-store-info .item .i-kefu {
	margin: 0;
}

/* 店铺评分药丸 */
body.store-channel-page .s-score {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: auto;
	height: 28px;
	margin: 0;
	padding-inline: 10px;
	border: 1px solid rgba(240, 166, 60, .45);
	border-radius: 999px;
	background: rgba(254, 189, 105, .12);
	cursor: pointer;
}

body.store-channel-page .s-score span {
	float: none;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	color: #a86a12;
}

body.store-channel-page .s-score .score-icon {
	float: none;
	margin: 0;
}

body.store-channel-page .s-score .iconfont {
	float: none;
	margin: 0;
	font-size: 11px;
	color: #a86a12;
}

body.store-channel-page .s-score-info {
	top: calc(100% + 10px);
	inset-inline-start: 0;
	left: auto;
	width: 252px;
	padding: 16px;
	border: 0;
	border-radius: var(--mc-radius-sm);
	background: var(--mc-card);
	box-shadow: 0 0 0 1px rgba(16, 24, 40, .07), 0 22px 44px -24px rgba(16, 24, 40, .34);
	z-index: 60;
}

body.store-channel-page .s-score-info .s-cover {
	display: none;
}

body.store-channel-page .s-score-info .g-s-parts {
	margin-top: 0;
}

body.store-channel-page .s-score-info .g-s-other {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--mc-line-2);
}

body.store-channel-page .s-score-info .store-href {
	padding: 12px 0 0;
}

body.store-channel-page .s-score-info .store-home {
	width: auto;
}

/* 关注按钮药丸 */
body.store-channel-page .s-follow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	margin: 0;
	padding-inline: 16px;
	border-radius: 999px;
	background: var(--mc-brand);
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	transition: background-color .2s var(--mc-ease);
}

body.store-channel-page .s-follow:hover {
	background: #1b2531;
	color: #fff;
}

body.store-channel-page .s-follow.selected {
	background: rgba(35, 47, 62, .07);
	color: var(--mc-brand);
}

body.store-channel-page .s-follow .iconfont {
	margin: 0;
	font-size: 13px;
	color: inherit;
}

/* 店铺二维码浮层 */
body.store-channel-page .g-d-store-info .item.gd-shop-qrcode {
	line-height: normal;
	font-size: 13px;
	color: var(--mc-mute);
	cursor: pointer;
}

body.store-channel-page .g-d-store-info .item.gd-shop-qrcode .mobile_pop {
	top: calc(100% + 10px);
	inset-inline-end: auto;
	width: 172px;
	height: auto;
	padding: 10px;
	border: 0;
	border-radius: var(--mc-radius-sm);
	background: var(--mc-card);
	box-shadow: 0 0 0 1px rgba(16, 24, 40, .07), 0 22px 44px -24px rgba(16, 24, 40, .34);
}

body.store-channel-page .g-d-store-info .item.gd-shop-qrcode .mobile_pop .img {
	width: 150px;
	height: 150px;
	margin: 0;
	border-radius: 8px;
}

/* --- 2.2 店铺导航条：深灰 40px → 深蓝 flex 药丸条 --------------------------- */
body.store-channel-page .shop-header .bottom {
	height: auto;
	line-height: normal;
	background: var(--mc-brand);
}

body.store-channel-page .shop-header .bottom > .w {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 54px;
}

body.store-channel-page .shop-header .bottom a {
	color: #fff;
}

body.store-channel-page .shop-head-category {
	position: relative;
	z-index: 20;
	float: none;
	flex: 0 0 auto;
	width: auto;
	height: auto;
	border-top: 0;
}

body.store-channel-page .shop-head-category .all-cate a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	line-height: 34px;
	padding-inline: 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	transition: background-color .2s var(--mc-ease), color .2s var(--mc-ease);
}

body.store-channel-page .shop-head-category .all-cate a .iconfont {
	margin: 0;
}

body.store-channel-page .shop-head-category:hover .all-cate a {
	background: var(--mc-accent);
	color: var(--mc-brand);
}

body.store-channel-page .shop-head-category .cate-tab-content {
	top: calc(100% + 10px);
	inset-inline-start: 0;
	left: auto;
	width: min(680px, calc(100vw - 40px));
	min-height: 0;
	margin: 0;
	padding: 22px;
	border: 0;
	border-radius: var(--mc-radius);
	background: var(--mc-card);
	box-shadow: 0 0 0 1px rgba(16, 24, 40, .07), 0 26px 50px -26px rgba(16, 24, 40, .38);
	color: var(--mc-body);
	grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
	gap: 4px 18px;
}

body.store-channel-page .shop-head-category:hover .cate-tab-content {
	display: grid;
}

body.store-channel-page .shop-head-category .cate-tab-content dl {
	float: none;
	width: auto;
	margin: 0;
	padding-block: 6px;
}

body.store-channel-page .shop-head-category .cate-tab-content dt {
	margin-bottom: 4px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--mc-line-2);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mc-ink);
}

body.store-channel-page .shop-head-category .cate-tab-content dt a {
	color: var(--mc-ink);
}

body.store-channel-page .shop-head-category .cate-tab-content a {
	display: block;
	padding-block: 3px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--mc-mute);
	transition: color .18s var(--mc-ease);
}

body.store-channel-page .shop-head-category .cate-tab-content a:hover {
	color: var(--mc-brand);
}

body.store-channel-page .shop-nav {
	float: none;
	flex: 1 1 auto;
	min-width: 0;
}

body.store-channel-page .shop-nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

body.store-channel-page .shop-nav li {
	float: none;
	padding: 0;
}

body.store-channel-page .shop-nav li a {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding-inline: 14px;
	border-radius: 999px;
	font-size: 13px;
	color: rgba(255, 255, 255, .78);
	transition: background-color .2s var(--mc-ease), color .2s var(--mc-ease);
}

body.store-channel-page .shop-nav li a:hover,
body.store-channel-page .shop-nav li a.current {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

/* --- 2.3 Banner：1920px 硬宽 + 700px 固定高 → 容器内自适应，空态塌陷 -------- */
body.store-channel-page .shop-banner {
	height: auto;
	margin-top: 20px;
	overflow: visible;
}

/* 后台未配置店铺横幅时整块收起（原为 700px 纯空白） */
body.store-channel-page .shop-banner:not(:has(.bd li)) {
	display: none;
}

body.store-channel-page .shop-banner .bd {
	margin: 0;
	width: 100%;
}

body.store-channel-page .shop-banner .bd a {
	display: block;
	height: clamp(220px, 30vw, 420px);
	border-radius: var(--mc-radius);
	background-color: var(--mc-brand-deep);
	background-size: cover !important;
	background-position: center center !important;
}

body.store-channel-page .shop-banner .hd {
	position: absolute;
	inset-inline-start: 0;
	inset-inline-end: 0;
	left: auto;
	bottom: 18px;
	transform: none;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 10;
}

body.store-channel-page .shop-banner .hd ul {
	display: flex;
	gap: 8px;
}

body.store-channel-page .shop-banner .hd li {
	float: none;
	width: 10px;
	height: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .5);
	font-size: 0;
	line-height: 0;
	transition: width .24s var(--mc-ease), background-color .24s var(--mc-ease);
}

body.store-channel-page .shop-banner .hd li.on {
	width: 26px;
	background: var(--mc-accent);
}

/* --- 2.4 首页外壳与通栏广告位 ------------------------------------------------ */
body.store-channel-page .shop-home {
	background: transparent;
	padding-block: 0 76px;
}

body.store-channel-page .shop-home .under-banner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 24px 0 0;
	overflow: visible;
}

/* 广告位容器存在但没有任何元素内容时整块收起 */
body.store-channel-page .shop-home .under-banner:not(:has(.marBanner > *)) {
	display: none;
}

/* 该店铺没有任何商品楼层时，首页外壳不占位（原会留 100px 空白） */
body.store-channel-page .shop-home:not(:has(.shop-floor)) {
	display: none;
}

body.store-channel-page .shop-home .under-banner > .marBanner {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

body.store-channel-page .shop-home .under-banner a {
	float: none;
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	border-radius: var(--mc-radius);
	overflow: hidden;
}

body.store-channel-page .shop-home .under-banner img {
	display: block;
	width: 100%;
	height: auto;
}

/* --- 2.5 楼层：标题金色竖条 + 6 列网格（首格 2×1 通栏位） ------------------- */
body.store-channel-page .shop-floor-wp {
	display: grid;
	gap: 24px;
	margin-top: 24px;
}

body.store-channel-page .shop-floor {
	padding: 26px 24px 24px;
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-radius);
	background: var(--mc-card);
}

body.store-channel-page .shop-floor .f-hd {
	display: flex;
	align-items: center;
	margin: 0 0 22px;
	text-align: start;
}

body.store-channel-page .shop-floor .f-hd h2 {
	position: relative;
	margin: 0;
	padding-inline-start: 14px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--mc-ink);
}

body.store-channel-page .shop-floor .f-hd h2::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: .86em;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--mc-accent), var(--mc-accent-deep));
}

body.store-channel-page .shop-floor .f-hd:after {
	display: none;
}

body.store-channel-page .shop-floor .f-bd .list {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
}

/* .clearfix 的 ::before/::after 原本用于清浮动，在 grid 里会变成占位网格项，
   导致首行莫名缺一格，必须关掉 */
body.store-channel-page .shop-floor .f-bd .list::before,
body.store-channel-page .shop-floor .f-bd .list::after {
	display: none;
}

body.store-channel-page .shop-floor .f-bd .list li {
	float: none;
	margin: 0;
	background: transparent;
}

/* 首格通栏位：模板里写死 images/shop/f.jpg（该图不存在），保留 DOM，
   改为装饰性深蓝渐变块，图片隐藏，后台接入真实广告位后去掉本段即可 */
body.store-channel-page .shop-floor .f-bd .list li.first {
	grid-column: span 2;
	margin: 0;
	border-radius: var(--mc-radius-sm);
	background:
		radial-gradient(420px 240px at 78% 10%, rgba(254, 189, 105, .22), transparent 70%),
		linear-gradient(150deg, var(--mc-brand-deep) 0%, var(--mc-brand-soft) 100%);
	overflow: hidden;
}

body.store-channel-page .shop-floor .f-bd .list .first a {
	display: block;
	width: 100%;
	height: 100%;
}

body.store-channel-page .shop-floor .f-bd .list .first img {
	display: none;
}

/* --- 2.6 商品卡 -------------------------------------------------------------- */
body.store-channel-page .shop-floor .f-bd .list .goods-item {
	position: relative;
	width: auto;
	height: auto;
	padding: 10px;
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-radius-sm);
	background: var(--mc-card);
	overflow: hidden;
	transition: border-color .24s var(--mc-ease), transform .24s var(--mc-ease);
}

body.store-channel-page .shop-floor .f-bd .list .goods-item:hover {
	border-color: rgba(240, 166, 60, .5);
	transform: translateY(-2px);
}

body.store-channel-page .shop-floor .goods-item .p-img {
	position: relative;
	border-radius: 8px;
	background: #fbfcfd;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

body.store-channel-page .shop-floor .goods-item .p-img > a {
	display: block;
	width: 100%;
	height: 100%;
}

body.store-channel-page .shop-floor .goods-item .p-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .42s var(--mc-ease);
}

body.store-channel-page .shop-floor .goods-item:hover .p-img img {
	transform: scale(1.05);
}

body.store-channel-page .shop-floor .goods-item .p-name {
	display: -webkit-box;
	height: auto;
	min-height: 2.8em;
	margin: 10px 0 6px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 13px;
	line-height: 1.4;
}

body.store-channel-page .shop-floor .goods-item .p-name a {
	color: var(--mc-ink-2);
	transition: color .2s var(--mc-ease);
}

body.store-channel-page .shop-floor .goods-item:hover .p-name a {
	color: var(--mc-brand);
}

body.store-channel-page .shop-floor .goods-item .p-price {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--mc-price);
}

/* 可租角标：模板内联写了 green/40px/固定圆角，全部用 !important 收回 */
body.store-channel-page .shop-floor .goods-item .p-img > a > span {
	position: absolute !important;
	inset-inline-start: 8px !important;
	top: 8px !important;
	width: 34px !important;
	height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 10px !important;
	background: var(--mc-accent) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 34px !important;
	color: var(--mc-brand) !important;
	text-align: center !important;
	z-index: 2;
}

/* ============================================================================
 * 三、键盘焦点：统一可见焦点环，覆盖主题默认 outline: none
 * ==========================================================================*/
body.merchants-page a:focus-visible,
body.merchants-page button:focus-visible,
body.store-channel-page a:focus-visible,
body.store-channel-page button:focus-visible {
	outline: 2px solid var(--mc-accent-deep);
	outline-offset: 2px;
}

/* ============================================================================
 * 四、自适应（断点与 cms_new.css 对齐：1659 / 1219 / 1023 / 768 / 520 / 400）
 * ==========================================================================*/

/* --- 1659：楼层 6 → 5 列 ---------------------------------------------------- */
@media (max-width: 1659px) {
	body.merchants-page .s-section-step .sett-warp {
		max-width: 100%;
	}

	body.store-channel-page .shop-floor .f-bd .list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* --- 1219：楼层 5 → 4 列，导航间距收紧 ------------------------------------- */
@media (max-width: 1219px) {
	body.merchants-page .settled-header-right {
		gap: 12px;
	}

	body.merchants-page .settled-header-right .settled-nav a {
		padding-inline: 12px;
	}

	body.store-channel-page .shop-floor .f-bd .list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* 页头购物车：classic 变体保留了 10px 文字标签，但图标按钮只有 58px，
	 * 文字 / 图标 / 角标互相挤压并向视口外溢出 2px，整页出现横向滚动条。
	 * ≤1219 收为图标态，文字保留给读屏（不用 display:none，避免丢失可访问文本） */
	body.store-channel-page .iz-w-cart .shopCart-con span,
	body.merchants-page .iz-w-cart .shopCart-con span {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
}

/* --- 1023：页头竖向换行、店铺条换行 ----------------------------------------- */
@media (max-width: 1023px) {
	body.merchants-page .header.header-settled > .w {
		flex-wrap: wrap;
		gap: 12px 20px;
		padding-block: 16px;
	}

	body.merchants-page .settled-header-right {
		flex: 1 1 100%;
		justify-content: space-between;
	}

	body.merchants-page .sett-section.s-section-step {
		padding-block: 48px 44px;
	}

	body.merchants-page .s-section-step .sett-title {
		margin-bottom: 34px;
	}

	body.merchants-page .s-section-step .sett-title .zw-tit h3 {
		font-size: 26px;
	}

	body.store-channel-page .shop-header .bottom > .w {
		gap: 6px;
	}

	body.store-channel-page .shop-banner .bd a {
		height: clamp(200px, 32vw, 320px);
	}
}

/* --- 768：四步 2×2、FAQ 单列、楼层 3 列 ------------------------------------ */
@media (max-width: 768px) {
	/* 入驻介绍页 */
	body.merchants-page .s-section-step .sett-warp {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 16px;
		padding-inline: 4px;
	}

	body.merchants-page .s-section-step .item-jt {
		display: none;
	}

	body.merchants-page .s-section-step .item-i {
		width: 68px;
		height: 68px;
		border-radius: 22px;
	}

	body.merchants-page .s-section-step .item .tit {
		margin-top: 16px;
		font-size: 15px;
	}

	body.merchants-page .s-section-step .item span {
		font-size: 12px;
		line-height: 1.75;
	}

	body.merchants-page .sett-title,
	body.merchants-page .s-section-step .sett-title {
		margin-block: 40px 28px;
	}

	body.merchants-page .sett-title .zw-tit,
	body.merchants-page .sett-title .zw-tit h3 {
		font-size: 21px;
	}

	body.merchants-page .sett-title .zw-tit h3 {
		padding-inline: 18px;
	}

	body.merchants-page .s-section-step .sett-title .zw-tit h3 {
		font-size: 22px;
	}

	body.merchants-page .s-section-help {
		padding-bottom: 56px;
	}

	body.merchants-page .s-section-help .item {
		padding: 18px 16px;
		gap: 14px;
	}

	body.merchants-page .s-section-help .item .number {
		width: 46px;
		height: 46px;
		font-size: 16px;
		line-height: 46px;
	}

	/* 店铺首页 */

	/* 页头顶部条：快捷菜单独占一行横向滑动。
	 * 复用 CMS 频道已实测通过的方案（cms_new.css 11.1），只作用于商家频道首页；
	 * float 必须中和：RTL 下左浮动链向左溢出不会产生可滚动区，直接撑出横向滚动条 */
	body.store-channel-page .site-nav .iz-w-quickMenu {
		order: 3;
		flex: 1 1 100%;
		min-width: 0;
		height: auto !important;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	body.store-channel-page .site-nav .iz-w-quickMenu::-webkit-scrollbar {
		display: none;
	}

	body.store-channel-page .site-nav .iz-w-quickMenu > .quick-menu {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		float: none !important;
		flex: 0 0 auto;
		width: max-content;
		min-width: 100%;
		margin: 0;
	}

	body.store-channel-page .site-nav .iz-w-quickMenu > .quick-menu > li {
		flex: 0 0 auto;
		float: none;
	}

	body.store-channel-page .site-nav .iz-w-quickMenu > .quick-menu > li .dt {
		white-space: nowrap;
	}

	body.store-channel-page .shop-header .top > .w {
		padding-block: 12px;
	}

	body.store-channel-page .g-d-store-info {
		gap: 8px 14px;
	}

	body.store-channel-page .g-d-store-info .item:first-child {
		flex: 1 1 100%;
		margin-inline-end: 0;
	}

	body.store-channel-page .g-d-store-info .item .s-name {
		max-width: 100%;
	}

	/* 店铺导航：横向滚动，隐藏滚动条 */
	body.store-channel-page .shop-nav ul {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 2px;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	body.store-channel-page .shop-nav ul::-webkit-scrollbar {
		display: none;
	}

	body.store-channel-page .shop-nav li {
		flex: 0 0 auto;
	}

	body.store-channel-page .shop-banner .bd a {
		height: clamp(160px, 40vw, 240px);
	}

	body.store-channel-page .shop-home {
		padding-bottom: 48px;
	}

	body.store-channel-page .shop-floor {
		padding: 20px 16px 18px;
	}

	body.store-channel-page .shop-floor .f-hd {
		margin-bottom: 16px;
	}

	body.store-channel-page .shop-floor .f-hd h2 {
		font-size: 18px;
	}

	body.store-channel-page .shop-floor .f-bd .list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}
}

/* --- 520：楼层 2 列、下拉浮层收窄、四步收紧 -------------------------------- */
@media (max-width: 520px) {
	body.merchants-page .settled-header-right {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	body.merchants-page .settled-header-right .tel {
		font-size: 17px;
	}

	body.merchants-page .s-section-step .sett-warp {
		gap: 26px 10px;
	}

	body.merchants-page .s-section-step .item-i {
		width: 60px;
		height: 60px;
		border-radius: 19px;
	}

	body.merchants-page .s-section-cate .item {
		flex: 1 1 100%;
		max-width: none;
	}

	/* 窄屏才把常见问题改成单列，768 保持两列避免超宽空白卡片 */
	body.merchants-page .s-section-help .sett-warp {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	body.store-channel-page .shop-head-category {
		flex: 1 1 100%;
	}

	body.store-channel-page .shop-head-category .cate-tab-content {
		width: calc(100vw - 32px);
		padding: 16px;
		grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
	}

	body.store-channel-page .shop-nav {
		flex: 1 1 100%;
	}

	body.store-channel-page .s-score-info {
		width: min(280px, calc(100vw - 40px));
	}

	body.store-channel-page .shop-floor {
		padding: 16px 12px;
	}

	body.store-channel-page .shop-floor .f-bd .list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	body.store-channel-page .shop-floor .f-bd .list li.first {
		min-height: 120px;
	}
}

/* --- 400：极限收窄 ---------------------------------------------------------- */
@media (max-width: 400px) {
	body.merchants-page .sett-section.s-section-step {
		padding-block: 36px 34px;
	}

	body.merchants-page .s-section-step .sett-title .zw-tit h3 {
		font-size: 19px;
	}

	body.merchants-page .s-section-step .item-i {
		width: 54px;
		height: 54px;
		border-radius: 17px;
	}

	body.merchants-page .s-section-help .item {
		padding: 16px 14px;
		gap: 12px;
	}

	body.merchants-page .s-section-help .item .number {
		width: 40px;
		height: 40px;
		font-size: 14px;
		line-height: 40px;
	}

	body.merchants-page .s-section-help .item .info .tit a {
		font-size: 15px;
	}

	body.store-channel-page .shop-floor .f-bd .list .goods-item {
		padding: 8px;
	}

	body.store-channel-page .shop-floor .goods-item .p-name {
		font-size: 12px;
	}

	body.store-channel-page .shop-floor .goods-item .p-price {
		font-size: 14px;
	}

	body.store-channel-page .shop-floor .goods-item .p-img > a > span {
		width: 30px !important;
		height: 30px !important;
		font-size: 10px !important;
		line-height: 30px !important;
	}
}

/* ============================================================================
 * 五、动效降级
 * ==========================================================================*/
@media (prefers-reduced-motion: reduce) {
	body.merchants-page .s-section-step .item-i,
	body.merchants-page .s-section-cate .item,
	body.merchants-page .s-section-help .item,
	body.merchants-page .s-section-help .item .info .tit a,
	body.store-channel-page .shop-floor .f-bd .list .goods-item,
	body.store-channel-page .shop-floor .goods-item .p-img img,
	body.store-channel-page .shop-nav li a,
	body.store-channel-page .shop-banner .hd li {
		transition: none;
	}

	body.merchants-page .s-section-step .item:hover .item-i,
	body.merchants-page .s-section-cate .item:hover,
	body.store-channel-page .shop-floor .goods-item:hover,
	body.store-channel-page .shop-floor .goods-item:hover .p-img img {
		transform: none;
	}
}
