/* ========== JANICE BEAUTY PRO - Main Page ========== */
/* 强制覆盖common.css的body灰色背景和白边 */
html {
	background: #fff !important;
}
body.main-body {
	background: #fff !important;
	margin: 0 !important;
	padding: 0 !important;
}

.page img {
	max-width: none !important;
}
.page .jb-hero-cover,
.page .jb-full-img,
.page .jb-cell-img {
	max-width: none !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.page {
	min-height: 100vh;
	background: #fff;
	color: #111;
	font-family: 'Montserrat', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
}

/* ---------- 首屏：整视口 + top.png 铺满（不露出下方内容区） ---------- */
.jb-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	max-height: 100vh;
	box-sizing: border-box;
	display: flex;
	align-items: stretch;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}

/* 移动端动态视口，减少地址栏伸缩时露出下方栅格 */
@supports (height: 100dvh) {
	.jb-hero {
		height: 100dvh;
		min-height: 100dvh;
		max-height: 100dvh;
	}
}

.jb-hero-cover {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	object-fit: cover;
}

.jb-hero-inner {
	position: relative;
	z-index: 5;
	width: 100%;
	max-width: 100%;
	flex: 1;
	min-height: 0;
	margin: 0 auto;
	padding: calc(12px + env(safe-area-inset-top, 0px)) 22px 24px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	pointer-events: none;
}

/* hero 内仅交互元素恢复鼠标事件 */
.jb-logo,
.jb-main-nav,
.jb-topbar-tools,
.search-dropdown-wrapper {
	pointer-events: auto;
}

.jb-topbar {
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-bottom: 4px;
	padding: 0 4px;
}

.jb-topbar-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 48px;
	padding: 10px 0 14px;
	box-sizing: border-box;
	overflow: visible;
}

.jb-logo {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: block;
}

.jb-logo img {
	height: clamp(32px, 2.8vw, 44px);
	width: auto;
	display: block;
}

/* 主导航：相对整页宽度水平居中（与右侧工具区互不挤压） */
.jb-main-nav {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 2.8vw, 40px);
	z-index: 2;
	pointer-events: auto;
	max-width: calc(100% - 200px);
}

.jb-main-nav-item {
	flex-shrink: 0;
	/*font-size: clamp(12px, 1.05vw, 15px);*/
	font-size: 16px;
	letter-spacing: 0.08em;
	color: #DB695D;
	white-space: nowrap;
	cursor: pointer;
	text-decoration: none;
	font-weight: bold;
	transition: color 0.25s ease;
}

.jb-main-nav-item:hover {
	color: #B8544D;
}

.jb-topbar-tools {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: clamp(18px, 2.6vw, 32px);
}

.jb-search-hit {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 2px;
	cursor: pointer;
}

.jb-menu-hit {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 2px;
	cursor: pointer;
}

.jb-search-txt,
.jb-menu-txt {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #DB695D;
	line-height: 1;
}

.jb-ico {
	line-height: 1;
	color: #DB695D;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 搜索/菜单图标图片 */
.jb-ico--search {
	width: clamp(16px, 1.4vw, 20px);
	height: auto;
	display: block;
	cursor: pointer;
}

.jb-ico--menu {
	width: clamp(17px, 1.35vw, 22px);
	height: auto;
	display: block;
	cursor: pointer;
}

/* ---------- 搜索下拉面板 ---------- */
.search-dropdown-wrapper {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 100;
}

.search-dropdown-mask {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
}

.search-dropdown {
	position: absolute;
	top: 0;
	right: 0;
	width: 420px;
	max-width: 90vw;
	z-index: 101;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	border-top: 1px solid #f0f0f0;
	border-left: 1px solid #f0f0f0;
}

.search-dropdown-inner {
	padding: 28px 24px 36px;
	box-sizing: border-box;
}

.search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	border-bottom: 2px solid #111;
	padding-bottom: 8px;
	margin-bottom: 32px;
}

.search-input {
	flex: 1;
	font-size: 16px;
	color: #111;
	background: transparent;
	border: none;
	outline: none;
	padding: 8px 0;
	font-family: inherit;
}

.search-input::placeholder {
	color: #999;
}

.search-icon {
	width: 20px;
	height: auto;
	display: block;
	cursor: pointer;
	padding: 8px;
}

.search-content {
	display: flex;
	flex-direction: row;
	gap: 60px;
}

.search-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.search-section-title {
	font-size: 13px;
	font-weight: 700;
	color: #111;
	letter-spacing: 0.02em;
	margin-bottom: 4px;
}

.search-tags {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.search-tag {
	font-size: 13px;
	color: #666;
	padding: 6px 0;
	cursor: pointer;
	transition: color 0.2s ease;
}

.search-tag:hover {
	color: #111;
}

/* 搜索结果列表 */
.search-result-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 400px;
	overflow-y: auto;
}

.search-result-item {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	padding: 8px 0;
	transition: opacity 0.2s ease;
}

.search-result-item:hover {
	opacity: 0.8;
}

.search-result-img-wrap {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	background: #f8f8f8;
	overflow: hidden;
}

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

.search-result-info {
	flex: 1;
	min-width: 0;
}

.search-result-title {
	font-size: 13px;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 搜索下拉面板进出场动画 */
.search-dropdown-active .search-dropdown {
	animation: searchSlideDown 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes searchSlideDown {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* ---------- 分类大图栅格 ---------- */
.jb-main {
	background: #fff;
	padding: 0 0 6px;
}

.jb-block {
	border-bottom: 6px solid #fff;
	box-sizing: border-box;
}

.jb-block:last-child {
	border-bottom: none;
}

.jb-split {
	position: relative;
	width: 100%;
	background: #fff;
}

/* 2×2 正方格：每格宽高比 1:1 */
.jb-split-cells {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
	width: 100%;
}

.jb-split .jb-cell {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	min-height: 0;
	overflow: hidden;
	box-sizing: border-box;
}

.jb-cell-img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.jb-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 36px;
	min-height: 72px;
	box-sizing: border-box;
	background: rgba(72, 72, 72, 0.22);
}

/* 2×2 区块：标题条贴近整块底部，不再垂直居中 */
.jb-bar--overlay {
	position: absolute;
	left: 50%;
	top: auto;
	bottom: clamp(72px, 9vw, 120px);
	transform: translateX(-50%);
	width: min(96%, 960px);
	z-index: 3;
	pointer-events: none;
	padding: 28px 36px;
	min-height: 80px;
}

.jb-bar-text {
	font-size: clamp(26px, 5.2vw, 44px);
	letter-spacing: 0.1em;
	font-weight: 600;
	color: #fff;
	text-align: center;
	text-transform: none;
	line-height: 1.2;
}

.jb-full {
	position: relative;
	width: 100%;
	min-height: 280px;
	height: auto;
	overflow: hidden;
}

/* 仅倒数第2张通栏大图（HIGH-END BEAUTY DEVICE）加高，不影响最后一张 */
.jb-block--highend .jb-full {
	min-height: 420px;
}

.jb-full-img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.jb-full--gold::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 100% 80% at 50% 20%, rgba(255, 236, 200, 0.55), transparent 55%),
		radial-gradient(circle at 20% 80%, rgba(212, 175, 120, 0.35), transparent 45%),
		linear-gradient(120deg, rgba(255, 248, 230, 0.4), transparent 40%, rgba(255, 220, 180, 0.25));
	mix-blend-mode: soft-light;
}

.jb-bar--bottom {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(96%, 960px);
	z-index: 2;
	padding: 28px 36px;
	min-height: 80px;
}

/* 侧边栏菜单：深色模糊遮罩 + 右侧抽屉 + 黑方块关闭钮压住遮罩 */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 1100;
	overflow: visible;
}

.drawer-mask {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 菜单打开时给整页加模糊+压暗，避免 backdrop-filter 分层 */
.page.page-dimmed {
	filter: blur(10px) brightness(0.55);
	transition: filter 0.35s ease;
}

/* 整块侧栏（白底 + 关闭钮）一起滑动，避免关闭钮与面板错位 */
.drawer-track {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 420px;
	max-width: 85vw;
	z-index: 1;
	overflow: visible;
	transform: translateX(100%);
	will-change: transform;
	transition: transform 1.2s cubic-bezier(0.32, 0.72, 0, 1);
}

/* 进出场动画 */
.drawer-active .drawer-mask {
	opacity: 1;
}

.drawer-active .drawer-track {
	transform: translateX(0);
}

/* 整块落在模糊遮罩上，与白板条留出间隙，不压在头图上（left 相对 drawer-track 左缘） */
.drawer-close {
	position: absolute;
	left: -45px;
	top: calc(0px + env(safe-area-inset-top, 0px));
	z-index: 10;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	cursor: pointer;
}

.drawer-close-x {
	font-size: 26px;
	line-height: 1;
	color: #fff;
	font-weight: 300;
	margin-top: -2px;
}

.drawer-close-img {
	width: 20px;
	height: 20px;
	display: block;
}

.drawer-panel {
	--drawer-gutter: 40px;
	position: absolute;
	inset: 0;
	z-index: 0;
	background: #fff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.drawer-banner {
	flex-shrink: 0;
	padding: var(--drawer-gutter) var(--drawer-gutter) 8px;
	box-sizing: border-box;
	background: #fff;
}

.drawer-banner-img {
	width: 100%;
	height: 220px;
	display: block;
	object-fit: cover;
}

.drawer-menu {
	flex: 1;
	padding: 0 var(--drawer-gutter) 20px;
	background: #fff;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}



.drawer-menu-block:last-child {
	border-bottom: none;
}

.drawer-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	cursor: pointer;
}

.drawer-item--accordion {
	user-select: none;
	cursor: pointer;
}

.drawer-sub {
	padding-bottom: 0;
	padding-left: 28px;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, padding-bottom 0.35s ease;
}

.drawer-sub.is-open {
	opacity: 1;
	padding-bottom: 8px;
}

.drawer-sub-item {
	display: block;
	padding: 12px 0;
	font-size: 14px;
	color: #333;
	letter-spacing: 0.02em;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.2s ease;
}

.drawer-sub-item:hover {
	color: #000000;
}

.drawer-sub-items {
	display: block;
	padding: 2px 0;
	font-size: 14px;
	color: #333;
	letter-spacing: 0.02em;
	cursor: pointer;
}

/* 二维码网格（语言下方） */


.qrcode-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px 12px;
	padding: 4px 0 8px;
}

.qrcode-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.qrcode-item img {
	width: 100%;
	height: auto;
	display: block;
}

.qrcode-item span {
	font-size: 12px;
	color: #333;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.drawer-item-text {
	font-size: 18px;
	color: #111;
	letter-spacing: 0.02em;
	font-weight: 700;
}

.drawer-item-arrow {
	font-size: 22px;
	color: #111;
	font-weight: 300;
	line-height: 1;
	padding: 8px 0 8px 20px;
	margin: -8px 0 -8px 0;
	pointer-events: none;
}

.drawer-bottom {
	flex-shrink: 0;
	padding: 20px var(--drawer-gutter) 28px;
	padding-bottom: calc(28px + constant(safe-area-inset-bottom));
	padding-bottom: calc(28px + env(safe-area-inset-bottom));
	background: #ebebeb;
	border-top: 1px solid #e0e0e0;
}

.drawer-login {
	display: block;
	font-size: 13px;
	color: #555;
	margin-bottom: 14px;
	cursor: pointer;
	font-weight: 400;
	text-transform: lowercase;
	letter-spacing: 0.02em;
}

.drawer-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	cursor: pointer;
	font-size: 13px;
	border-bottom: 1px solid #d8d8d8;
}

.drawer-row:last-child {
	border-bottom: none;
}

.drawer-row-label {
	font-weight: 700;
	color: #333;
	letter-spacing: 0.02em;
}

.drawer-arrow {
	font-size: 12px;
	color: #555;
	font-weight: 400;
	line-height: 1;
}

/* Footer */
.footer {
	background: #000;
	color: #fff;
	padding: 56px 0 40px;
	margin-top: 22px;
}

.footer-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px 80px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px 40px 120px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-col-title {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #fff;
	margin-bottom: 4px;
}

.footer-link {
	font-size: 14px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
}

.footer-link:hover {
	color: rgba(255, 255, 255, 0.9);
}

.footer-contact-line {
	font-size: 14px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.8;
}

.footer-bottom {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.footer-brand-img {
	width: 160px;
	height: auto;
	display: block;
	margin-top: 62px;
	margin-left: 40px;
}

.footer-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
	margin-right: 15%;
}

.footer-meta-line {
	font-size: 14px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.6);
	text-align: left;
	word-break: break-all;
	overflow-wrap: anywhere;
}

/* ==================== 移动端适配（≤768px）==================== */
@media screen and (max-width: 768px) {
	/* ---- 搜索下拉面板 ---- */
	.search-dropdown {
		left: 0;
		right: 0;
		width: 100%;
		max-width: none;
		box-sizing: border-box;
	}

	.search-dropdown-inner {
		padding: 20px 16px 28px;
	}

	.search-input-wrap {
		margin-bottom: 24px;
	}

	.search-input {
		font-size: 15px;
	}

	.search-icon {
		width: 18px;
	}

	.search-content {
		flex-direction: row;
		gap: 32px;
	}

	.search-section-title {
		font-size: 12px;
	}

	.search-tag {
		font-size: 12px;
		padding: 5px 0;
	}

	/* ---- Hero 区域 ---- */
	.jb-hero-inner {
		padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 16px;
	}

	.jb-topbar {
		padding: 0;
	}

	.jb-topbar-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-top: 8px;
		padding-bottom: 12px;
		min-height: 0;
		gap: 0;
	}

	.jb-main-nav {
		position: static;
		transform: none;
		order: 0;
		max-width: none;
		flex-wrap: nowrap;
		gap: clamp(8px, 1.8vw, 16px);
		padding: 0;
		justify-content: flex-start;
		flex: 1;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		mask-image: linear-gradient(to right, transparent, #000 0, #000 calc(100% - 12px), transparent);
		-webkit-mask-image: linear-gradient(to right, transparent, #000 0, #000 calc(100% - 12px), transparent);
	}

	.jb-main-nav::-webkit-scrollbar {
		display: none;
	}

	.jb-main-nav-item {
		font-size: 14px;
		letter-spacing: 0.04em;
		white-space: nowrap;
		flex-shrink: 0;
	}

	.jb-topbar-tools {
		order: 0;
		justify-content: flex-end;
		flex-wrap: nowrap;
		row-gap: 0;
		gap: clamp(14px, 3vw, 24px);
		flex-shrink: 0;
	}

	.jb-logo {
		display: none !important;
	}

	/* 移动端搜索/菜单只显示图标，隐藏文字 */
	.jb-search-txt,
	.jb-menu-txt {
		display: none;
	}

	.jb-search-hit,
	.jb-menu-hit {
		gap: 0;
		padding: 6px;
	}

	.jb-ico--search {
		width: 20px;
	}

	.jb-ico--menu {
		width: 22px;
	}

	/* ---- 栅格区域 ---- */
	.jb-split-cells {
		gap: 4px;
	}

	.jb-bar {
		padding: 16px 18px;
		min-height: 48px;
	}

	.jb-bar--overlay {
		bottom: 16px;
		width: min(78%, 560px);
		padding: 14px 16px;
		min-height: 44px;
	}

	.jb-bar-text {
		font-size: clamp(16px, 4.5vw, 26px);
	}

	.jb-full {
		min-height: 200px;
	}

	/* 仅倒数第2张通栏大图（HIGH-END BEAUTY DEVICE）加高，不影响最后一张 */
	.jb-block--highend .jb-full {
		min-height: 300px;
	}

	.jb-bar--bottom {
		width: min(78%, 560px);
		padding: 14px 16px;
		min-height: 44px;
	}

	/* ---- Footer ---- */
	.footer {
		padding: 36px 0 28px;
	}

	.footer-cols {
		grid-template-columns: 1fr 1fr;
		gap: 24px 28px;
		padding: 0 20px 28px;
		margin-bottom: 32px;
	}

	.footer-col-title {
		font-size: 14px;
		margin-bottom: 6px;
	}

	.footer-col {
		gap: 8px;
	}

	.footer-link {
		font-size: 13px;
		line-height: 1.6;
	}

	.footer-bottom {
		padding: 0 20px;
		gap: 16px;
	}

	.footer-brand-img {
		margin-top: 0;
		width: 120px;
	}

	.footer-meta {
		margin-right: 0;
		gap: 6px;
	}

	.footer-meta-line {
		font-size: 12px;
		line-height: 1.9;
	}

	/* ---- 侧边栏 ---- */
	.drawer-track {
		width: 320px;
		max-width: 82vw;
	}

	.drawer-banner-img {
		height: 160px;
	}

	.drawer-panel {
		--drawer-gutter: 24px;
	}

	.qrcode-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px 8px;
	}
}

/* ==================== 超小屏幕适配（≤480px）==================== */
@media screen and (max-width: 480px) {
	.jb-hero-inner {
		padding: calc(6px + env(safe-area-inset-top, 0px)) 10px 12px;
	}

	.jb-main-nav {
		gap: 8px;
		padding: 0;
	}

	.jb-main-nav-item {
		font-size: 13px;
		letter-spacing: 0.03em;
	}

	.jb-ico--search {
		width: 18px;
	}

	.jb-ico--menu {
		width: 20px;
	}

	.jb-bar-text {
		font-size: clamp(13px, 4vw, 20px);
		letter-spacing: 0.06em;
	}

	.jb-bar--overlay {
		bottom: 10px;
		width: min(72%, 440px);
		padding: 10px 12px;
		min-height: 36px;
	}

	.jb-bar--bottom {
		width: min(72%, 440px);
		padding: 10px 12px;
		min-height: 36px;
	}

	.jb-full {
		min-height: 160px;
	}

	/* 仅倒数第2张通栏大图（HIGH-END BEAUTY DEVICE）加高，不影响最后一张 */
	.jb-block--highend .jb-full {
		min-height: 240px;
	}

	.footer {
		padding: 28px 0 20px;
	}

	.footer-cols {
		grid-template-columns: 1fr 1fr;
		gap: 18px 20px;
		padding: 0 16px 20px;
		margin-bottom: 20px;
	}

	.footer-col-title {
		font-size: 13px;
		margin-bottom: 4px;
	}

	.footer-link {
		font-size: 12px;
	}

	.footer-bottom {
		padding: 0 16px;
		gap: 12px;
	}

	.footer-brand-img {
		margin-top: 0;
		width: 100px;
	}

	.footer-meta {
		gap: 4px;
	}

	.footer-meta-line {
		font-size: 11px;
		line-height: 1.8;
	}

	.drawer-track {
		width: 280px;
		max-width: 80vw;
	}

	.drawer-banner-img {
		height: 120px;
	}

	.drawer-item {
		padding: 16px 0;
	}

	.drawer-item-text {
		font-size: 14px;
	}

	.qrcode-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px 8px;
	}
}

/* ==================== 商品页顶部栏 ==================== */
.goods-header-wrap {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid #eee;
}

.goods-header {
	position: relative;
}

.goods-header-inner {
	max-width: 1794px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.goods-header-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.goods-header-logo img {
	height: 40px;
	width: auto;
	display: block;
}

.goods-header-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.goods-header-nav a {
	color: #7e7c7c;
	text-decoration: none;
	font-size: 16px;
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.goods-header-nav a:hover {
	color: #000;
}

.goods-header-nav a.active {
	font-weight: 600;
	color: #000;
}

.goods-header-tools {
	display: flex;
	align-items: center;
	gap: 20px;
}

.goods-header-tool {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: #333;
}

/* 商品页搜索下拉（覆盖首页样式） */
.goods-header .search-dropdown-wrapper {
	position: absolute;
	top: 64px;
	left: 0;
	right: 0;
	z-index: 99;
}

.goods-header .search-dropdown-mask {
	position: fixed;
	inset: 0;
	background: transparent;
	z-index: -1;
}

.goods-header .search-dropdown {
	position: absolute;
	top: 0;
	right: 22px;
	width: 420px;
	max-width: 100vw;
	z-index: 101;
	background: #fff;
	padding: 0;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	border-top: 1px solid #f0f0f0;
	border-left: 1px solid #f0f0f0;
	transform: translateY(-20px);
	opacity: 0;
	transition: all .35s cubic-bezier(.22,1,.36,1);
	pointer-events: none;
}

.goods-header .search-dropdown-active .search-dropdown {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.goods-header .search-dropdown-inner {
	padding: 28px 24px 36px;
	box-sizing: border-box;
}

.goods-header .search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	border-bottom: 2px solid #111;
	padding-bottom: 8px;
	margin-bottom: 32px;
}

.goods-header .search-input {
	flex: 1;
	font-size: 16px;
	color: #111;
	background: transparent;
	border: none;
	outline: none;
	padding: 8px 0;
	font-family: inherit;
}

.goods-header .search-input::placeholder {
	color: #999;
}

.goods-header .search-icon {
	width: 18px;
	height: 18px;
	display: block;
	cursor: pointer;
	padding: 8px;
}

.goods-header .search-content {
	display: flex;
	flex-direction: row;
	gap: 60px;
}

.goods-header .search-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.goods-header .search-section-title {
	font-size: 13px;
	font-weight: 700;
	color: #111;
	letter-spacing: 0.02em;
	margin-bottom: 4px;
}

.goods-header .search-tags {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.goods-header .search-tag {
	font-size: 13px;
	color: #666;
	padding: 6px 0;
	cursor: pointer;
	transition: color 0.2s ease;
}

.goods-header .search-tag:hover {
	color: #111;
}

.goods-header .search-result-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 400px;
	overflow-y: auto;
}

.goods-header .search-result-item {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	padding: 8px 0;
	transition: opacity 0.2s ease;
}

.goods-header .search-result-item:hover {
	opacity: 0.8;
}

.goods-header .search-result-img-wrap {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	background: #f8f8f8;
	overflow: hidden;
}

.goods-header .search-result-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.goods-header .search-result-info {
	flex: 1;
	min-width: 0;
}

.goods-header .search-result-title {
	font-size: 13px;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ==================== 移动端商品页顶部适配 ==================== */
@media screen and (max-width: 768px) {
	.goods-header-nav {
		display: none;
	}
}

/* ==================== PC端（≥769px）==================== */
@media screen and (min-width: 769px) {
	.jb-full {
		min-height: clamp(360px, 42vw, 620px);
		height: clamp(360px, 42vw, 620px);
	}

	/* 仅倒数第2张通栏大图（HIGH-END BEAUTY DEVICE）加高，不影响最后一张 */
	.jb-block--highend .jb-full {
		min-height: clamp(540px, 63vw, 930px);
		height: clamp(540px, 63vw, 930px);
	}

	.footer-cols {
		grid-template-columns: repeat(3, 1fr);
	}

	.footer-bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
	}
}
