/* ===========================================================================
   dazzling_theme · repfind 视觉元素总集 (Navy + Team Red + Gold accent)
   设计 token:
     - 主红 #ce1126 / 深红 #a50e1f / 浅红 #e13045 (球队红, 比 sport 更深沉)
     - 海军蓝 #091f40 / 蓝灰 #0d2a55 (深色基底)
     - 金色 #FFD93D (dazzling 独有强调色, 用在 NEW 角标 + Rising 角标 + 高亮)
     - 圆角: sm 4px / md 6px / lg 10px / pill 50px (球队风, 比 sport 紧凑)
     - 字体: Lato (主) + Oswald (强调)
   覆盖范围:
     1. 商品卡片收藏按钮 (.dz-fav-badge)
     2. 趋势角标 (.dz-trend-badge / .dz-trend-blaze/hot/rise)
     3. NEW 角标 (.dz-new-badge)
     4. 详情页收藏 + 想买双按钮 (.dz-action-btn.is-fav / .is-wish)
     5. 详情页趋势横幅 (.dz-trend-banner)
   移动端 80% 流量 → 触摸目标 ≥44px / GPU 友好动画 / 紧凑布局优先
=========================================================================== */

/* ============== 1. 商品卡片收藏按钮 (右上角) ============== */
.dz-fav-badge {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 5;
	min-width: 36px;
	min-height: 36px;
	padding: 8px;
	border: none;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-radius: 50%;
	color: #091f40;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.22);
	transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
	-webkit-tap-highlight-color: transparent;
}
.dz-fav-badge:active {
	transform: scale(0.92);
	background: #ce1126;
	color: #fff;
}
.dz-fav-badge.is-active,
.dz-fav-badge.is-faved {
	background: #ce1126;
	color: #fff;
}
.dz-fav-badge.is-active i,
.dz-fav-badge.is-faved i {
	color: #fff;
}
.dz-fav-badge[data-busy="1"] {
	opacity: 0.6;
	pointer-events: none;
}
.dz-fav-badge i {
	pointer-events: none;
	line-height: 1;
}

/* ============== 2. 趋势角标 (左下角, 同时只显示一个最高档) ============== */
.dz-trend-badge {
	position: absolute;
	left: 6px;
	bottom: 6px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 4px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 800;
	font-family: 'Oswald', 'Lato', sans-serif;
	letter-spacing: 0.5px;
	color: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3);
	pointer-events: none;
	user-select: none;
}
.dz-trend-icon {
	font-size: 12px;
	line-height: 1;
}
.dz-trend-blaze {
	background: linear-gradient(135deg, #e13045 0%, #ce1126 50%, #FF8C00 100%);
	animation: dz-blaze-pulse 1.6s ease-in-out infinite;
}
@keyframes dz-blaze-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.78; }
}
.dz-trend-hot {
	background: linear-gradient(135deg, #e13045 0%, #ce1126 100%);
}
/* Rising 用金色 — dazzling 独特调性, 区别 sport 的橙黄 */
.dz-trend-rise {
	background: linear-gradient(135deg, #FFD93D 0%, #FFA500 100%);
	color: #091f40;
	text-shadow: 0 0 1px rgba(255,255,255,.4);
}

/* ============== 3. NEW 角标 (右下角, 海军蓝 + 金边) ============== */
.dz-new-badge {
	position: absolute;
	right: 6px;
	bottom: 6px;
	z-index: 4;
	padding: 3px 7px;
	background: #091f40;
	color: #FF6B9D;
	font-size: 10px;
	font-weight: 800;
	font-family: 'Oswald', 'Lato', sans-serif;
	letter-spacing: 0.7px;
	border-radius: 8px;
	border: 1.5px solid #FF6B9D;
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
	pointer-events: none;
	user-select: none;
}

/* ============== 4. 详情页收藏 + 想买双按钮 ============== */
.dz-fav-actions {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	width: 100%;
}
.dz-action-btn {
	flex: 1;
	min-height: 44px;
	padding: 10px 14px;
	border: 1.5px solid #091f40;
	background: #fff;
	color: #091f40;
	border-radius: 6px;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.3px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: all 0.2s ease;
	-webkit-tap-highlight-color: transparent;
	text-decoration: none;
}
.dz-action-btn:active {
	transform: scale(0.97);
}
.dz-action-btn.is-fav:hover,
.dz-action-btn.is-fav:active {
	background: #ce1126;
	border-color: #ce1126;
	color: #fff;
}
.dz-action-btn.is-wish:hover,
.dz-action-btn.is-wish:active {
	background: #091f40;
	border-color: #091f40;
	color: #fff;
}
.dz-action-btn.is-fav.is-active,
.dz-action-btn.is-faved {
	background: #ce1126;
	border-color: #ce1126;
	color: #fff;
}
.dz-action-btn.is-wish.is-active,
.dz-action-btn.is-wished {
	background: #091f40;
	border-color: #091f40;
	color: #fff;
}
.dz-action-btn[data-busy="1"] {
	opacity: 0.6;
	pointer-events: none;
}
.dz-action-btn i {
	font-size: 16px;
	line-height: 1;
}

/* ============== 5. 详情页趋势横幅 (价格行下方, Buy Link 上方) ============== */
.pdp-style-overwrapper .pdp-price .price-card .superscript .price {
	font-family: 'Lato', Arial, sans-serif;
	font-size: 24px !important;
	font-weight: 850 !important;
	line-height: 1.1;
	letter-spacing: -0.2px;
	background: linear-gradient(135deg, #f85867 0%, #d13ce9 58%, #5f8cff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: none !important;
	filter: none !important;
}

.dz-trend-banner {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 12px 0;
	padding: 12px 14px;
	border-radius: 6px;
	font-family: 'Lato', sans-serif;
	color: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.22);
	min-height: 48px;
}
.dz-trend-banner-icon {
	font-size: 22px;
	line-height: 1;
	flex-shrink: 0;
}
.dz-trend-banner-text {
	flex: 1;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2px;
}
.dz-trend-banner-text strong {
	font-family: 'Oswald', 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 800;
	margin-right: 4px;
}
.dz-trend-banner.is-blaze {
	background: linear-gradient(135deg, #e13045 0%, #ce1126 50%, #FF8C00 100%);
	animation: dz-blaze-pulse 1.6s ease-in-out infinite;
}
.dz-trend-banner.is-hot {
	background: linear-gradient(135deg, #e13045 0%, #ce1126 100%);
}
/* Rising 横幅: 金 → 橙渐变 + 深色文字 (dazzling 独特) */
.dz-trend-banner.is-rise {
	background: linear-gradient(135deg, #FFD93D 0%, #FFA500 100%);
	color: #091f40;
}
.dz-trend-banner.is-rise .dz-trend-banner-text strong {
	color: #ce1126;
}
/* NEW 横幅: 海军蓝 + 金线 + 球队红强调 */
.dz-trend-banner.is-new {
	background: linear-gradient(135deg, #091f40 0%, #0d2a55 100%);
	border-left: 3px solid #FF6B9D;
}
.dz-trend-banner.is-new .dz-trend-banner-text strong {
	color: #FF6B9D;
}

/* ============== PC 端 (>= 769px) 适配 ============== */
@media (min-width: 769px) {
	.dz-fav-badge {
		top: 10px;
		right: 10px;
		min-width: 40px;
		min-height: 40px;
		font-size: 18px;
	}
	.dz-trend-badge {
		left: 10px;
		bottom: 10px;
		font-size: 12px;
		padding: 5px 10px;
	}
	.dz-new-badge {
		right: 10px;
		bottom: 10px;
		font-size: 11px;
		padding: 4px 9px;
	}
	.dz-action-btn {
		min-height: 48px;
		font-size: 15px;
	}
	.dz-trend-banner {
		padding: 16px 20px;
		min-height: 56px;
	}
	.dz-trend-banner-text {
		font-size: 14px;
	}
	.dz-trend-banner-text strong {
		font-size: 18px;
	}
}

/* ============== 移动端紧凑屏 (≤360px) 进一步优化 ============== */
@media (max-width: 360px) {
	.dz-trend-badge {
		font-size: 10px;
		padding: 3px 6px;
	}
	.dz-new-badge {
		font-size: 9px;
		padding: 2px 6px;
	}
	.dz-trend-banner {
		padding: 10px 12px;
		min-height: 44px;
	}
	.dz-trend-banner-text {
		font-size: 12px;
	}
	.dz-trend-banner-text strong {
		font-size: 14px;
	}
}

/* ===========================================================================
   ============ 6. 炫彩 Sign In 胶囊 (.dz-auth-fancy) · 呼应 JOIN US 风格 ============
   渐变描边 + 黑底 + 金色 user 图标 + 白字
=========================================================================== */
.dz-auth-fancy {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px 9px 18px;
	background: #000;
	color: #fff !important;
	border-radius: 24px;
	font-family: 'Oswald', 'Lato', sans-serif;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.25s ease;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
}
.dz-auth-fancy::before {
	content: '';
	position: absolute;
	inset: -2px;
	border-radius: 26px;
	padding: 2px;
	background: linear-gradient(135deg, #FFD93D 0%, #FF6B9D 30%, #C44569 60%, #6C5CE7 100%);
	background-size: 200% 100%;
	background-position: 0% 50%;
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	        mask-composite: exclude;
	pointer-events: none;
	transition: background-position 0.6s ease;
}
.dz-auth-fancy:hover {
	color: #FF6B9D !important;
	box-shadow: 0 0 22px rgba(108, 92, 231, 0.55), 0 0 12px rgba(255, 107, 157, 0.4);
	transform: translateY(-1px);
}
.dz-auth-fancy:hover::before {
	background-position: 100% 50%;
}
.dz-auth-fancy i.fa {
	font-size: 14px;
	background: linear-gradient(135deg, #FFD93D 0%, #FF6B9D 60%, #6C5CE7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* 移动端变体: 仅图标圆形 (节省空间) */
.dz-auth-fancy--m {
	padding: 0;
	width: 38px;
	height: 38px;
	justify-content: center;
	gap: 0;
	border-radius: 50%;
}
.dz-auth-fancy--m::before {
	border-radius: 50%;
	inset: -2px;
}
.dz-auth-fancy--m i.fa {
	font-size: 16px;
}

/* ===========================================================================
   ============ 7. PC 端右上角三连容器 + 圆形图标按钮 ============
=========================================================================== */
.dz-pc-user-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}
.dz-pc-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #fff !important;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	font-size: 16px;
	text-decoration: none !important;
	transition: all 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}
.dz-pc-icon-btn:hover {
	color: #FF6B9D !important;
	border-color: rgba(255, 217, 61, 0.6);
	background: rgba(108, 92, 231, 0.18);
	box-shadow: 0 0 14px rgba(255, 107, 157, 0.4);
}
.dz-pc-icon-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	background: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	font-family: 'Oswald', 'Lato', sans-serif;
	line-height: 18px;
	text-align: center;
	border-radius: 9px;
	box-shadow: 0 2px 6px rgba(196, 69, 105, 0.55);
	border: 1.5px solid #000;
}

/* 已登录用户 dropdown (沿用原 dz-auth-menu, 这里加 hover 触发) */
.dz-auth-user {
	position: relative;
	display: inline-block;
}
.dz-auth-user .dz-auth-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 220px;
	background: linear-gradient(180deg, #0d2a55 0%, #091f40 100%);
	border: 1px solid rgba(108, 92, 231, 0.3);
	border-radius: 10px;
	padding: 8px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: all 0.18s ease;
	z-index: 9999;
}
.dz-auth-user:hover .dz-auth-menu,
.dz-auth-user.is-open .dz-auth-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.dz-auth-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	background: transparent;
	color: #cdd5e0 !important;
	font-size: 13px;
	font-family: 'Lato', sans-serif;
	text-align: left;
	text-decoration: none !important;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.15s;
}
.dz-auth-menu a:hover {
	background: linear-gradient(135deg, rgba(255, 107, 157, 0.18), rgba(108, 92, 231, 0.18));
	color: #FF6B9D !important;
}
.dz-auth-menu hr {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin: 4px 6px;
}
.dz-auth-menu-email {
	padding: 8px 12px;
	font-size: 11px;
	color: #FF6B9D;
	word-break: break-all;
	line-height: 1.4;
	font-weight: 600;
}

/* ===========================================================================
   ============ 8. 手机端右上角三连容器 + 图标按钮 ============
=========================================================================== */
.dz-m-actions {
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding-right: 8px;
	float: none !important;
}
.dz-m-actions::after,
.dz-m-actions::before {
	content: none !important;
}
.dz-m-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: #fff !important;
	font-size: 15px;
	cursor: pointer;
	text-decoration: none !important;
	transition: all 0.18s ease;
	-webkit-tap-highlight-color: transparent;
	padding: 0;
}
.dz-m-icon-btn:active,
.dz-m-icon-btn:focus {
	color: #FF6B9D !important;
	border-color: rgba(255, 217, 61, 0.7);
	background: rgba(108, 92, 231, 0.14);
}
.dz-m-icon-badge {
	position: absolute;
	top: -3px;
	right: -3px;
	min-width: 16px;
	height: 16px;
	padding: 0 3px;
	background: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	font-family: 'Oswald', 'Lato', sans-serif;
	line-height: 16px;
	text-align: center;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(196, 69, 105, 0.5);
	border: 1.5px solid #000;
}

/* 手机端搜索栏: 默认收起, 点 search 图标展开 */
.dz-m-search-bar {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.dz-m-search-bar.is-open {
	max-height: 200px;
	opacity: 1;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

/* ===========================================================================
   ============ 9. Weidian 按钮移动端隐藏 ============
=========================================================================== */
@media (max-width: 768px) {
	.dz-hide-mobile {
		display: none !important;
	}
}

/* ===========================================================================
   ============ 10. 全局弹窗主题蒙版 ============
   覆盖范围:
     - .modal.myModal (Buy Link 平台选择弹窗 in goods.htm/category_list.htm/index.htm)
     - .sboxx (PC 端 search 全屏弹窗 in header.htm L257)
     - .share-overlay (商品页分享弹窗在 goods.htm)
     - .pro-modal (其他详情页 modal)
=========================================================================== */
.modal.myModal,
.pro-modal {
	background:
		radial-gradient(ellipse at 22% 0%, rgba(255,255,255,0.42), transparent 56%),
		radial-gradient(ellipse at 82% 100%, rgba(209,60,233,0.12), transparent 58%),
		linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.34) 100%) !important;
	-webkit-backdrop-filter: blur(20px) saturate(160%) !important;
	        backdrop-filter: blur(20px) saturate(160%) !important;
}
/* sboxx 搜索全屏容器 - 关键: 不强制 display, 由 dazzling 原版 JS toggle inline style 控制
   只在显示时(inline style 不是 display:none)才生效布局/蒙版 */
.sboxx {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 99998;
}
.sboxx .newbgsearch {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 25% 15%, rgba(255,217,61,0.18), transparent 55%),
		radial-gradient(ellipse at 75% 85%, rgba(108,92,231,0.32), transparent 60%),
		radial-gradient(ellipse at 50% 50%, rgba(196,69,105,0.22), transparent 65%),
		rgba(4,12,28,0.92);
	-webkit-backdrop-filter: blur(20px) saturate(160%);
	        backdrop-filter: blur(20px) saturate(160%);
	pointer-events: auto;
}
.sboxx .typeahead-container {
	position: relative;
	z-index: 1;
	max-width: 600px;
	width: 90%;
	left: auto;
	margin: 80px auto 0 auto;
}
.sboxx .formbox {
	background: linear-gradient(180deg, #0d2a55, #091f40);
	padding: 10px;
	border-radius: 12px;
	box-shadow: 0 30px 80px rgba(0,0,0,0.7);
	position: relative;
}
.sboxx .formbox::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 12px;
	padding: 2px;
	background: linear-gradient(135deg, #FFD93D 0%, #FF6B9D 30%, #C44569 60%, #6C5CE7 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	        mask-composite: exclude;
	pointer-events: none;
	opacity: 0.85;
}
/* Buy Link 平台选择 modal 内容卡片 - 同时覆盖 .modal.myModal (列表页) 和 .pro-modal (详情页 in goods.htm L351) */
.modal.myModal > .modal-content,
.pro-modal > .modal-content {
	position: relative;
	width:min(720px, calc(100vw - 28px)) !important;
	max-width:720px !important;
	height:auto !important;
	max-height:calc(100dvh - 44px) !important;
	margin:auto !important;
	padding:20px !important;
	background:
		radial-gradient(circle at 20% -10%, rgba(248,88,103,0.18), transparent 44%),
		radial-gradient(circle at 100% 0%, rgba(75,131,248,0.18), transparent 48%),
		linear-gradient(180deg, rgba(13,42,85,0.98), rgba(9,31,64,0.98)) !important;
	color: #fff !important;
	border:1px solid rgba(248,88,103,0.42) !important;
	border-radius: 20px !important;
	box-shadow:
		0 28px 80px rgba(8,4,22,0.30),
		0 0 0 1px rgba(75,131,248,0.22),
		inset 0 1px 0 rgba(255,255,255,0.10) !important;
	overflow-y:auto !important;
	overflow-x:hidden !important;
}
.modal.myModal > .modal-content::before,
.pro-modal > .modal-content::before {
	display:none !important;
}
.modal.myModal .modal-content h3,
.pro-modal .modal-content h3 {
	grid-column:1 / -1 !important;
	color: #fff !important;
	font-family: 'Oswald', 'Lato', sans-serif;
	letter-spacing: 0.5px;
	margin:0 44px 14px 0 !important;
	padding:0 0 14px !important;
	border-bottom:1px solid rgba(255,255,255,0.12) !important;
	font-size:20px !important;
	line-height:1.2 !important;
}
.modal.myModal .modal-content .close,
.pro-modal .modal-content .close,
.modal.myModal .modal-content .pro_close,
.pro-modal .modal-content .pro_close {
	color: #FF6B9D !important;
	transition: transform .2s, color .2s;
	position:absolute !important;
	top:12px !important;
	right:14px !important;
	width:36px !important;
	height:36px !important;
	line-height:34px !important;
	text-align:center !important;
	border-radius:50% !important;
	background:rgba(255,255,255,0.08) !important;
	border:1px solid rgba(255,255,255,0.12) !important;
	z-index:2 !important;
}
.modal.myModal .modal-content .close:hover,
.pro-modal .modal-content .close:hover {
	color: #FF6B9D !important;
	transform: rotate(90deg);
}
/* 平台列表卡片 (.pingtaibox li) - 暗底卡片配渐变描边 */
.modal.myModal .pingtaibox,
.pro-modal .pingtaibox {
	display:grid !important;
	grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
	gap:10px !important;
	width:100% !important;
	max-height:calc(100dvh - 132px) !important;
	overflow-y:auto !important;
	overflow-x:hidden !important;
	margin:0 !important;
	padding:0 !important;
	list-style:none !important;
	scrollbar-width:none !important;
	-ms-overflow-style:none !important;
}
.modal.myModal .pingtaibox::-webkit-scrollbar,
.pro-modal .pingtaibox::-webkit-scrollbar{
	display:none !important;
	width:0 !important;
	height:0 !important;
}
.modal.myModal .pingtaibox li,
.pro-modal .pingtaibox li {
	width:auto !important;
	min-height:76px !important;
	margin:0 !important;
	padding:0 !important;
	background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 14px !important;
	transition: all 0.2s ease !important;
	list-style:none !important;
	overflow:hidden !important;
}
.modal.myModal .pingtaibox li:hover,
.pro-modal .pingtaibox li:hover {
	background: rgba(108, 92, 231, 0.18) !important;
	border-color: rgba(255, 217, 61, 0.5) !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(196, 69, 105, 0.35) !important;
}
.modal.myModal .pingtaibox li.isfirst,
.pro-modal .pingtaibox li.isfirst {
	background: linear-gradient(135deg, rgba(206, 17, 38, 0.5), rgba(196, 69, 105, 0.4)) !important;
	border-color: rgba(255, 217, 61, 0.6) !important;
}
.modal.myModal .pingtaibox li a,
.pro-modal .pingtaibox li a {
	color: #fff !important;
	text-decoration: none !important;
	display:flex !important;
	flex-direction:column !important;
	justify-content:center !important;
	width:100% !important;
	min-height:76px !important;
	padding:12px !important;
	box-sizing:border-box !important;
}
.modal.myModal .pingtaibox li h2,
.pro-modal .pingtaibox li h2 {
	color: #fff !important;
}
.modal.myModal .pingtaibox li p,
.pro-modal .pingtaibox li p {
	color: #FF6B9D !important;
	opacity: 0.85;
}

/* 覆盖原版 web_style.css L3198 .modal{overflow:auto} + L3213 .modal-content{overflow-y:scroll}
   两层都把滚动条彻底隐藏 (保留滚动能力, 但 PC 端永不可见 → 解决"太不美观"问题)
   方案同 dz_repfind.css L786 .hot-search-dropdown */
.modal.myModal,
.pro-modal,
.modal.myModal > .modal-content,
.pro-modal > .modal-content {
	overflow-y: auto !important;
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}
.modal.myModal::-webkit-scrollbar,
.pro-modal::-webkit-scrollbar,
.modal.myModal > .modal-content::-webkit-scrollbar,
.pro-modal > .modal-content::-webkit-scrollbar,
.modal.myModal::-webkit-scrollbar-track,
.pro-modal::-webkit-scrollbar-track,
.modal.myModal > .modal-content::-webkit-scrollbar-track,
.pro-modal > .modal-content::-webkit-scrollbar-track,
.modal.myModal::-webkit-scrollbar-thumb,
.pro-modal::-webkit-scrollbar-thumb,
.modal.myModal > .modal-content::-webkit-scrollbar-thumb,
.pro-modal > .modal-content::-webkit-scrollbar-thumb {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	background: transparent !important;
	-webkit-appearance: none !important;
}

/* pingtaibox 容器 box-sizing 兜底, 防 padding-left:15px 撑出 */
.modal.myModal .pingtaibox *,
.pro-modal .pingtaibox * {
	box-sizing: border-box !important;
	min-width: 0;
}
/* 关键修复 (复用 sale_themes 现成方案): 移动端覆盖原版 web_style.css L3309 .pingtaibox li{width:95%}, 改为 2 列 */
@media (max-width: 767px) {
	.modal.myModal .pingtaibox li,
	.pro-modal .pingtaibox li,
	.modal.myModal .pingtaibox li:nth-of-type(1),
	.pro-modal .pingtaibox li:nth-of-type(1) {
		width: auto !important;
		flex: none !important;
		margin: 0 !important;
	}
	.modal.myModal .pingtaibox li img,
	.pro-modal .pingtaibox li img {
		height: 28px !important;
		width: 28px !important;
		margin-right: 6px !important;
	}
	.modal.myModal .pingtaibox h3,
	.pro-modal .pingtaibox h3 {
		grid-column:1 / -1 !important;
		width: 100% !important;
		font-size: 16px !important;
	}
	.modal.myModal .pingtaibox li h2,
	.pro-modal .pingtaibox li h2 {
		font-size: 13px !important;
	}
	.modal.myModal .pingtaibox li p,
	.pro-modal .pingtaibox li p {
		font-size: 11px !important;
	}
}
/* 桌面端去掉 li:not(:first-child) 的 margin-right, 改用 gap 间距, 避免视觉偏移 */
@media (min-width: 768px) {
	.modal.myModal .pingtaibox li:not(:first-child),
	.pro-modal .pingtaibox li:not(:first-child) {
		margin-right: 0 !important;
		width: auto !important;
	}
	.modal.myModal .pingtaibox li:first-child,
	.pro-modal .pingtaibox li:first-child {
		width: auto !important;
	}
}

/* ===========================================================================
   ============ 11. PC 端搜索框激活时蒙版 (问题 2: 分类页 .cat-search-wrap input focus 时全屏蒙版) ============
   用 JS hook 监听 .hot-search-trigger focus/blur, 给 body 加 .dz-search-active class
=========================================================================== */
body.dz-search-active::before {
	content: "";
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background:
		radial-gradient(ellipse at 25% 15%, rgba(255,217,61,0.18), transparent 55%),
		radial-gradient(ellipse at 75% 85%, rgba(108,92,231,0.32), transparent 60%),
		radial-gradient(ellipse at 50% 50%, rgba(196,69,105,0.22), transparent 65%),
		rgba(4,12,28,0.92);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	        backdrop-filter: blur(18px) saturate(160%);
	z-index: 99996;
	pointer-events: none;
	animation: auth-fade .25s ease;
}
/* 蒙版生效时提升所有搜索容器 + 导航栏 z-index
   关键: 必须包含 typeahead-container/typeahead-container2/typeahead-container3 (首页 hero + #search-box + dz1.5 mini search 容器)
   dz1.7 2026-04-30: 拆分 — position 不再强改 (mini search 是 absolute, 强改 relative 会脱离原位置),
                                只对原本 static 的容器加 position:relative, mini search 等 absolute 容器只提 z-index
*/
/* 原本无 position 的容器: 加 position:relative 让 z-index 生效 */
body.dz-search-active .cat-search-wrap,
body.dz-search-active #search-box,
body.dz-search-active .typeahead-container,
body.dz-search-active .typeahead-container2,
body.dz-search-active .typeahead-container3.cat-search-box,
body.dz-search-active .dz-m-actions,
body.dz-search-active .dz-pc-user-wrap {
	position: relative;
	z-index: 99999 !important;
}
/* dz1.7: mini search (absolute) — 保持 absolute, 只提 z-index, 避免被强改成 relative 跑出原位 */
body.dz-search-active .dz-pc-stuck-search,
body.dz-search-active .dz-mob-stuck-search {
	z-index: 99999 !important;
}
/* dz-sticky-hdr 本身是 sticky, 只提 z-index 不动 position */
body.dz-search-active .dz-sticky-hdr {
	z-index: 99999 !important;
}
/* hot-search-dropdown 默认是 absolute, 保持原 position 只提 z-index */
body.dz-search-active .hot-search-dropdown {
	z-index: 99999 !important;
}

/* 蒙版生效时 search input 视觉 - 关键: 不给 input 自身加 border (dazzling 原版给 .typeahead-inputform 容器
   已加了 3px solid #f46183 + 黑底, 见 web_style.css L6104, 那才是外框来源)
   input 自身只设透明背景 + 白字, 融入容器黑底, 避免双层"框中框" */
body.dz-search-active .typeahead-input,
body.dz-search-active .typeahead-input2,
body.dz-search-active .hot-search-trigger {
	background: transparent !important;
	background-color: transparent !important;
	color: #fff !important;
	border: none !important;
	box-shadow: none !important;
	font-weight: 600 !important;
}
body.dz-search-active .typeahead-input::placeholder,
body.dz-search-active .typeahead-input2::placeholder,
body.dz-search-active .hot-search-trigger::placeholder {
	color: rgba(255, 255, 255, 0.55) !important;
}
/* 蒙版下增强容器外框光晕 (容器原版已有 #f46183 边框, 这里只加渐变光晕) */
body.dz-search-active .typeahead-inputform,
body.dz-search-active .formbox2 {
	box-shadow: 0 0 32px rgba(255, 107, 157, 0.5), 0 0 16px rgba(108, 92, 231, 0.35) !important;
}

/* hot-search-dropdown 美化 - 隐藏滚动条 + grid 紧凑布局 + 主题渐变 */
body.dz-search-active .hot-search-dropdown,
.hot-search-dropdown {
	background: linear-gradient(180deg, #0d2a55, #091f40) !important;
	border: 1px solid rgba(108, 92, 231, 0.5) !important;
	border-radius: 14px !important;
	color: #fff !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(196, 69, 105, 0.25) !important;
	padding: 14px 14px 10px !important;
	margin-top: 10px !important;
	max-height: none !important;
	overflow: visible !important;
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}
body.dz-search-active .hot-search-dropdown::-webkit-scrollbar,
.hot-search-dropdown::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}
body.dz-search-active .hot-search-dropdown a,
body.dz-search-active .hot-search-dropdown li,
body.dz-search-active .hot-search-dropdown span {
	color: #fff !important;
}
/* hot-search 容器内 ul/ol 改成 flex wrap 紧凑布局 (dazzling 原版可能是垂直 list 出滚动条) */
body.dz-search-active .hot-search-dropdown ul,
body.dz-search-active .hot-search-dropdown ol,
.hot-search-dropdown ul,
.hot-search-dropdown ol {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 8px 0 0 0 !important;
}
body.dz-search-active .hot-search-dropdown li,
.hot-search-dropdown li {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
}

/* ===========================================================================
   ============ 12. #toggle-search 强化覆盖 (dazzling 原版 ID 选择器优先级覆盖 .dz-m-icon-btn class) ============
   修复图 3 分类页放大镜按钮太大问题 - 需要 !important 才能压过 dazzling 原版 ID 样式
=========================================================================== */
button#toggle-search.dz-m-icon-btn,
.dz-m-actions button#toggle-search,
.dz-m-actions #toggle-search {
	width: 38px !important;
	height: 38px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: 50% !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 15px !important;
	color: #fff !important;
	flex-shrink: 0;
}
.dz-m-actions #toggle-search i {
	font-size: 15px !important;
	color: #fff !important;
	line-height: 1 !important;
}
.dz-m-actions .new-mobile-parent-menu i {
	font-size: 15px !important;
	color: #fff !important;
	line-height: 1 !important;
}

.prolistli .dz-jersey-link {
	position: relative !important;
	overflow: visible !important;
	line-height: 16px;
}
.product-actions .prolistli {
	display: flex !important;
	gap: 10px;
	width: 100%;
}
.product-actions .prolistli > li {
	flex: 1;
	min-width: 0;
	margin: 0;
	list-style: none;
}
.product-actions .prolistli > li[style*="display:none"] {
	display: none !important;
}
.product-actions .prolistli .action-btn {
	box-sizing: border-box;
	min-height: 44px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 700;
}
@media (min-width: 769px) {
	.product-actions .prolistli .action-btn {
		min-height: 48px;
		font-size: 15px;
	}
}
.prolistli .dz-jersey-link .rf-jersey-new {
	position: absolute;
	top: -9px;
	right: 8px;
	padding: 2px 7px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ffd93d, #ff8c00);
	color: #091f40;
	border: 1px solid rgba(255, 255, 255, 0.75);
	font-family: "Comic Sans MS", "Trebuchet MS", cursive;
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
	box-shadow: 0 0 12px rgba(255, 217, 61, 0.42);
	transform: rotate(8deg) skew(-8deg);
	pointer-events: none;
}
@media (max-width: 380px) {
	.prolistli .dz-jersey-link .rf-jersey-new {
		right: 5px;
		padding: 2px 5px;
		font-size: 9px;
	}
}
