html {
	background: #e6eaf2;
}

body {
	margin: 0 auto;
	max-width: var(--mall-page-max);
	box-shadow: 0 0 24px rgba(23, 32, 51, 0.08);
	background: #f5f7fb;
	color: #172033;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
	font-size: 14px;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}

:root {
	--mall-primary: #1478f2;
	--mall-primary-dark: #0761cf;
	--mall-primary-soft: #eaf3ff;
	--mall-danger: #e5484d;
	--mall-text: #172033;
	--mall-muted: #758096;
	--mall-line: #e6eaf0;
	--mall-surface: #ffffff;
	--mall-bg: #f5f7fb;
	--mall-safe-bottom: env(safe-area-inset-bottom, 0px);
	--mall-page-max: 720px;
}

* {
	box-sizing: border-box;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

.mall-page {
	min-height: 100vh;
	padding-bottom: 70px;
	border-bottom: var(--mall-safe-bottom) solid transparent;
}

.mall-page.no-bottom-nav {
	padding-bottom: 24px;
	border-bottom: var(--mall-safe-bottom) solid transparent;
}

.mall-topbar {
	position: sticky;
	top: 0;
	z-index: 1030;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	min-height: 52px;
	padding: 0 6px;
	background: var(--mall-primary);
	color: #fff;
	box-shadow: 0 2px 8px rgba(19, 55, 102, 0.14);
}

.mall-topbar h1 {
	overflow: hidden;
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mall-icon-button {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 22px;
}

.mall-topbar-action {
	justify-self: end;
	width: auto;
	min-width: 42px;
	padding: 0 8px;
	font-size: 14px;
	white-space: nowrap;
}

.mall-content {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 12px;
}

.mall-card {
	border: 1px solid rgba(29, 46, 75, 0.06);
	border-radius: 8px;
	background: var(--mall-surface);
	box-shadow: 0 2px 10px rgba(26, 51, 89, 0.06);
}

.mall-section-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	padding: 0 12px;
	font-size: 16px;
	font-weight: 600;
}

.mall-section-title::before {
	width: 4px;
	height: 18px;
	margin-right: 8px;
	border-radius: 2px;
	background: var(--mall-primary);
	content: "";
}

.mall-section-title > :first-child {
	margin-right: auto;
}

.mall-form-control {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #dce2eb;
	border-radius: 8px;
	outline: none;
	background: #fff;
	color: var(--mall-text);
}

.mall-form-control:focus {
	border-color: var(--mall-primary);
	box-shadow: 0 0 0 3px rgba(20, 120, 242, 0.12);
}

.mall-primary-button,
.mall-outline-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid var(--mall-primary);
	border-radius: 8px;
	font-weight: 600;
}

.mall-primary-button {
	background: var(--mall-primary);
	color: #fff;
}

.mall-outline-button {
	background: #fff;
	color: var(--mall-primary);
}

.mall-primary-button:disabled {
	border-color: #a9c8ee;
	background: #a9c8ee;
}

.mall-bottom-nav {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	max-width: var(--mall-page-max);
	margin: 0 auto;
	z-index: 1040;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	min-height: 60px;
	padding: 5px 4px var(--mall-safe-bottom);
	border-top: 1px solid var(--mall-line);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 -2px 12px rgba(24, 44, 74, 0.06);
}

.mall-bottom-nav > a {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-width: 0;
	color: #667085;
	font-size: 11px;
	line-height: 1.2;
}

.mall-bottom-nav > a.active {
	background: transparent !important;
	color: var(--mall-primary);
}

.mall-bottom-nav i {
	margin-bottom: 2px;
	font-size: 23px;
	line-height: 26px;
}

.nav-icon-wrap {
	position: relative;
	height: 28px;
}

.cart-count {
	position: absolute;
	top: -3px;
	right: -12px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border: 2px solid #fff;
	border-radius: 9px;
	background: var(--mall-danger);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 13px;
	text-align: center;
}

.mall-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: 260px;
	padding: 30px;
	color: var(--mall-muted);
	text-align: center;
}

.mall-empty i {
	margin-bottom: 10px;
	color: #b7c1d1;
	font-size: 48px;
}

.text-mall-primary {
	color: var(--mall-primary) !important;
}

.auth-body {
	min-height: 100vh;
	background: linear-gradient(180deg, var(--mall-primary) 0, #368cf5 27%, #edf5ff 62%, #fff 100%);
}

.auth-web-page {
	position: relative;
	width: 100%;
	max-width: 520px;
	min-height: 100vh;
	margin: 0 auto;
	padding: max(54px, env(safe-area-inset-top)) 18px 32px;
}

.auth-language {
	position: absolute;
	top: max(8px, env(safe-area-inset-top));
	right: 10px;
}

.auth-language-button {
	display: inline-flex;
	gap: 7px;
	width: auto;
	padding: 0 8px;
	color: #fff;
	font-size: 13px;
}

.auth-brand-block {
	padding: 26px 0 30px;
	color: #fff;
	text-align: center;
}

.auth-logo {
	width: 72px;
	height: 72px;
	margin-bottom: 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.92);
	object-fit: contain;
}

.auth-brand-block h1 {
	margin: 0;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 0;
}

.auth-brand-block p {
	margin: 5px 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
}

.auth-web-form {
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 14px 36px rgba(17, 67, 128, 0.16);
}

.auth-mode-tabs,
.auth-verify-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	margin-bottom: 18px;
	padding: 4px;
	border-radius: 8px;
	background: #edf2f8;
}

.auth-mode-tabs button,
.auth-verify-tabs button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	padding: 5px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #667085;
	transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.auth-mode-tabs button.active,
.auth-mode-tabs button.active:hover,
.auth-mode-tabs button.active:focus,
.auth-mode-tabs button.active:active {
	background: var(--mall-primary) !important;
	color: #fff;
	font-weight: 600;
	box-shadow: 0 3px 10px rgba(20, 120, 242, 0.28);
}

.auth-verify-tabs button.active {
	background: #fff;
	color: var(--mall-primary);
	box-shadow: 0 2px 8px rgba(27, 63, 110, 0.08);
}

.auth-verify-tabs {
	margin: 14px 0 2px;
}

.auth-field-label {
	display: block;
	margin: 14px 2px 7px;
	color: #4b5565;
	font-size: 13px;
	font-weight: 500;
}

.auth-input-group {
	display: flex;
	align-items: center;
	min-height: 50px;
	border: 1px solid #dce2eb;
	border-radius: 8px;
	background: #fff;
}

.auth-input-group:focus-within {
	border-color: var(--mall-primary);
	box-shadow: 0 0 0 3px rgba(20, 120, 242, 0.1);
}

.auth-control,
.auth-area-input {
	min-width: 0;
	height: 48px;
	border: 0;
	outline: 0;
	background: #fff;
	color: var(--mall-text);
}

.auth-control {
	flex: 1;
	padding: 0 12px;
}

.auth-control.full {
	display: block;
	width: 100%;
	border: 1px solid #dce2eb;
	border-radius: 8px;
}

.auth-control.full:focus {
	border-color: var(--mall-primary);
	box-shadow: 0 0 0 3px rgba(20, 120, 242, 0.1);
}

.auth-area-input {
	display: flex;
	flex: 0 0 76px;
	align-items: center;
	justify-content: space-between;
	width: 76px;
	padding: 0 9px 0 12px;
	border-right: 1px solid #e6eaf0;
	border-radius: 8px 0 0 8px;
	color: var(--mall-primary);
	font-weight: 600;
}

.auth-area-input i {
	font-size: 11px;
}

#country-list .list-group-item.active,
#country-list .list-group-item.active:hover,
#country-list .list-group-item.active:focus,
#country-list .list-group-item.active:active {
	border-color: var(--mall-primary);
	background-color: var(--mall-primary) !important;
	color: #fff !important;
}

.auth-leading-icon {
	margin-left: 13px;
	color: var(--mall-primary);
	font-size: 18px;
}

.auth-password-button {
	flex: 0 0 44px;
	color: #778196;
	font-size: 18px;
}

.auth-code-button {
	align-self: stretch;
	padding: 0 12px;
	border: 0;
	border-left: 1px solid #e5eaf1;
	background: #fff;
	color: var(--mall-primary);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.auth-assist-row {
	display: flex;
	justify-content: flex-end;
	margin: 12px 2px 18px;
	color: var(--mall-primary);
	font-size: 13px;
}

.auth-submit {
	width: 100%;
	margin-top: 20px;
}

.auth-secondary-link {
	display: block;
	padding: 18px 0 2px;
	color: var(--mall-primary);
	font-weight: 500;
	text-align: center;
}

.auth-sub-page {
	padding-top: max(18px, env(safe-area-inset-top));
}

.auth-page-header {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	margin-bottom: 18px;
	color: #fff;
}

.auth-page-header h1 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0;
	text-align: center;
}

@media (min-width: 560px) {
	.auth-web-page {
		padding-top: 72px;
	}
	.auth-brand-block {
		padding-bottom: 36px;
	}
}

.mall-home-content {
	display: grid;
	gap: 12px;
}

/* 首页轮播图上方的商城品牌信息区：LOGO + 名称 + 客服电话 + 简介 */
.mall-home-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	background: var(--mall-surface);
	border: 1px solid rgba(29, 46, 75, 0.06);
	border-radius: 8px;
}

.mall-home-brand-logo {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
	border: 1px solid var(--mall-line);
	background: #fff;
}

.mall-home-brand-meta {
	min-width: 0;
}

.mall-home-brand-name {
	margin: 0 0 3px;
	font-size: 16px;
	font-weight: 700;
	color: var(--mall-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mall-home-brand-phone {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0 0 3px;
	color: var(--mall-primary);
	font-size: 12px;
	font-weight: 600;
}

.mall-home-brand-desc {
	margin: 0;
	color: var(--mall-muted);
	font-size: 12px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mall-banner-strip {
	display: grid;
	grid-auto-columns: 100%;
	grid-auto-flow: column;
	overflow-x: auto;
	border-radius: 8px;
	background: #e8edf5;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.mall-banner-strip::-webkit-scrollbar {
	display: none;
}

.mall-banner-strip img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
	scroll-snap-align: start;
}

.mall-goods-section {
	overflow: hidden;
}

.mall-section-title > .bi {
	margin-right: 7px;
	color: var(--mall-primary);
	font-size: 17px;
}

.mall-more-link {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin-left: auto;
	color: var(--mall-muted);
	font-size: 12px;
	font-weight: 400;
}

.mall-goods-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	padding: 8px;
}

/* PC 端自适应：宽屏下列表类页面（首页/选货）自动加宽，商品网格按宽度自动增加列数 */
@media (min-width: 900px) {
	body.wide-page {
		--mall-page-max: 1040px;
	}
	body.wide-page .mall-goods-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
	body.wide-page .mall-home-brand {
		max-width: 720px;
		margin: 0 auto;
	}
	@media (hover: hover) {
		body.wide-page .mall-product-card:hover {
			transform: translateY(-2px);
			box-shadow: 0 4px 12px rgba(19, 55, 102, 0.16);
		}
	}
}

.mall-product-card {
	min-width: 0;
	overflow: hidden;
	padding-bottom: 8px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(19, 55, 102, 0.08);
}

.mall-product-image {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: transparent;
}

.mall-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mall-product-name {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	padding: 5px 4px;
	background: rgba(0, 0, 0, 0.34);
	color: #fff;
	font-size: 12px;
	line-height: 18px;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mall-product-price {
	overflow: hidden;
	padding: 7px 6px 0;
	color: var(--mall-primary);
	font-size: 13px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.catalog-page {
	display: flex;
	flex-direction: column;
	height: 100vh;
	padding-bottom: 0;
	border-bottom: 0;
	overflow: hidden;
}

.catalog-page .mall-bottom-nav {
	position: static;
	flex-shrink: 0;
	width: 100%;
}

.catalog-search {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	margin: 10px 10px 8px;
	border: 1px solid var(--mall-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(25, 48, 82, 0.05);
}

.catalog-search i {
	justify-self: center;
	color: var(--mall-muted);
	font-size: 17px;
}

.catalog-search input {
	min-width: 0;
	height: 44px;
	border: 0;
	outline: 0;
	background: transparent;
}

.catalog-search button {
	align-self: stretch;
	padding: 0 13px;
	border: 0;
	border-left: 1px solid var(--mall-line);
	background: transparent;
	color: var(--mall-primary);
}

.catalog-special-tabs {
	display: flex;
	overflow-x: auto;
	min-height: 40px;
	padding: 0 6px;
	border-bottom: 1px solid var(--mall-line);
	background: #fff;
	scrollbar-width: none;
}

.catalog-special-tabs a,
.catalog-special-tabs button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding: 0 12px;
	border: 0;
	background: transparent;
	color: #566176;
	font-size: 13px;
	cursor: pointer;
}

.catalog-special-tabs a.active,
.catalog-special-tabs button.active {
	color: var(--mall-primary);
	font-weight: 600;
}

.catalog-body {
	display: grid;
	grid-template-columns: minmax(82px, 26%) minmax(0, 1fr);
	flex: 1;
	min-height: 0;
}

.catalog-categories,
.catalog-products {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.catalog-categories {
	background: #edf2f7;
}

.catalog-categories > a,
.catalog-categories > button,
.catalog-categories details a,
.catalog-categories details button,
.catalog-categories summary {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 8px 6px;
	border-bottom: 1px solid #e1e7ef;
	color: #4c586d;
	font-size: 13px;
	line-height: 18px;
	text-align: center;
	word-break: break-word;
}

.catalog-categories > button,
.catalog-categories details button {
	width: 100%;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	background: transparent;
	cursor: pointer;
}

.catalog-categories a.active,
.catalog-categories button.active,
.catalog-categories summary.active {
	background: #fff;
	color: var(--mall-primary);
	font-weight: 600;
}

.catalog-categories summary {
	position: relative;
	list-style: none;
	cursor: pointer;
}

.catalog-categories summary::-webkit-details-marker {
	display: none;
}

.catalog-categories summary i {
	position: absolute;
	right: 3px;
	font-size: 10px;
}

.catalog-categories details[open] summary i {
	transform: rotate(180deg);
}

.catalog-categories details a,
.catalog-categories details button {
	min-height: 43px;
	padding-left: 11px;
	background: #f7f9fc;
	font-size: 12px;
}

.catalog-products {
	padding: 8px;
	background: #fff;
}

.catalog-product {
	display: block;
	overflow: hidden;
	margin-bottom: 9px;
}

.catalog-product-image {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: transparent;
}

.catalog-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.catalog-product-image > div {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	padding: 6px;
	background: rgba(0, 0, 0, 0.34);
	color: #fff;
	font-size: 13px;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.catalog-product-info {
	position: relative;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 3px;
	min-height: 54px;
	padding: 8px 42px 8px 9px;
}

.catalog-product-info strong {
	color: var(--mall-primary);
	font-size: 15px;
}

.catalog-product-info strong small,
.catalog-product-info span {
	color: var(--mall-muted);
	font-size: 12px;
	font-weight: 400;
}

.catalog-product-info > i {
	position: absolute;
	right: 10px;
	top: 12px;
	color: var(--mall-primary);
	font-size: 27px;
}

.catalog-pagination {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 42px;
	align-items: center;
	padding: 8px 0 16px;
	color: var(--mall-muted);
	text-align: center;
}

.catalog-pagination a {
	display: grid;
	place-items: center;
	height: 38px;
	border: 1px solid var(--mall-line);
	border-radius: 8px;
	background: #fff;
	color: var(--mall-primary);
}

.goods-detail-page {
	padding-bottom: 76px;
	border-bottom: var(--mall-safe-bottom) solid transparent;
}

.goods-detail-images {
	display: grid;
	grid-auto-columns: 100%;
	grid-auto-flow: column;
	overflow-x: auto;
	background: #fff;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.goods-detail-images img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	scroll-snap-align: start;
}

.goods-detail-content-wrap {
	display: grid;
	gap: 10px;
	max-width: 720px;
	margin: 10px auto 0;
	padding: 0 10px 14px;
}

.goods-summary,
.goods-option-section,
.goods-description {
	padding: 14px;
}

.goods-summary-line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.goods-summary-line strong {
	color: var(--mall-primary);
	font-size: 23px;
}

.goods-summary-line span,
.goods-summary p {
	color: var(--mall-muted);
	font-size: 13px;
}

.goods-summary h2 {
	margin: 9px 0 0;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0;
}

.goods-summary p {
	margin: 7px 0 0;
}

.goods-option-section h3,
.goods-description h3 {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
}

.goods-spec-group + .goods-spec-group {
	margin-top: 14px;
}

.goods-spec-group p,
.goods-option-section > p {
	margin: 0 0 8px;
	color: var(--mall-muted);
	font-size: 13px;
}

.goods-option-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.goods-option-list label {
	position: relative;
}

.goods-option-list input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.goods-option-list span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 5px 14px;
	border: 1px solid #dce2eb;
	border-radius: 6px;
	background: #fff;
}

.goods-option-list input:checked + span {
	border-color: var(--mall-primary);
	background: var(--mall-primary-soft);
	color: var(--mall-primary);
	font-weight: 600;
}

.goods-description img {
	max-width: 100%;
	height: auto;
}

.goods-detail-actions {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	max-width: var(--mall-page-max);
	margin: 0 auto;
	z-index: 1040;
	display: grid;
	grid-template-columns: minmax(104px, 0.8fr) minmax(122px, 1fr) minmax(98px, 0.8fr);
	gap: 7px;
	align-items: center;
	min-height: 66px;
	padding: 8px 9px 8px;
	border-bottom: var(--mall-safe-bottom) solid transparent;
	border-top: 1px solid var(--mall-line);
	background: #fff;
}

.goods-detail-actions > button {
	min-width: 0;
	padding: 0 8px;
	font-size: 13px;
}

.goods-detail-actions > button i {
	margin-right: 4px;
}

.goods-quantity-stepper {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) 32px;
	height: 40px;
	border: 1px solid #dce2eb;
	border-radius: 8px;
	overflow: hidden;
}

.goods-quantity-stepper button,
.goods-quantity-stepper input {
	min-width: 0;
	border: 0;
	background: #fff;
	text-align: center;
}

/* Product detail uses continuous sections and keeps purchasing reachable on phones. */
body.goods-detail-body { background: #fff; }
.goods-detail-body .goods-detail-content-wrap { max-width: none; margin: 0; padding: 20px 18px 24px; gap: 0; }
.goods-detail-body .goods-summary { padding: 0 0 20px; border-bottom: 1px solid var(--mall-line); }
.goods-detail-body .goods-summary h2 { margin: 0 0 16px; font-size: 21px; line-height: 1.5; overflow-wrap: anywhere; }
.goods-detail-body .goods-price-strip { display: grid; gap: 6px; padding: 14px 16px; background: #f0f6ff; }
.goods-detail-body .goods-price-label { color: var(--mall-muted); font-size: 12px; }
.goods-detail-body .goods-summary-line { justify-content: flex-start; flex-wrap: wrap; gap: 4px 8px; }
.goods-detail-body .goods-summary-line strong { font-size: 26px; color: #0864cf; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.goods-detail-body .goods-stock-line { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; }
.goods-detail-body .goods-stock-line > .bi { color: #688c79; }
.goods-detail-body .goods-option-section { padding: 20px 0; border-bottom: 1px solid var(--mall-line); }
.goods-detail-body .goods-option-section > h3 { font-size: 14px; color: #576575; margin: 0 0 12px; }
.goods-detail-body .goods-option-section > p { margin: 0; color: #242b36; font-size: 14px; overflow-wrap: anywhere; }
.goods-detail-body .goods-option-list > .btn { display: inline-flex; align-items: center; justify-content: center; min-width: 60px; min-height: 40px; max-width: 100%; padding: 8px 14px; margin: 0; font-size: 14px; line-height: 1.5; border-color: #d5dde7; color: #424e60; border-radius: 5px; overflow-wrap: anywhere; }
.goods-detail-body .goods-option-list > .btn-check:checked + .btn { color: #0864cf; border-color: var(--mall-primary); background: #edf5ff; box-shadow: inset 0 0 0 1px var(--mall-primary); font-weight: 600; }
.goods-detail-body .goods-option-list > .btn-check:focus-visible + .btn { outline: 2px solid var(--mall-primary); outline-offset: 3px; }
.goods-detail-body .goods-quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.goods-detail-body .goods-quantity-row > label { color: #576575; font-size: 14px; }
.goods-detail-body .goods-quantity-stepper { width: 148px; flex: none; height: 42px; border-radius: 5px; }
.goods-detail-body .goods-quantity-stepper button { background: #f7f9fc; color: #4d6078; }
.goods-detail-body .goods-description { padding: 20px 0 0; border-top: 1px solid var(--mall-line); }
.goods-detail-body .goods-description h3 { color: #242b36; font-size: 16px; }
.goods-detail-body .goods-description-content { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; overflow-x: auto; }
.goods-detail-body .goods-detail-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 16px; }
.goods-detail-body .goods-detail-actions > .btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px; font-size: 14px; line-height: 1.5; border-radius: 5px; }
.goods-detail-body .goods-detail-actions > .btn i { margin: 0; flex: none; font-size: 18px; }
.goods-detail-body .goods-detail-actions > .btn span { min-width: 0; overflow-wrap: anywhere; }

/* 登录/关注等无头部页面的首页图标：锚定内容列角落（与 auth-language 的右上角定位镜像） */
.mall-home-float {
	position: absolute;
	top: max(8px, env(safe-area-inset-top));
	right: 10px;
	z-index: 1040;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--mall-primary);
	font-size: 20px;
	box-shadow: 0 2px 8px rgba(19, 55, 102, 0.18);
	text-decoration: none;
}

.mall-home-float-left {
	right: auto;
	left: 10px;
}

.cart-page {
	padding-bottom: 132px;
	border-bottom: var(--mall-safe-bottom) solid transparent;
}

/* 购物车数量步进器（与选货页 catalog-product-stepper 同款式） */
.cart-stepper {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.cart-stepper-button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--mall-primary);
	font-size: 24px;
	line-height: 1;
}

.cart-stepper-button.cart-stepper-remove {
	color: var(--mall-danger);
	font-size: 20px;
}

.cart-stepper-input {
	width: 72px;
	padding: 2px 4px;
	text-align: center;
	font-size: 13px;
	color: #333;
	background: #fff;
	border: 1px solid #d9e2ef;
	border-radius: 6px;
}

.cart-checkout-bar {
	position: fixed;
	right: 0;
	bottom: 60px;
	left: 0;
	max-width: var(--mall-page-max);
	margin: 0 auto var(--mall-safe-bottom);
	z-index: 1035;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(120px, 34%);
	align-items: center;
	min-height: 62px;
	padding: 7px 10px;
	border-top: 1px solid var(--mall-line);
	background: #fff;
}

.cart-checkout-bar > div {
	display: flex;
	align-items: baseline;
	gap: 7px;
	min-width: 0;
}

.cart-checkout-bar strong {
	color: var(--mall-primary);
	font-size: 20px;
}

.cart-checkout-bar small {
	color: var(--mall-muted);
}

.checkout-page {
	padding-bottom: 78px;
	border-bottom: var(--mall-safe-bottom) solid transparent;
}

.checkout-form {
	display: grid;
	gap: 10px;
}

.checkout-goods,
.checkout-fields {
	overflow: hidden;
}

.checkout-goods h2 {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 13px;
	border-bottom: 1px solid var(--mall-line);
	font-size: 16px;
	letter-spacing: 0;
}

.checkout-goods h2 span {
	color: var(--mall-muted);
	font-size: 13px;
	font-weight: 400;
}

.checkout-goods-item {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) auto;
	gap: 9px;
	align-items: center;
	padding: 10px 12px;
	border-bottom: 1px solid var(--mall-line);
}

.checkout-goods-item img {
	width: 62px;
	height: 62px;
	border-radius: 6px;
	object-fit: contain;
}

.checkout-goods-item div {
	min-width: 0;
}

.checkout-goods-item div > strong {
	display: block;
	overflow: hidden;
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.checkout-goods-item p,
.checkout-goods-item span {
	margin: 3px 0;
	color: var(--mall-muted);
	font-size: 12px;
}

.checkout-goods-item > b {
	color: var(--mall-primary);
	font-size: 13px;
}

.checkout-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px;
}

.checkout-total strong {
	color: var(--mall-primary);
	font-size: 18px;
}

.checkout-fields > label,
.checkout-delivery {
	display: grid;
	grid-template-columns: minmax(105px, 34%) minmax(0, 1fr);
	align-items: center;
	min-height: 50px;
	padding: 8px 12px;
	border-bottom: 1px solid var(--mall-line);
}

.checkout-fields input[type="text"],
.checkout-fields input[type="text"],
.checkout-fields input[type="date"] {
	width: 100%;
	height: 38px;
	padding: 0 8px;
	border: 1px solid #dce2eb;
	border-radius: 6px;
	outline: 0;
}

.checkout-delivery > div {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}

.checkout-delivery label {
	position: relative;
}

.checkout-delivery input {
	position: absolute;
	opacity: 0;
}

.checkout-delivery label span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 4px 10px;
	border: 1px solid #dce2eb;
	border-radius: 6px;
}

.checkout-delivery input:checked + span {
	border-color: var(--mall-primary);
	background: var(--mall-primary-soft);
	color: var(--mall-primary);
}

.checkout-submit-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	max-width: var(--mall-page-max);
	margin: 0 auto;
	z-index: 1040;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(128px, 35%);
	gap: 10px;
	align-items: center;
	min-height: 66px;
	padding: 8px 10px 8px;
	border-bottom: var(--mall-safe-bottom) solid transparent;
	border-top: 1px solid var(--mall-line);
	background: #fff;
}

.checkout-submit-bar div {
	display: flex;
	align-items: baseline;
	gap: 7px;
}

.checkout-submit-bar strong {
	color: var(--mall-primary);
	font-size: 19px;
}

.order-success {
	display: grid;
	gap: 14px;
	justify-items: center;
	margin-top: 42px;
	padding: 30px 20px;
	text-align: center;
}

.order-success > i {
	color: #20a464;
	font-size: 58px;
}

.order-success h2,
.order-success p {
	margin: 0;
	letter-spacing: 0;
}

.order-success h2 {
	font-size: 19px;
}

.goods-quantity-stepper input {
	width: 100%;
	border-right: 1px solid #e5eaf1;
	border-left: 1px solid #e5eaf1;
}

.account-page {
	min-height: 100vh;
	background: var(--mall-bg);
}

.order-search {
	position: sticky;
	top: 52px;
	z-index: 20;
	padding: 9px 10px;
	border-bottom: 1px solid var(--mall-line);
	background: rgba(255, 255, 255, .96);
}

.order-status-tabs {
	display: flex;
	gap: 7px;
	overflow-x: auto;
	padding-bottom: 8px;
	scrollbar-width: none;
}

.order-status-tabs::-webkit-scrollbar {
	display: none;
}

.order-status-tabs a {
	flex: 0 0 auto;
	padding: 6px 10px;
	border: 1px solid #dbe3ef;
	border-radius: 6px;
	background: #fff;
	color: #4b5565;
	font-size: 13px;
	text-decoration: none;
}

.order-status-tabs a.active {
	border-color: var(--mall-primary);
	background: var(--mall-primary-soft) !important;
	color: var(--mall-primary);
	font-weight: 600;
}

.order-search-row {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) auto;
	align-items: center;
	height: 42px;
	padding-left: 10px;
	border: 1px solid #dbe3ef;
	border-radius: 6px;
	background: #fff;
}

.order-search-row i {
	color: var(--mall-muted);
}

.order-search-row input {
	min-width: 0;
	border: 0;
	outline: 0;
}

.order-search-row button {
	height: 100%;
	padding: 0 14px;
	border: 0;
	border-radius: 0 5px 5px 0;
	background: var(--mall-primary);
	color: #fff;
}

.order-card-list,
.notice-list,
.follow-list {
	display: grid;
	gap: 10px;
}

.order-summary-card {
	display: block;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
}

.order-summary-head,
.order-summary-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px;
}

.order-summary-head {
	border-bottom: 1px solid var(--mall-line);
}

.order-summary-head > div:first-child {
	min-width: 0;
}

.order-summary-head strong,
.order-summary-head small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.order-summary-head strong {
	font-size: 15px;
}

.order-summary-head small,
.order-summary-foot span {
	margin-top: 2px;
	color: var(--mall-muted);
	font-size: 12px;
}

.status-chip {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 2px 7px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.status-chip.warning {
	background: #fff3cd;
	color: #8a6500;
}

.status-chip.danger {
	background: #fee2e2;
	color: #b42318;
}

.status-chip.info {
	background: #dff4ff;
	color: #05618e;
}

.status-chip.success {
	background: #dcfce7;
	color: #15783e;
}

.order-goods-preview {
	padding: 0 12px;
}

.order-goods-preview > div {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	gap: 9px;
	align-items: center;
	padding: 9px 0;
	border-bottom: 1px solid var(--mall-line);
}

.order-goods-preview img {
	width: 52px;
	height: 52px;
	border-radius: 5px;
	object-fit: contain;
}

.order-goods-preview span {
	min-width: 0;
}

.order-goods-preview b,
.order-goods-preview small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.order-goods-preview b {
	font-size: 13px;
}

.order-goods-preview small,
.order-goods-preview em {
	color: var(--mall-muted);
	font-size: 12px;
	font-style: normal;
}

.order-summary-foot strong {
	color: var(--mall-primary);
}

.mall-pager {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) 40px;
	align-items: center;
	justify-items: center;
	min-height: 44px;
}

.mall-pager a {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid var(--mall-line);
	border-radius: 6px;
	background: #fff;
	color: var(--mall-primary);
}

.mall-pager b {
	font-size: 13px;
	font-weight: 500;
}

.detail-status-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px;
}

.detail-status-card small,
.detail-status-card strong {
	display: block;
}

.detail-status-card small {
	color: var(--mall-muted);
	font-size: 12px;
}

.detail-fields {
	overflow: hidden;
	margin-top: 10px;
}

.detail-fields > div {
	display: grid;
	grid-template-columns: minmax(100px, 34%) minmax(0, 1fr);
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--mall-line);
	font-size: 13px;
}

.detail-fields > div:last-child {
	border-bottom: 0;
}

.detail-fields span {
	color: var(--mall-muted);
}

.detail-fields b {
	text-align: right;
	word-break: break-word;
}

.order-detail-goods {
	overflow: hidden;
	margin-top: 10px;
}

.order-detail-goods h2 {
	margin: 0;
	padding: 13px;
	border-bottom: 1px solid var(--mall-line);
	font-size: 15px;
}

.detail-actions {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.detail-actions > * {
	flex: 1 1 0;
}

.mall-secondary-button {
	min-height: 44px;
	border: 1px solid var(--mall-primary);
	border-radius: 6px;
	background: #fff;
	color: var(--mall-primary);
}

.mall-secondary-button.danger {
	border-color: #dc3545;
	color: #dc3545;
}

.follow-page {
	padding-bottom: 66px;
}

.follow-card {
	position: relative;
	overflow: hidden;
	padding: 10px;
}

.follow-card.current {
	border-color: #9bc5fb;
}

.follow-switch {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 20px;
	gap: 10px;
	align-items: center;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
}

.follow-switch > img,
.follow-switch > span {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 1px solid var(--mall-line);
	border-radius: 6px;
	object-fit: contain;
}

.follow-switch > span {
	background: var(--mall-primary-soft);
	color: var(--mall-primary);
	font-size: 25px;
}

.follow-switch div {
	min-width: 0;
}

.follow-switch strong,
.follow-switch small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.follow-switch small {
	margin-top: 3px;
	color: var(--mall-muted);
	font-size: 12px;
}

.follow-card p {
	margin: 10px 0;
	padding-top: 9px;
	border-top: 1px solid var(--mall-line);
	color: var(--mall-muted);
	font-size: 12px;
}

.follow-cancel {
	display: block;
	min-height: 34px;
	margin-left: auto;
	padding: 0 11px;
	border: 1px solid #dc3545;
	border-radius: 5px;
	background: #fff;
	color: #dc3545;
	font-size: 12px;
}

.follow-add-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	border: 1px dashed #9bc5fb;
	border-radius: 6px;
	background: #fff;
	color: var(--mall-primary);
	text-decoration: none;
}

.follow-count-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	max-width: var(--mall-page-max);
	margin: 0 auto;
	z-index: 30;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
	min-height: 58px;
	padding: 8px 12px 8px;
	border-bottom: var(--mall-safe-bottom) solid transparent;
	border-top: 1px solid var(--mall-line);
	background: #fff;
}

.follow-count-bar strong {
	color: var(--mall-primary);
	font-size: 20px;
}

.follow-count-bar a {
	padding: 9px 14px;
	border-radius: 6px;
	background: var(--mall-primary);
	color: #fff;
	text-decoration: none;
}

.follow-add-form section {
	display: grid;
	gap: 16px;
	padding: 22px 16px;
	text-align: center;
}

.follow-add-form section > i {
	color: var(--mall-primary);
	font-size: 46px;
}

.follow-add-form p {
	margin: 0;
	color: var(--mall-muted);
	font-size: 13px;
	line-height: 1.65;
}

.follow-add-form label {
	display: grid;
	gap: 7px;
	text-align: left;
}

.follow-add-form input {
	height: 46px;
	padding: 0 12px;
	border: 1px solid #dbe3ef;
	border-radius: 6px;
	outline: 0;
}

.notice-card {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 18px;
	gap: 10px;
	align-items: center;
	padding: 12px;
	color: inherit;
	text-decoration: none;
}

.notice-card.unread {
	border-left: 3px solid var(--mall-primary);
}

.notice-card-icon {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 6px;
	background: var(--mall-primary-soft);
	color: var(--mall-primary);
}

.notice-card strong,
.notice-card small {
	display: block;
}

.notice-card strong {
	overflow: hidden;
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.notice-card strong .status-chip {
	margin-right: 5px;
	vertical-align: 1px;
}

.notice-card small {
	margin-top: 4px;
	color: var(--mall-muted);
	font-size: 12px;
}

.notice-detail {
	padding: 18px 16px;
}

.notice-detail-title {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.notice-detail h2 {
	margin: 0;
	font-size: 18px;
	line-height: 1.45;
}

.notice-detail time {
	display: block;
	margin-top: 8px;
	color: var(--mall-muted);
	font-size: 12px;
}

.notice-content {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--mall-line);
	font-size: 14px;
	line-height: 1.75;
	white-space: pre-wrap;
	word-break: break-word;
}

.mine-page {
	min-height: 100vh;
	padding-bottom: 76px;
	border-bottom: var(--mall-safe-bottom) solid transparent;
	background: var(--mall-bg);
}

.mine-hero {
	padding: 22px 14px 54px;
	border-top: env(safe-area-inset-top, 0px) solid transparent;
	background: var(--mall-primary);
	color: #fff;
}

.mine-account {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 28px;
	gap: 12px;
	align-items: center;
	color: #fff;
	text-decoration: none;
}

.mine-account > img,
.mine-account > span {
	display: grid;
	width: 64px;
	height: 64px;
	place-items: center;
	border: 2px solid rgba(255,255,255,.72);
	border-radius: 50%;
	background: rgba(255,255,255,.18);
	font-size: 34px;
	object-fit: cover;
}

.mine-account div {
	min-width: 0;
}

.mine-account strong,
.mine-account small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mine-account strong {
	font-size: 20px;
}

.mine-account small {
	margin-top: 5px;
	color: rgba(255,255,255,.8);
	font-size: 13px;
}

.mine-content {
	display: grid;
	gap: 10px;
	margin-top: -34px;
	padding: 0 10px;
}

.mine-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 14px 0;
}

.mine-stat {
	display: grid;
	min-width: 0;
	gap: 5px;
	justify-items: center;
	padding: 2px 12px;
	text-align: center;
}

a.mine-stat {
	color: inherit;
	text-decoration: none;
}

a.mine-stat:active {
	background: var(--mall-primary-soft);
}

.mine-stat + .mine-stat {
	border-left: 1px solid var(--mall-line);
}

.mine-stat:only-child {
	grid-column: 1 / -1;
}

.mine-stat strong {
	max-width: 100%;
	overflow: hidden;
	color: var(--mall-primary);
	font-size: 22px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mine-stat span {
	display: flex;
	gap: 5px;
	align-items: center;
	color: var(--mall-muted);
	font-size: 12px;
}

.mine-stat i {
	color: var(--mall-primary);
	font-size: 14px;
}

.coupon-list {
	display: grid;
	gap: 10px;
}

.coupon-card {
	display: grid;
	grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
	overflow: hidden;
}

.coupon-card-value {
	display: grid;
	gap: 5px;
	align-content: center;
	justify-items: center;
	padding: 18px 10px;
	background: var(--mall-primary);
	color: #fff;
	text-align: center;
}

.coupon-card-value strong {
	max-width: 100%;
	overflow: hidden;
	font-size: 19px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.coupon-card-value span {
	font-size: 11px;
	opacity: .86;
}

.coupon-card.is-disabled .coupon-card-value {
	background: #9aa4b4;
}

.coupon-card-info {
	display: grid;
	gap: 8px;
	align-content: center;
	min-width: 0;
	padding: 13px;
}

.coupon-card-head {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	justify-content: space-between;
}

.coupon-card-head h2 {
	overflow: hidden;
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.coupon-card-info p,
.coupon-card-info time {
	display: block;
	margin: 0;
	color: var(--mall-muted);
	font-size: 12px;
	line-height: 1.45;
}

.mine-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding: 0 13px;
	border-bottom: 1px solid var(--mall-line);
	color: inherit;
	text-decoration: none;
}

.mine-section-head h2 {
	display: flex;
	gap: 7px;
	align-items: center;
	margin: 0;
	font-size: 15px;
}

.mine-section-head h2 i {
	color: var(--mall-primary);
}

.mine-section-head > span {
	color: var(--mall-muted);
	font-size: 12px;
}

.mine-order-links {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	padding: 10px 4px;
}

.mine-order-links a {
	display: grid;
	min-width: 0;
	gap: 5px;
	justify-items: center;
	padding: 6px 2px;
	color: #445064;
	font-size: 11px;
	text-align: center;
	text-decoration: none;
}

.mine-order-links i {
	color: var(--mall-primary);
	font-size: 23px;
}

.mine-notice {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
	min-height: 42px;
	padding: 8px 13px;
	border-bottom: 1px solid var(--mall-line);
	color: inherit;
	font-size: 13px;
	text-decoration: none;
}

.mine-notice span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mine-notice.unread span {
	font-weight: 600;
}

.mine-notice time {
	color: var(--mall-muted);
	font-size: 11px;
}

.mine-empty-text {
	margin: 0;
	padding: 20px;
	color: var(--mall-muted);
	font-size: 13px;
	text-align: center;
}

.mine-follow-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	padding: 13px;
}

.mine-follow-grid a {
	display: grid;
	gap: 6px;
	justify-items: center;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.mine-follow-grid img,
.mine-follow-grid a > span {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 1px solid var(--mall-line);
	border-radius: 6px;
	object-fit: contain;
}

.mine-follow-grid a > span {
	background: var(--mall-primary-soft);
	color: var(--mall-primary);
	font-size: 26px;
}

.mine-follow-grid b {
	width: 100%;
	overflow: hidden;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.account-menu {
	display: grid;
	gap: 10px;
}

.account-profile-link {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 18px;
	gap: 11px;
	align-items: center;
	padding: 13px;
	color: inherit;
	text-decoration: none;
}

.account-profile-link > img,
.account-profile-link > span {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border-radius: 50%;
	background: var(--mall-primary-soft);
	color: var(--mall-primary);
	font-size: 30px;
	object-fit: cover;
}

.account-profile-link div {
	min-width: 0;
}

.account-profile-link strong,
.account-profile-link small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.account-profile-link small {
	margin-top: 4px;
	color: var(--mall-muted);
	font-size: 12px;
}

.account-menu-list {
	overflow: hidden;
}

.account-menu-list a {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 18px;
	align-items: center;
	min-height: 52px;
	padding: 0 13px;
	border-bottom: 1px solid var(--mall-line);
	color: inherit;
	text-decoration: none;
}

.account-menu-list a:last-child {
	border-bottom: 0;
}

.account-menu-list a > i:first-child {
	color: var(--mall-primary);
	font-size: 18px;
}

.account-menu-list a > i:last-child,
.account-profile-link > i {
	color: var(--mall-muted);
}

.account-logout {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border: 1px solid #f2b8bd;
	border-radius: 6px;
	background: #fff;
	color: #c72f3d;
}

.account-form {
	display: grid;
	gap: 10px;
}

.profile-avatar {
	display: grid;
	gap: 10px;
	justify-items: center;
	padding: 20px;
}

.profile-avatar img,
.profile-avatar > span {
	display: grid;
	width: 82px;
	height: 82px;
	place-items: center;
	border-radius: 50%;
	background: var(--mall-primary-soft);
	color: var(--mall-primary);
	font-size: 42px;
	object-fit: cover;
}

.avatar-upload {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	min-height: 34px;
	padding: 5px 11px;
	border: 1px solid var(--mall-primary);
	border-radius: 6px;
	color: var(--mall-primary);
	font-size: 12px;
	cursor: pointer;
}

.account-fields {
	overflow: hidden;
}

.account-fields > label,
.account-gender {
	display: grid;
	grid-template-columns: minmax(96px, 31%) minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	min-height: 54px;
	padding: 8px 13px;
	border-bottom: 1px solid var(--mall-line);
}

.account-fields > label:last-child,
.account-gender:last-child {
	border-bottom: 0;
}

.account-fields input[type="text"],
.account-fields input[type="password"],
.account-fields input[type="email"],
.account-fields input[type="text"] {
	width: 100%;
	height: 40px;
	padding: 0 10px;
	border: 1px solid #dbe3ef;
	border-radius: 6px;
	outline: 0;
}

.contact-fields > label > b {
	text-align: right;
}

.contact-input,
.code-input {
	display: grid;
	grid-template-columns: minmax(92px, 42%) minmax(0, 1fr);
	gap: 6px;
}

.contact-area-code {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-width: 0;
	height: 40px;
	padding: 0 9px;
	border: 1px solid #dbe3ef;
	border-radius: 6px;
	background: #fff;
	color: var(--mall-primary);
	font-weight: 600;
}

.code-input {
	grid-template-columns: minmax(0, 1fr) auto;
}

.code-input button {
	min-width: 92px;
	border: 1px solid var(--mall-primary);
	border-radius: 6px;
	background: var(--mall-primary-soft);
	color: var(--mall-primary);
	font-size: 12px;
}

.account-gender > div {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}

.account-gender label {
	position: relative;
}

.account-gender input {
	position: absolute;
	opacity: 0;
}

.account-gender b {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 3px 10px;
	border: 1px solid #dbe3ef;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
}

.account-gender input:checked + b {
	border-color: var(--mall-primary);
	background: var(--mall-primary-soft);
	color: var(--mall-primary);
}

.account-save {
	width: 100%;
	margin-top: 4px;
}

.language-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.language-list button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 13px;
	border: 1px solid var(--mall-line);
	background: #fff;
}

.language-list button.active {
	border-color: var(--mall-primary);
	background: var(--mall-primary-soft) !important;
	color: var(--mall-primary);
}

@media (max-width: 359px) {
	.mine-order-links a {
		flex-basis: 33.333%;
	}

	.language-list {
		grid-template-columns: 1fr;
	}
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
	width: 10px;
	height: 8px;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
	border-radius: 8px;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
	border-radius: 8px;
	background: #dee2e6;
}

::-webkit-scrollbar-thumb:window-inactive {
	background: #dee2e6;
}

.fontNumber {
	font-family: impact;
}

#layout input::-webkit-input-placeholder, #layout textarea::-webkit-input-placeholder {
	color: #bababa !important;
	font-size: 13px !important;
}
#layout input:-moz-placeholder, #layout textarea:-moz-placeholder {
	color:#bababa !important;
	font-size:13px !important;
}
#layout input::-moz-placeholder, #layout textarea::-moz-placeholder {
	color: #bababa !important;
	font-size: 13px !important;
}
#layout input:-ms-input-placeholder, #layout textarea:-ms-input-placeholder {
	color:#bababa !important;
	font-size:13px !important;
}

.fs-13 {
	font-size: 13px;
}
.fs-14 {
	font-size: 14px;
}

.fs-15 {
	font-size: 15px;
}

.fs-9 {
	font-size: 9px;
}

.fs-11 {
	font-size: 11px;
}

.active {
	background-color: #f0f0f0 !important;
}


.row-hr {
	color: #c8c8c8;
	margin: 0.5rem 0;
}

/* 电脑端页面限宽后，右下角 toast 同步限制在页面列内 */
.toast-container.position-fixed.end-0 {
	left: 0 !important;
	right: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ===================== layui-layer 弹窗：与 web 模块 tech 风格保持一致 ===================== */
.layui-layer {
	border-radius: 8px;
}

.layui-layer-title {
	font-size: 1rem;
}

.layui-layer-btn a {
	height: 2rem;
	line-height: 2rem;
	margin: 5px 5px 0;
	padding: 0 15px;
	border: 1px solid #dedede;
	background-color: #fff;
	color: #333;
	border-radius: 6px;
	font-weight: 400;
	cursor: pointer;
	text-decoration: none;
}

.layui-layer-btn a:hover {
	background-color: #e9e9e9;
}

.layui-layer-btn .layui-layer-btn0 {
	border-color: #dedede;
	background-color: #fff;
	color: #333;
}

.layui-layer-btn .layui-layer-btn0:hover {
	background-color: #e9e9e9;
}

.layui-layer-btn .layui-layer-focus-btn {
	border-color: #2563eb !important;
	background-color: #2563eb !important;
	color: #ffffff !important;
}

.layui-layer-btn .layui-layer-focus-btn:hover {
	background-color: #1d4ed8 !important;
}

/* layer.msg 提示框：Tailwind 风格 toast（slate 细边 + shadow-lg + rounded-lg） */
.layui-layer-msg {
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.5rem;
	box-shadow: 0 10px 15px -3px rgba(15, 23, 42, .1), 0 4px 6px -4px rgba(15, 23, 42, .1);
	color: #1e293b;
}

.layui-layer-msg .layui-layer-content {
	font-size: 0.875rem;
	line-height: 1.5;
}

.layui-layer-loading .layui-layer-content {
	width: 66px;
	height: 35px;
}
