/* ==========================================
   网站商城 · 购物车 / 结算 / 支付（v2.87.25）
   视觉基准与前台一致：玫红 #c2185b / 浅灰底 / 白卡 / 圆角 12px / 衬线标题
   ========================================== */

/* ---------- 通用按钮 ---------- */
.as-shop-page .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.as-btn-shop-primary,
.as-btn-shop-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 22px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background .18s ease, border-color .18s ease, color .18s ease;
	text-decoration: none;
}
.as-btn-shop-primary {
	background: var(--main, #c2185b);
	border-color: var(--main, #c2185b);
	color: #fff;
}
.as-btn-shop-primary:hover {
	background: var(--main-dark, #a3154c);
	border-color: var(--main-dark, #a3154c);
	color: #fff;
}
.as-btn-shop-primary[disabled] {
	opacity: .5;
	cursor: not-allowed;
}
.as-btn-shop-ghost {
	background: #fff;
	border-color: #e9eaec;
	color: #6b7280;
}
.as-btn-shop-ghost:hover {
	border-color: var(--main, #c2185b);
	color: var(--main, #c2185b);
	background: var(--main-light, #fce4ec);
}
.as-btn-shop-lg {
	padding: 13px 34px;
	font-size: 15px;
}

/* ---------- 页面骨架 ---------- */
.as-shop-page {
	background: #f6f7f9;
	min-height: 60vh;
	padding: 34px 0 60px;
}
.as-shop-head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.as-shop-title {
	font-family: var(--serif, "Noto Serif SC", serif);
	font-size: 24px;
	font-weight: 700;
	color: #23262b;
	margin: 0;
}
.as-shop-count {
	font-size: 13px;
	color: #9aa1aa;
}
.as-shop-tip {
	font-size: 13px;
	color: var(--main, #c2185b);
	background: var(--main-light, #fce4ec);
	padding: 2px 10px;
	border-radius: 999px;
}
.as-shop-back {
	font-size: 13px;
	color: var(--main, #c2185b);
	margin-left: auto;
}

.as-shop-alert {
	margin: 0 0 16px;
	padding: 11px 16px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.7;
}
.as-shop-alert-err {
	background: #fdeeee;
	border: 1px solid #f3c9c9;
	color: #a32020;
}

.as-shop-empty {
	background: #fff;
	border: 1px solid #e9eaec;
	border-radius: 12px;
	padding: 60px 24px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.as-shop-empty p {
	margin: 0 0 18px;
	color: #6b7280;
	font-size: 15px;
}

/* ---------- 卡片 ---------- */
.as-shop-card {
	background: #fff;
	border: 1px solid #e9eaec;
	border-radius: 12px;
	padding: 20px 22px;
	margin-bottom: 16px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .04);
}
.as-shop-card-t {
	font-family: var(--serif, "Noto Serif SC", serif);
	font-size: 16px;
	font-weight: 700;
	color: #23262b;
	margin: 0 0 14px;
	padding: 0;
}
.as-shop-card-p {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.8;
	color: #6b7280;
}
.as-shop-card-p b { color: #23262b; }

/* ---------- 收货信息表单 ---------- */
.as-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
}
.as-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: #6b7280;
}
.as-field-full { grid-column: 1 / -1; }
.as-field > span { font-weight: 600; color: #23262b; }
.as-field > span i {
	font-style: normal;
	color: #d63638;
	margin-left: 2px;
}
.as-field input,
.as-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e9eaec;
	border-radius: 8px;
	font-size: 14px;
	color: #23262b;
	background: #fbfbfc;
}
.as-field input:focus,
.as-field select:focus {
	outline: none;
	border-color: var(--main, #c2185b);
	box-shadow: 0 0 0 1px var(--main, #c2185b);
	background: #fff;
}
.as-field-coupon {
	margin-top: 16px;
	max-width: 420px;
}

/* ---------- 商品清单（结算页 / 订单页） ---------- */
.as-co-list {
	border-top: 1px solid #f2f4f7;
}
.as-co-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px dashed #f2f4f7;
	font-size: 14px;
}
.as-co-name {
	flex: 1 1 auto;
	min-width: 0;
	color: #23262b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.as-co-qty { color: #9aa1aa; font-size: 13px; }
.as-co-sub { color: var(--main, #c2185b); font-weight: 600; }

.as-co-sum {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #f2f4f7;
}
.as-co-line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 14px;
	color: #6b7280;
	padding: 4px 0;
}
.as-co-line b { color: #23262b; font-weight: 600; }
.as-co-line .as-co-cut { color: #00a32a; }
.as-co-line-total {
	margin-top: 6px;
	padding-top: 10px;
	border-top: 1px dashed #f2f4f7;
	font-size: 15px;
}
.as-co-line-total b {
	color: var(--main, #c2185b);
	font-size: 20px;
	font-weight: 700;
}

/* ---------- 购物车 ---------- */
.as-cart-list {
	background: #fff;
	border: 1px solid #e9eaec;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.as-cart-row {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) 96px 110px 56px;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-bottom: 1px solid #f2f4f7;
}
.as-cart-row:last-child { border-bottom: 0; }

.as-cart-thumb {
	width: 76px;
	height: 76px;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f6f7;
	display: block;
}
.as-cart-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.as-cart-info { min-width: 0; }
.as-cart-name {
	display: block;
	font-size: 14px;
	color: #23262b;
	line-height: 1.5;
	margin-bottom: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.as-cart-name:hover { color: var(--main, #c2185b); }
.as-cart-price { font-size: 13px; color: #9aa1aa; }
.as-cart-qty input {
	width: 82px;
	padding: 7px 8px;
	text-align: center;
	border: 1px solid #e9eaec;
	border-radius: 8px;
	font-size: 14px;
	background: #fbfbfc;
	color: #23262b;
}
.as-cart-sub {
	font-size: 15px;
	font-weight: 700;
	color: var(--main, #c2185b);
	text-align: right;
}
.as-cart-del { text-align: right; }
.as-cart-del-btn {
	background: none;
	border: 0;
	color: #9aa1aa;
	font-size: 13px;
	cursor: pointer;
	padding: 4px;
}
.as-cart-del-btn:hover { color: #d63638; }

.as-cart-gone {
	margin-top: 14px;
	font-size: 13px;
	color: #9aa1aa;
}
.as-cart-gone-item {
	display: inline-block;
	margin: 0 6px 4px 0;
	padding: 2px 9px;
	border-radius: 999px;
	background: #f2f4f7;
	color: #6b7280;
}

.as-cart-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 16px;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid #e9eaec;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.as-cart-bar-l { display: flex; gap: 10px; flex-wrap: wrap; }
.as-cart-bar-r { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.as-cart-sum-label { font-size: 14px; color: #6b7280; }
.as-cart-sum {
	font-size: 22px;
	font-weight: 700;
	color: var(--main, #c2185b);
}

/* ---------- 支付方式 ---------- */
.as-methods { display: grid; gap: 12px; }
.as-method {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 13px 16px;
	border: 1px solid #e9eaec;
	border-radius: 10px;
	cursor: pointer;
	background: #fbfbfc;
	transition: border-color .15s ease, background .15s ease;
}
.as-method:hover { border-color: var(--main, #c2185b); }
.as-method input { margin: 3px 0 0; width: 18px; height: 18px; min-width: 18px; flex: 0 0 auto; }
.as-method:has(input:checked) {
	border-color: var(--main, #c2185b);
	background: var(--main-light, #fce4ec);
}
.as-method-ico {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	flex: 0 0 auto;
}
.as-method-ico-wx { background: #07c160; }
.as-method-ico-ali { background: #1677ff; }
.as-method-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.as-method-txt b { font-size: 14px; color: #23262b; font-weight: 600; }
.as-method-txt em {
	font-style: normal;
	font-size: 12px;
	color: #9aa1aa;
	line-height: 1.6;
}
.as-method-note {
	font-style: normal;
	font-size: 12px;
	color: #a3154c;
	background: #fce4ec;
	border-radius: 999px;
	padding: 1px 9px;
	align-self: flex-start;
}

/* ---------- 结算底栏 ---------- */
.as-checkout-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid #e9eaec;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.as-checkout-sum { display: flex; align-items: baseline; gap: 10px; }
.as-checkout-sum span { font-size: 14px; color: #6b7280; }
.as-checkout-sum b {
	font-size: 24px;
	font-weight: 700;
	color: var(--main, #c2185b);
}

/* ---------- 支付区 ---------- */
.as-pay-box {
	background: #fff;
	border: 1px solid #e9eaec;
	border-radius: 12px;
	padding: 26px 22px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.as-pay-hint { margin: 0 0 16px; font-size: 14px; color: #6b7280; }
.as-pay-qr {
	width: 220px;
	height: 220px;
	margin: 0 auto 14px;
	border: 1px solid #f2f4f7;
	border-radius: 10px;
	padding: 8px;
	background: #fff;
}
.as-pay-qr img { width: 100%; height: 100%; display: block; }
.as-pay-wait { margin: 0 0 10px; font-size: 13px; color: #9aa1aa; }
.as-pay-amount {
	margin-top: 16px;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 10px;
	font-size: 14px;
	color: #6b7280;
}
.as-pay-amount b {
	font-size: 24px;
	font-weight: 700;
	color: var(--main, #c2185b);
}
.as-pay-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 8px;
}
.as-pay-form { display: none; }

.as-pay-done {
	display: flex;
	align-items: center;
	gap: 14px;
	justify-content: center;
	text-align: left;
}
.as-pay-done-ico {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #edf7f0;
	color: #00a32a;
	font-size: 22px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}
.as-pay-done-t { margin: 0 0 3px; font-size: 16px; font-weight: 700; color: #23262b; }
.as-pay-done-s { margin: 0; font-size: 13px; color: #9aa1aa; }

/* ---------- 订单页 ---------- */
.as-order-state {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	padding-bottom: 12px;
	border-bottom: 1px dashed #f2f4f7;
	margin-bottom: 14px;
}
.as-order-state b {
	font-size: 17px;
	font-weight: 700;
	color: var(--main, #c2185b);
	font-family: var(--serif, "Noto Serif SC", serif);
}
.as-order-state span { font-size: 13px; color: #9aa1aa; }
.as-order-state-cancelled b { color: #9aa1aa; }
.as-order-state-refunded b { color: #d63638; }

.as-verify-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.as-verify-form input {
	flex: 1 1 220px;
	padding: 10px 12px;
	border: 1px solid #e9eaec;
	border-radius: 8px;
	font-size: 14px;
	background: #fbfbfc;
}

/* ---------- 会员提示条 ---------- */
.as-vip-banner {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0 0 16px;
	padding: 14px 18px;
	border-radius: 12px;
	background: linear-gradient(100deg, #fce4ec, #fff 62%);
	border: 1px solid rgba(194, 24, 91, .22);
}
.as-vip-banner-ico {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--main, #c2185b);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}
.as-vip-banner-tx { flex: 1 1 260px; min-width: 0; }
.as-vip-banner-tx b {
	display: block;
	font-size: 15px;
	color: var(--main-dark, #a3154c);
	font-weight: 700;
	margin-bottom: 2px;
}
.as-vip-banner-tx em {
	font-style: normal;
	font-size: 12px;
	color: var(--text-sub, #6b7280);
}
.as-vip-banner-f { margin: 0; }

/* ---------- 地址簿（结算页点选） ---------- */
.as-addr-book { margin-bottom: 16px; }
.as-addr-book-t {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--text-sub, #6b7280);
	font-weight: 600;
}
.as-addr-book-list { display: flex; flex-wrap: wrap; gap: 8px; }
.as-addr-chip {
	text-align: left;
	background: #fbfbfc;
	border: 1px solid var(--border, #e9eaec);
	border-radius: 10px;
	padding: 9px 13px;
	font-size: 13px;
	color: var(--text, #23262b);
	cursor: pointer;
	line-height: 1.6;
	transition: border-color .15s ease, background .15s ease;
}
.as-addr-chip:hover {
	border-color: var(--main, #c2185b);
	background: var(--main-light, #fce4ec);
}
.as-addr-chip.is-on {
	border-color: var(--main, #c2185b);
	background: var(--main-light, #fce4ec);
}
.as-addr-chip b { font-weight: 600; }
.as-addr-chip span {
	display: block;
	color: var(--text-muted, #9aa1aa);
	font-size: 12px;
	max-width: 260px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ---------- 个人中心 ---------- */
.as-member-card { padding-bottom: 22px; }
.as-member-id {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.as-member-avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--main-light, #fce4ec);
	color: var(--main, #c2185b);
	font-size: 18px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}
.as-member-idmain { flex: 1 1 200px; min-width: 0; }
.as-member-idmain b { font-size: 15px; color: var(--text, #23262b); }
.as-member-idmain em {
	display: block;
	font-style: normal;
	font-size: 12px;
	color: var(--text-muted, #9aa1aa);
	margin-top: 3px;
}
.as-member-tag {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 10px;
	border-radius: 999px;
	font-size: 12px;
	background: var(--surface-2, #f5f6f7);
	color: var(--text-sub, #6b7280);
}
.as-member-tag-vip {
	background: var(--main-light, #fce4ec);
	color: var(--main-dark, #a3154c);
	font-weight: 600;
}
.as-member-logout { margin: 0 0 0 auto; }

.as-member-profile {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px dashed var(--border-light, #f2f4f7);
}
.as-member-profile .as-field { flex: 1 1 180px; max-width: 260px; }
.as-member-profile .as-btn-shop-ghost { margin-bottom: 1px; }

.as-member-vip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	background: linear-gradient(100deg, #fce4ec, #fff 58%);
	border-color: rgba(194, 24, 91, .2);
}
.as-member-vipmain { flex: 1 1 220px; min-width: 0; }
.as-member-vipmain b {
	display: block;
	font-size: 16px;
	color: var(--main-dark, #a3154c);
	font-weight: 700;
	margin-bottom: 3px;
}
.as-member-vipmain em {
	font-style: normal;
	font-size: 12px;
	color: var(--text-sub, #6b7280);
}
.as-member-vipnote { font-size: 13px; color: var(--text-muted, #9aa1aa); }

.as-member-sechead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.as-member-sechead .as-shop-card-t { margin-bottom: 12px; }
.as-member-more { font-size: 13px; color: var(--main, #c2185b); }

/* 订单四宫格 */
.as-order-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 6px;
}
.as-order-cell {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 13px 6px;
	border-radius: 10px;
	background: #fbfbfc;
	border: 1px solid var(--border-light, #f2f4f7);
	transition: border-color .15s ease, background .15s ease;
}
.as-order-cell:hover { border-color: var(--main, #c2185b); background: var(--main-light, #fce4ec); }
.as-order-ico { font-size: 22px; line-height: 1.2; }
.as-order-lb { font-size: 13px; color: var(--text, #23262b); }
.as-order-badge {
	position: absolute;
	top: 6px;
	right: 8px;
	min-width: 17px;
	height: 17px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--main, #c2185b);
	color: #fff;
	font-size: 11px;
	line-height: 17px;
	text-align: center;
	font-weight: 700;
}

.as-member-orderlist { margin-top: 8px; }
.as-member-order { text-decoration: none; }
.as-member-order:hover .as-co-name { color: var(--main, #c2185b); }
.as-member-order code { font-size: 12px; color: var(--text-sub, #6b7280); }
.as-member-order-tag {
	font-style: normal;
	display: inline-block;
	margin-left: 8px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--main-light, #fce4ec);
	color: var(--main-dark, #a3154c);
	font-size: 11px;
}
.as-order-st {
	font-style: normal;
	margin-left: 8px;
	font-size: 12px;
	color: var(--text-sub, #6b7280);
}
.as-order-st-pending { color: #c2740a; }
.as-order-st-paid { color: #00a32a; }

/* 地址管理 */
.as-member-addrs { display: grid; gap: 10px; }
.as-member-addr {
	border: 1px solid var(--border, #e9eaec);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	color: var(--text, #23262b);
	background: #fbfbfc;
}
.as-member-addrtop {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.as-member-addrops { margin-left: auto; display: flex; gap: 10px; }
.as-member-linkbtn {
	background: none;
	border: 0;
	padding: 0;
	font-size: 13px;
	color: var(--main, #c2185b);
	cursor: pointer;
}
.as-member-linkbtn.is-danger { color: #d63638; }
.as-member-addr p {
	margin: 5px 0 0;
	font-size: 13px;
	color: var(--text-sub, #6b7280);
}
.as-addr-form { margin-bottom: 16px; }
.as-addr-formbar { display: flex; gap: 10px; align-items: center; margin: 14px 0 0; }
.as-addr-mini { display: none; }
.as-field-check label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }

/* 常用入口 */
.as-menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 10px;
}
.as-menu-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 6px;
	border-radius: 10px;
	background: #fbfbfc;
	border: 1px solid var(--border-light, #f2f4f7);
	transition: border-color .15s ease, background .15s ease;
}
.as-menu-item:hover { border-color: var(--main, #c2185b); background: var(--main-light, #fce4ec); }
.as-menu-ico { font-size: 21px; line-height: 1.2; }
.as-menu-name { font-size: 12px; color: var(--text-sub, #6b7280); }

/* 订单页状态页签 */
.as-order-tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--border, #e9eaec);
	padding-bottom: 12px;
}
.as-order-tabs a {
	font-size: 14px;
	color: var(--text-sub, #6b7280);
	padding: 5px 12px;
	border-radius: 999px;
}
.as-order-tabs a.is-on {
	background: var(--main, #c2185b);
	color: #fff;
	font-weight: 600;
}

/* ---------- 结算页「选择支付方式」表单 ---------- */
.as-methods-form { text-align: left; }
.as-methods-form .as-btn-shop-lg { margin-top: 4px; justify-self: start; }

/* ---------- 头部会员入口 ---------- */
.as-member-entry {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	color: #6b7280;
	border: 1px solid transparent;
}
.as-member-entry:hover {
	color: var(--main, #c2185b);
	background: var(--main-light, #fce4ec);
}
.as-member-entry.is-vip { color: var(--main, #c2185b); }
.as-member-entry-ico { font-size: 15px; line-height: 1; }

/* ---------- 商品页购买按钮 ---------- */
.as-shop-buy {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.as-shop-buy-f { margin: 0; display: inline-flex; }
.as-shop-add { min-width: 140px; padding: 13px 22px; font-size: 15px; }
.as-shop-now { min-width: 170px; padding: 13px 26px; font-size: 15px; }

/*
 * 商城开启后，导购外链**降级为次要入口**。
 * 主色大按钮是「立即购买」（本站下单），「去第三方平台购买」只做一行小胶囊链接 ——
 * 否则两个玫红大按钮并排，用户分不清哪个才是本站下单。
 */
.as-single-buy .as-buy-btn {
	display: inline-block;
	background: transparent;
	color: var(--main, #c2185b);
	border: 1px solid var(--gold-line, rgba(194, 24, 91, .28));
	font-size: 13px;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 999px;
	margin-top: 4px;
}
.as-single-buy .as-buy-btn:hover {
	background: var(--main-light, #fce4ec);
	color: var(--main-dark, #a3154c);
}

/* ---------- 头部购物车入口 ---------- */
.as-cart-entry {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	color: #6b7280;
	border: 1px solid transparent;
}
.as-cart-entry:hover {
	color: var(--main, #c2185b);
	background: var(--main-light, #fce4ec);
}
.as-cart-entry-ico { font-size: 16px; line-height: 1; }
.as-cart-entry-n {
	position: absolute;
	top: -2px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--main, #c2185b);
	color: #fff;
	font-size: 11px;
	line-height: 18px;
	text-align: center;
	font-weight: 700;
}

/* ---------- 手机端 ---------- */
@media screen and (max-width: 782px) {
	.as-shop-page { padding: 22px 0 44px; }
	.as-shop-title { font-size: 20px; }
	.as-form-grid { grid-template-columns: 1fr; }
	.as-cart-row {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb info info"
			"qty   sub  del";
		gap: 10px 12px;
		padding: 14px;
	}
	.as-cart-thumb { grid-area: thumb; width: 64px; height: 64px; }
	.as-cart-info { grid-area: info; }
	.as-cart-qty { grid-area: qty; }
	.as-cart-sub { grid-area: sub; text-align: right; }
	.as-cart-del { grid-area: del; }
	.as-cart-bar,
	.as-checkout-bar {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	.as-cart-bar-l,
	.as-cart-bar-r,
	.as-checkout-sum { justify-content: center; }
	.as-pay-qr { width: 190px; height: 190px; }
	.as-order-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
	.as-order-cell { padding: 10px 3px; }
	.as-order-ico { font-size: 19px; }
	.as-order-lb { font-size: 12px; }
	.as-member-profile .as-field { max-width: none; flex: 1 1 100%; }
	.as-member-addrops { margin-left: 0; width: 100%; }
	.as-menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
