:root {
	--green: #3EAE28;
	--green-soft: #E8F8DE;
	--lime: #8BE06A;
	--bg: #F6F7F8;
	--text: #1A1A1A;
	--muted: #999;
	--line: #F3F4F6;
	--price: #FF4B4B;
	--radius: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
	background: var(--bg);
	color: var(--text);
	min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
img { max-width: 100%; }

.wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.topbar {
	background: #2B2B2B;
	color: #C8C8C8;
	font-size: 12px;
}
.topbar-inner {
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.topbar-links span + span { margin-left: 20px; }

.header { background: #fff; }
.header-inner {
	height: 96px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	display: block;
	object-fit: cover;
}
.logo-text {
	margin-left: 10px;
	font-size: 24px;
	font-weight: 700;
	color: var(--green);
}

.search {
	flex: 1;
	min-width: 0;
	max-width: 640px;
	display: flex;
	height: 44px;
	border: 2px solid var(--green);
	border-radius: 22px;
	overflow: hidden;
}
.search-input {
	flex: 1;
	border: 0;
	outline: none;
	padding: 0 18px;
	font-size: 14px;
}
.search .search-btn {
	width: 92px;
	height: 100%;
	background-color: #3EAE28;
	color: #ffffff;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.mine-btn, .cart-btn {
	height: 44px;
	padding: 0 18px;
	border-radius: 22px;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}
.mine-btn {
	border: 1px solid #E5E5E5;
	background: #fff;
	color: #333;
}
.cart-btn {
	border: 1px solid #C8E8B8;
	background: var(--green-soft);
	color: var(--green);
	position: relative;
}
.cart-badge {
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--green);
	color: #fff;
	font-size: 12px;
	line-height: 18px;
	text-align: center;
}

.nav { background: var(--green); }
.nav-inner {
	height: 46px;
	display: flex;
	align-items: center;
	gap: 36px;
}
.nav-inner a {
	color: #fff;
	font-size: 15px;
	opacity: .88;
}
.nav-inner a.on,
.nav-inner a:hover { opacity: 1; font-weight: 700; }

.page { padding: 24px 0 40px; }

.card {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.section-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}
.section-title { font-size: 22px; font-weight: 700; }
.section-more { color: #B0B0B0; font-size: 13px; }

.price { color: var(--price); font-weight: 700; }
.origin {
	margin-left: 8px;
	color: #C8C8C8;
	text-decoration: line-through;
	font-size: 13px;
}

.goods-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.goods-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s;
}
.goods-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.goods-cover {
	height: 180px;
	background: #F7F7F7;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.goods-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.goods-body { padding: 12px 14px 16px; }
.goods-name {
	font-size: 14px;
	line-height: 1.4;
	height: 40px;
	overflow: hidden;
}
.goods-tags { display: flex; gap: 6px; margin-top: 8px; }
.goods-tags span {
	padding: 1px 6px;
	border: 1px solid #FFB0B0;
	border-radius: 4px;
	color: var(--price);
	font-size: 11px;
}
.goods-price { margin-top: 8px; font-size: 18px; display: flex; align-items: baseline; }
.svip {
	margin-left: 6px;
	padding: 0 5px;
	border-radius: 3px;
	background: #1A1A1A;
	color: #F5D48A;
	font-size: 10px;
	line-height: 16px;
}
.goods-foot {
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.sales { font-size: 12px; color: var(--muted); }
.card-add {
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	font-size: 18px;
	line-height: 26px;
	cursor: pointer;
}

#app-footer {
	background: #F0F1F3;
	border-top: 1px solid #E4E6EA;
	padding: 32px 0 24px;
	color: #8A8F98;
}
.footer-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding-bottom: 24px;
	border-bottom: 1px solid #E4E6EA;
}
.footer-item { text-align: center; }
.footer-item strong { display: block; color: #6B7078; margin-bottom: 6px; font-size: 14px; }
.footer-item span { color: #9AA0A8; font-size: 13px; }
.footer-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding: 18px 0 10px;
	font-size: 13px;
}
.footer-links a { color: #7A8088; }
.footer-links a:hover { color: #555; }
.copyright {
	text-align: center;
	color: #9AA0A8;
	font-size: 12px;
	line-height: 1.8;
}
.copyright p { margin: 0; }

.toast {
	position: fixed;
	left: 50%;
	top: 40%;
	transform: translate(-50%, -20px);
	padding: 12px 22px;
	border-radius: 8px;
	background: rgba(0,0,0,.72);
	color: #fff;
	font-size: 14px;
	opacity: 0;
	pointer-events: none;
	transition: .2s;
	z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.crumb { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.badge {
	display: inline-block;
	padding: 1px 7px;
	border-radius: 4px;
	background: var(--green);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
}

.add-btn, .buy-btn, .pay-btn, .ghost-btn, .empty-btn {
	border: 0;
	cursor: pointer;
	border-radius: 22px;
	height: 40px;
	padding: 0 20px;
	font-size: 14px;
}
.add-btn, .buy-btn, .pay-btn, .empty-btn {
	background: var(--green);
	color: #fff;
	font-weight: 600;
}
.ghost-btn { background: #FFF4C2; color: #8A6A10; }

/* home */
.home-hero {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	height: 460px;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.hero-menu {
	background: #E6E6E6;
	padding: 12px 0;
}
.hero-menu-item {
	height: 42px;
	padding: 0 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #333;
	font-size: 14px;
	cursor: pointer;
}
.hero-menu-item:hover { background: rgba(255,255,255,.45); }
.hero-menu-item .arrow { color: #B0B0B0; font-size: 16px; }
.hero-slide {
	position: relative;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	background: #111;
}
.hero-slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hero-slide::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.18) 46%, rgba(0,0,0,0) 72%);
	pointer-events: none;
}
.hero-copy {
	position: relative;
	z-index: 1;
	max-width: 420px;
	padding: 0 56px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	cursor: pointer;
}
.hero-tag {
	margin-bottom: 16px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}
.hero-copy h2 {
	margin: 0;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}
.hero-copy p {
	margin: 14px 0 0;
	font-size: 18px;
	color: rgba(255,255,255,.9);
}
.hero-btn {
	display: inline-block;
	height: 42px;
	padding: 0 28px;
	border-radius: 4px;
	background: var(--green);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 42px;
}
.hero-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	z-index: 1;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.hero-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,.45);
	cursor: pointer;
}
.hero-dots span.on { background: var(--green); }

.channel {
	margin-top: 16px;
	padding: 22px 10px;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
}
.channel-item { text-align: center; cursor: pointer; }
.channel-ico {
	width: 52px;
	height: 52px;
	margin: 0 auto;
	border-radius: 16px;
	background: var(--green-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}
.channel-item span { display: block; margin-top: 8px; font-size: 13px; }

.deal {
	margin-top: 16px;
	padding: 0 28px;
	height: 140px;
	border-radius: 14px;
	background: linear-gradient(90deg, #FFF6E6, #fff);
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}
.deal-title { font-size: 26px; font-weight: 700; color: #E39B12; }
.deal-desc { margin-top: 6px; color: #999; font-size: 14px; }
.deal-btn {
	display: inline-block;
	margin-top: 12px;
	height: 28px;
	padding: 0 14px;
	border-radius: 14px;
	background: #E39B12;
	color: #fff;
	font-size: 13px;
	line-height: 28px;
}
.deal-pics { display: flex; gap: 12px; }
.deal-pics img {
	width: 110px;
	height: 110px;
	border-radius: 12px;
	object-fit: cover;
}

.seckill {
	margin-top: 16px;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}
.seckill-hd {
	padding: 16px 22px;
	background: linear-gradient(90deg, #FF8A3D, #FF5A3C);
	color: #fff;
	display: flex;
	align-items: center;
}
.seckill-title { font-size: 22px; font-weight: 700; }
.seckill-title .kill { color: #FFE08A; }
.countdown { margin-left: 20px; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.countdown .time {
	min-width: 28px;
	height: 24px;
	padding: 0 6px;
	border-radius: 4px;
	background: #1A1A1A;
	color: #fff;
	text-align: center;
	line-height: 24px;
	font-weight: 700;
}
.seckill-more { margin-left: auto; font-size: 13px; opacity: .9; }
.seckill-list {
	padding: 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.seckill-item {
	display: flex;
	flex-direction: column;
	cursor: pointer;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	transition: transform .2s, box-shadow .2s;
}
.seckill-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.seckill-cover {
	height: 180px;
	background: #F7F7F7;
	overflow: hidden;
}
.seckill-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.seckill-item .info { padding: 12px 12px 16px; }
.seckill-item h4 {
	margin: 0 0 10px;
	font-size: 15px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.seckill-price {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.grab {
	display: inline-block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #FF6A2A;
	color: #fff;
	text-align: center;
	line-height: 32px;
	font-size: 14px;
	font-weight: 700;
}

.home-section { margin-top: 24px; padding: 22px; }

/* category */
.cate-tabs {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	border-bottom: 1px solid #EEE;
	margin-bottom: 18px;
}
.cate-tabs-main { display: flex; gap: 32px; }
.cate-tab {
	padding: 0 2px 14px;
	color: #333;
	font-size: 15px;
	cursor: pointer;
	position: relative;
	white-space: nowrap;
}
.cate-tab.on { font-weight: 600; }
.cate-tab.on::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--green);
}
.cate-tab.more { color: #888; font-size: 14px; }
.cate-filter, .cate-sort {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-bottom: 14px;
	font-size: 14px;
	color: #666;
}
.cate-sort { margin-bottom: 22px; }
.filter-label { color: #999; }
.filter-item { cursor: pointer; }
.filter-item.on { color: var(--green); font-weight: 600; }

.cate-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px 20px;
	min-height: 420px;
}
.cate-card { cursor: pointer; }
.cate-brand {
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em;
}
.cate-cover {
	height: 220px;
	background: #F7F7F7;
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cate-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cate-marks {
	margin-top: 10px;
	display: flex;
	gap: 8px;
	font-size: 12px;
	color: #999;
}
.cate-price { margin-top: 8px; font-size: 20px; }
.cate-name {
	margin-top: 8px;
	height: 40px;
	font-size: 13px;
	line-height: 20px;
	color: #333;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.cate-meta { margin-top: 8px; font-size: 12px; color: #999; }

/* detail */
.detail-top {
	display: grid;
	grid-template-columns: 460px 1fr;
	gap: 32px;
	padding: 28px;
}
.detail-cover {
	height: 420px;
	border-radius: 12px;
	background: #F7F7F7;
	overflow: hidden;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-name { margin: 0 0 8px; font-size: 26px; }
.detail-desc { color: var(--muted); margin: 0 0 16px; }
.detail-price { font-size: 36px; }
.sale-tag {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--green-soft);
	color: var(--green);
	font-size: 12px;
	vertical-align: middle;
}
.meta {
	margin: 12px 0 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	color: #999;
	font-size: 13px;
}
.meta .rate { color: #666; }
.sku-row, .qty-row {
	display: flex;
	align-items: center;
	margin-top: 22px;
	font-size: 14px;
}
.sku-label { width: 72px; color: var(--muted); }
.sku {
	margin-right: 10px;
	padding: 6px 16px;
	border-radius: 6px;
	background: #F6F7F8;
	cursor: pointer;
}
.sku.on { background: var(--green-soft); color: var(--green); font-weight: 600; }
.stepper { display: flex; align-items: center; }
.stepper button {
	width: 32px;
	height: 32px;
	border: 1px solid #E5E5E5;
	background: #fff;
	cursor: pointer;
}
.stepper span {
	width: 46px;
	text-align: center;
	border-top: 1px solid #E5E5E5;
	border-bottom: 1px solid #E5E5E5;
	line-height: 30px;
}
.detail-actions { display: flex; gap: 12px; margin-top: 28px; }
.ghost-btn, .buy-btn { height: 48px; padding: 0 32px; border-radius: 24px; }
.detail-block { margin-top: 16px; padding: 24px 28px; }
.spec-row {
	display: flex;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}
.spec-row span:first-child { width: 120px; color: var(--muted); }
.detail-intro { color: #666; line-height: 1.8; margin: 16px 0; }
.detail-img { width: 100%; border-radius: 10px; background: #F7F7F7; }

/* cart */
.cart-tip {
	margin-bottom: 16px;
	padding: 12px 18px;
	border-radius: 12px;
	background: var(--green-soft);
	color: var(--green);
	font-size: 13px;
}
.shop-card { padding: 8px 20px 12px; }
.shop-hd {
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.shop-left { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.shop-name { font-weight: 700; }
.ship { color: var(--green); font-size: 13px; }
.check {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #D0D0D0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	cursor: pointer;
	color: #fff;
	font-size: 11px;
}
.check.on { background: var(--green); border-color: var(--green); }
.cart-item {
	display: flex;
	align-items: center;
	padding: 16px 0;
	border-top: 1px solid var(--line);
}
.cart-item img {
	width: 96px;
	height: 96px;
	margin: 0 16px;
	border-radius: 10px;
	object-fit: cover;
	background: #F7F7F7;
	cursor: pointer;
}
.cart-item .info { flex: 1; min-width: 0; }
.cart-item h3 { margin: 0 0 8px; font-size: 15px; cursor: pointer; }
.cart-spec {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	background: #F6F7F8;
	color: #888;
	font-size: 12px;
}
.cart-tags { margin-top: 8px; display: flex; gap: 6px; }
.cart-tags span {
	padding: 1px 6px;
	border-radius: 4px;
	background: var(--green-soft);
	color: var(--green);
	font-size: 11px;
}
.cart-price { width: 120px; text-align: right; font-size: 20px; }
.cart-bar {
	margin-top: 16px;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.cart-bar .sum { font-size: 24px; }
.cart-bar .pay-btn { margin-left: auto; height: 44px; padding: 0 28px; }
.empty-box {
	padding: 70px 0;
	text-align: center;
}
.empty-box h3 { margin: 12px 0 6px; }
.empty-box p { margin: 0 0 18px; color: var(--muted); }

/* order */
.order-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 16px;
	align-items: start;
}
.order-card { padding: 8px 24px; margin-bottom: 16px; }
.addr {
	display: flex;
	align-items: center;
	padding: 22px 0;
	cursor: pointer;
}
.addr-icon {
	width: 42px;
	height: 42px;
	border-radius: 21px;
	background: var(--green-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.addr-main { flex: 1; margin: 0 14px; min-width: 0; }
.addr-title { font-size: 16px; font-weight: 700; }
.addr-desc { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.addr-top { display: flex; align-items: center; flex-wrap: wrap; }
.addr-name { font-size: 16px; font-weight: 700; }
.addr-phone { margin-left: 12px; color: #666; font-size: 14px; }
.addr-tag {
	margin-left: 8px;
	padding: 1px 6px;
	border-radius: 4px;
	background: var(--green-soft);
	color: var(--green);
	font-size: 12px;
}
.addr-detail { display: block; margin-top: 6px; color: #666; font-size: 13px; line-height: 1.5; }
.addr-tip { margin-top: 6px; color: var(--muted); font-size: 12px; }

.addr-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 120;
	padding: 24px;
}
.addr-modal.show { display: flex; }
.addr-dialog {
	width: 720px;
	max-width: 100%;
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0,0,0,.16);
}
.addr-dialog-hd {
	height: 64px;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
}
.addr-dialog-hd h3 { margin: 0; font-size: 18px; }
.addr-close {
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	color: #999;
	cursor: pointer;
}
.addr-dialog-bd { padding: 20px 24px 24px; }
.addr-item {
	padding: 16px 18px;
	border: 1px solid #EEE;
	border-radius: 10px;
	margin-bottom: 12px;
	cursor: pointer;
}
.addr-item:hover { border-color: #C8E8B8; background: #F7FBF4; }
.addr-item.on { border-color: var(--green); background: #F7FBF4; }
.addr-item-actions {
	margin-top: 12px;
	display: flex;
	justify-content: flex-end;
}
.addr-item-actions button {
	border: 0;
	background: transparent;
	color: #666;
	cursor: pointer;
	font-size: 13px;
	padding: 0 0 0 16px;
}
.addr-item-actions .danger { color: #FF4B4B; }
.addr-add-btn, .addr-save-btn, .addr-back-btn {
	border: 0;
	cursor: pointer;
	border-radius: 22px;
	height: 42px;
	padding: 0 22px;
	font-size: 14px;
}
.addr-add-btn, .addr-save-btn {
	background: var(--green);
	color: #fff;
	font-weight: 600;
}
.addr-add-btn { width: 100%; margin-top: 8px; }
.addr-back-btn {
	background: #F3F3F3;
	color: #666;
	margin-right: 10px;
}
.addr-form-row {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}
.addr-form-row label {
	width: 88px;
	flex-shrink: 0;
	font-size: 14px;
	color: #333;
}
.addr-form-row input,
.addr-form-row select {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: 1px solid #E5E5E5;
	border-radius: 8px;
	padding: 0 12px;
	font-size: 14px;
	outline: none;
	background: #fff;
}
.addr-form-row input:focus,
.addr-form-row select:focus { border-color: var(--green); }
.addr-region { display: flex; gap: 10px; flex: 1; min-width: 0; }
.addr-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #333; }
.addr-form-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.order-goods {
	display: flex;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}
.order-goods:last-child { border-bottom: 0; }
.order-goods img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	background: #F7F7F7;
	border-radius: 8px;
}
.order-goods .info { flex: 1; margin-left: 14px; }
.order-goods h3 { margin: 0 0 6px; font-size: 15px; }
.order-goods p { margin: 0; color: var(--muted); font-size: 12px; }
.row {
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
}
.off { color: var(--green); font-weight: 700; }
.muted { color: var(--muted); }
.pay-item { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.pay-left { display: flex; align-items: center; gap: 10px; }
.alipay-icon { width: 22px; height: 22px; flex-shrink: 0; display: block; }
.radio {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--green);
	border: 2px solid var(--green);
	box-shadow: inset 0 0 0 3px #fff;
}
.summary { padding: 22px; position: sticky; top: 16px; }
.summary .row { height: 40px; }
.sum { font-size: 24px; }
.pay-btn {
	width: 100%;
	margin-top: 16px;
	height: 48px;
	border-radius: 24px;
	box-shadow: 0 8px 20px rgba(62, 174, 40, .28);
}

/* mine */
.mine-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}
.mine-side {
	background: #fff;
	border-radius: 12px;
	padding-bottom: 16px;
	box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.mine-user {
	padding: 28px 16px 20px;
	text-align: center;
	border-bottom: 1px solid var(--line);
}
.mine-avatar {
	width: 72px;
	height: 72px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 700;
}
.mine-user-name { font-size: 16px; font-weight: 700; }
.mine-user-id { margin-top: 4px; font-size: 12px; color: #999; }
.mine-vip {
	display: inline-block;
	margin-top: 10px;
	padding: 2px 10px;
	border-radius: 10px;
	background: var(--green-soft);
	color: var(--green);
	font-size: 12px;
}
.mine-nav { padding: 8px 0; }
.mine-nav-title {
	padding: 16px 22px 8px;
	font-size: 12px;
	color: #999;
}
.mine-nav-item {
	height: 40px;
	padding: 0 22px;
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #333;
	cursor: pointer;
}
.mine-nav-item:hover { background: #F7F8F8; }
.mine-nav-item.on {
	background: var(--green-soft);
	color: var(--green);
	font-weight: 600;
}
.mine-main { min-width: 0; }
.mine-welcome {
	padding: 22px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.mine-hello { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.mine-stats {
	display: flex;
	gap: 36px;
	text-align: center;
}
.mine-stats div { cursor: pointer; }
.mine-stats strong { display: block; font-size: 22px; color: var(--green); }
.mine-stats span { font-size: 13px; color: #999; }
.mine-panel { padding: 22px 24px; }
.mine-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	font-size: 18px;
	font-weight: 700;
}
.mine-order-status {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	padding: 8px 0 20px;
	border-bottom: 1px solid var(--line);
	text-align: center;
}
.mine-order-status div { cursor: pointer; }
.mine-order-status b { display: block; font-size: 20px; color: var(--green); }
.mine-order-status span { font-size: 13px; color: #666; }
.mine-order-row {
	display: flex;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	gap: 16px;
}
.mine-order-row:last-child { border-bottom: 0; }
.mine-order-row img {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	object-fit: cover;
	background: #F7F7F7;
	cursor: pointer;
}
.mine-order-row .info { flex: 1; min-width: 0; }
.mine-order-row h4 { margin: 0 0 6px; font-size: 15px; }
.mine-order-row p { margin: 0; color: #999; font-size: 12px; }
.order-status { width: 72px; color: #666; font-size: 13px; }
.coupon-list { display: grid; gap: 12px; }
.coupon-item {
	display: flex;
	align-items: center;
	padding: 18px;
	border: 1px dashed #C8E8B8;
	border-radius: 10px;
	background: #F7FBF4;
}
.coupon-money {
	width: 90px;
	color: var(--green);
	font-size: 32px;
	font-weight: 700;
}
.coupon-money em { font-size: 16px; font-style: normal; }
.coupon-info { flex: 1; }
.coupon-info h4 { margin: 0 0 6px; font-size: 16px; }
.coupon-info p { margin: 0; color: #999; font-size: 12px; }
.points-box { text-align: center; padding: 30px 0; }
.points-num { font-size: 42px; font-weight: 700; color: var(--green); }
.addr-empty { text-align: center; padding: 40px 0; color: #666; }
.account-row {
	display: flex;
	justify-content: space-between;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}

.search-btn { border: 0; cursor: pointer; }
a.cart-btn { color: var(--green); }
.topbar-user { display: flex; align-items: center; gap: 16px; }
.topbar-user a { color: #EDEDED; }
.topbar-user a:hover { color: #fff; }
.topbar-user .split { color: #666; }
.search-form { flex: 1; min-width: 0; max-width: 640px; display: flex; }
.copy-split { margin: 0 8px; color: #C5C8CE; }
.footer-item { color: inherit; }
.goods-empty, .mall-empty { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.mall-empty a { color: var(--green); }

.hero-slide-item {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .4s;
}
.hero-slide-item.on { opacity: 1; z-index: 1; }
.hero-slide-item .hero-copy { position: relative; z-index: 2; }

.auth-wrap { max-width: 460px; margin: 40px auto; }
.auth-card { padding: 36px 40px 40px; }
.auth-card h1 { margin: 0 0 8px; font-size: 24px; }
.auth-card .auth-sub { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.auth-tabs { display: flex; gap: 24px; margin-bottom: 24px; font-size: 16px; }
.auth-tabs a { color: var(--muted); }
.auth-tabs a.on { color: var(--green); font-weight: 700; }
.auth-form .form-row { margin-bottom: 16px; }
.auth-form label { display: block; margin-bottom: 6px; font-size: 13px; color: #666; }
.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"],
.auth-form input[type="tel"] {
	width: 100%;
	height: 44px;
	border: 1px solid #E5E5E5;
	border-radius: 8px;
	padding: 0 14px;
	font-size: 14px;
	outline: none;
	background: #fff;
}
.auth-form input:focus { border-color: var(--green); }
.auth-captcha { display: flex; gap: 10px; }
.auth-captcha input { flex: 1; }
.auth-captcha img { height: 44px; border-radius: 8px; cursor: pointer; background: #f5f5f5; }
.auth-extra { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #666; margin-bottom: 18px; }
.auth-extra label { display: flex; align-items: center; gap: 6px; margin: 0; }
.auth-btn {
	width: 100%;
	height: 46px;
	border: 0;
	border-radius: 23px;
	background: var(--green);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
}
.auth-btn:disabled { opacity: .6; cursor: not-allowed; }
.auth-error { color: var(--price); font-size: 13px; min-height: 20px; margin-bottom: 10px; }

.member-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 16px;
}
.member-side {
	background: #fff;
	border-radius: 12px;
	padding: 12px 0;
	align-self: start;
	box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.member-side a {
	display: block;
	height: 46px;
	line-height: 46px;
	padding: 0 22px;
	color: #666;
}
.member-side a.on, .member-side a:hover { background: var(--green-soft); color: var(--green); font-weight: 700; }
.member-main { background: #fff; border-radius: 12px; padding: 28px; min-height: 420px; }
.member-main h2 { margin: 0 0 20px; font-size: 20px; }
.member-user { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.member-user img, .member-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--green-soft);
	object-fit: cover;
}
.member-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.member-stat {
	background: #F8F8F8;
	border-radius: 10px;
	padding: 16px;
}
.member-stat span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.member-stat strong { font-size: 20px; color: var(--green); }
.member-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.member-links a {
	display: block;
	padding: 18px;
	border: 1px solid #EEE;
	border-radius: 10px;
	text-align: center;
}
.member-links a:hover { border-color: var(--green); color: var(--green); }

.cart-list { background: #fff; border-radius: 12px; padding: 8px 24px; }
.cart-item { display: flex; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); gap: 14px; }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 90px; height: 90px; object-fit: cover; background: #F7F7F7; border-radius: 8px; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item h3 { margin: 0 0 6px; font-size: 15px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 12px; }
.cart-item .price { width: 100px; }
.cart-del { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.cart-del:hover { color: var(--price); }

.pay-item { cursor: pointer; }
.pay-item + .pay-item { border-top: 1px solid var(--line); }
.pay-item .radio { background: #fff; border: 2px solid #DDD; box-shadow: none; }
.pay-item.on .radio { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.order-list { display: grid; gap: 12px; }
.order-item { padding: 18px 22px; }
.order-item-hd { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 13px; color: #666; }
.order-item-ft { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.order-status { color: var(--green); font-weight: 700; }
.ghost-mini, .danger-mini {
	height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid #E5E5E5;
	background: #fff; cursor: pointer; font-size: 13px; margin-left: 8px;
}
.danger-mini { color: var(--price); border-color: #FFD0D0; }
.logout-box { text-align: center; padding: 40px 20px; }
.logout-box h3 { margin: 0 0 20px; }

.page-doc { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: start; }
.page-doc-side {
	background: #fff; border-radius: 12px; overflow: hidden;
	box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.page-doc-side a { display: block; padding: 14px 20px; color: #666; font-size: 14px; }
.page-doc-side a.on, .page-doc-side a:hover { background: var(--green-soft); color: var(--green); font-weight: 600; }
.page-doc-main { padding: 28px 36px 36px; min-height: 520px; }
.page-doc-main h1 { margin: 8px 0 12px; font-size: 26px; }
.page-doc-main h2 { margin: 28px 0 10px; font-size: 18px; scroll-margin-top: 20px; }
.page-doc-main p, .page-doc-main li { color: #555; line-height: 1.8; font-size: 14px; }
.page-doc-main ul { padding-left: 20px; margin: 0 0 8px; }
.page-doc-main a { color: var(--green); }
.page-lead { color: #666; font-size: 15px !important; }
.page-meta { margin-top: 28px; color: #999 !important; font-size: 12px !important; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0 8px; }
.contact-card { background: #F8F8F8; border-radius: 10px; padding: 18px 20px; }
.contact-card strong { display: block; margin-bottom: 6px; font-size: 13px; color: #888; }
.contact-card p { margin: 0 0 4px; font-size: 16px !important; color: #222 !important; font-weight: 700; }
.contact-card span { color: #999; font-size: 12px; }
