* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'huohuo-Regular';
}

body {
	background-color: #fff;
	color: #333;
	max-width: 750px;
	margin: 0 auto;
	overflow-y: auto;
	height: auto;
	min-height: 100vh;
}

/* 快手主题色 */
:root {
	--ks-primary: #FED925;
	--ks-primary-dark: #F2CD21;
	--ks-text: #222222;
	--ks-text-light: #666666;
	--ks-bg: #f5f5f5;
	--ks-border: #e5e5e5;
	--ks-rating: #FF5500;
}

/* 轮播图 */
.ks-slider {
	position: relative;
	overflow: hidden;
	height: 375px;
	background-color: #fff;
}

.ks-slider-wrapper {
	display: flex;
	transition: transform 0.3s ease;
	height: 100%;
}

.ks-slider-item {
	flex: 0 0 100%;
	height: 100%;
}

.ks-slider-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ks-slider-dots {
	position: absolute;
	bottom: 15px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.ks-slider-dot {
	width: 6px;
	height: 6px;
	border-radius: 3px;
	background-color: rgba(255, 255, 255, 0.5);
	transition: all 0.3s ease;
}

.ks-slider-dot.active {
	width: 18px;
	background-color: white;
}

.ks-slider-count {
	position: absolute;
	bottom: 15px;
	right: 15px;
	background-color: rgba(0, 0, 0, 0.3);
	color: white;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 10px;
}

/* 快手直播爆款标识 */
.ks-live-tag {
	width: 100%;
	text-align: center;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 5;
	display: block;
}

.ks-live-tag-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 0;
}

/* 价格和销量覆盖层 */
.ks-price-overlay {
	position: absolute;
	left: 10px;
	bottom: 3px;
	display: flex;
	align-items: flex-end;
	padding: 6px 15px 6px 0;
	background: transparent;
	z-index: 10;
}

.ks-price-sales-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ks-overlay-price {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 0px;
	display: flex;
	align-items: flex-end;
	line-height: 1;
	transform: translateY(-5px);
}

.ks-subsidy-text {
	margin-right: 4px;
	font-size: 13px;
	font-weight: bold;
	line-height: 1.2;
	color: #fff;
}

.ks-price-symbol {
	font-family: 'huohuo-Regular';
	font-size: 15px;
	font-weight: bold;
	margin-right: 1px;
	line-height: 1.2;
	color: #fff;
}

.ks-price-symbol1 {
	font-family: 'huohuo-Regular';
	font-size: 13px;
	font-weight: bold;
	margin-right: 1px;
	line-height: 1.2;
	color: #fff;
}

@font-face {
	font-family: 'huohuo-Regular';
	src: url('/static/font/huohuo-Regular.ttf') format('woff2'),
		url('/static/font/huohuo-Regular.ttf') format('woff'),
		url('/static/font/huohuo-Regular.ttf') format('truetype'),
		url('/static/font/huohuo-Regular.ttf') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

.ks-price-first-digit,
.ks-price-integer-part {
	font-family: 'huohuo-Regular';
	font-weight: 500 !important;
	font-size: 24px;
	line-height: 1;
	color: #fff;
}

.ks-price-decimal-part {
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
}

.ks-info-row {
	display: flex;
	align-items: center;
	line-height: 1;
}

.ks-original-price {
	font-size: 11.8px;
	color: #ffffff;
	font-weight: bold;
	line-height: 1.4;
	font-family: 'icon';
}

.ks-divider {
	font-size: 6px;
	color: #f6f6f6;
	margin: 0 6px;
	line-height: 1;
	font-weight: 180;
	font-family: 'icon';
}

.ks-simple-sales {
	font-size: 11.8px;
	color: #ffffff;
	font-weight: bold;
	line-height: 1;
	font-family: 'icon';
}

/* 商品信息 */
.ks-product-info {
	background-color: white;
	padding: 10px;
	margin-bottom: 0px;
	padding-bottom: 5px;
}

.ks-product-price {
	font-size: 24px;
	color: #FF5500;
	font-weight: bold;
	display: flex;
	align-items: flex-end;
	margin-bottom: 10px;
}

.ks-product-price::before {
	content: '¥';
	font-size: 16px;
	margin-right: 2px;
}

.ks-product-original {
	font-size: 14px;
	color: #999;
	margin-left: 8px;
	text-decoration: line-through;
	margin-bottom: 2px;
}

.ks-product-title {
	font-size: 16px;
	color: var(--ks-text);
	line-height: 1.5;
	margin-bottom: 2px;
	display: block;
	position: relative;
}

.ks-product-title-text {
	word-break: break-word;
	padding-left: 55px;
	font-size: 15px;
	font-weight: bold;
	color: rgb(34, 34, 34);
}

.ks-flagship-tag {
	position: absolute;
	left: 0;
	top: 2px;
	display: inline-block;
	background-color: #f54211;
	color: #FFE566;
	font-size: 11px;
	padding: 0px 3px;
	border-radius: 2px;
	font-weight: bold;
	line-height: 1.5;
}

.ks-refund-tag {
	display: inline-block;
	background-color: #e5f9f2;
	color: #19a57c;
	font-size: 10px;
	font-weight: bold;
	padding: 0px 3px;
	border-radius: 2px;
	margin-left: 0px;
	line-height: 1.5;
	vertical-align: 6px;
}

.ks-product-stats {
	display: flex;
	font-size: 12px;
	color: var(--ks-text-light);
	margin-bottom: 10px;
}

.ks-product-stat {
	margin-right: 15px;
}

.ks-product-badges {
	display: flex;
	flex-wrap: nowrap;
	gap: 3.8px;
	margin-top: 0px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE and Edge */
	padding-bottom: 5px;
	/* 为滚动条预留空间 */
}

.ks-product-badges::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

.ks-badge {
	font-size: 12.8px;
	color: #7a8599;
	border: 0.5px solid #d3d7e0;
	border-radius: 4px;
	padding: 2px 6px;
	line-height: 1.4;
	white-space: nowrap;
	flex-shrink: 0;
	font-weight: 420;
}

/* 规格选择 */
.ks-specs {
	background-color: white;
	padding: 15px;
	margin-bottom: 10px;
}

.ks-specs-title {
	font-size: 14px;
	color: var(--ks-text);
	margin-bottom: 10px;
}

.ks-specs-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 15px;
}

.ks-spec-item {
	border: 1px solid var(--ks-border);
	border-radius: 4px;
	padding: 6px 12px;
	font-size: 13px;
	color: var(--ks-text);
	cursor: pointer;
}

.ks-spec-item.active {
	border-color: var(--ks-primary);
	background-color: var(--ks-primary);
	color: var(--ks-text);
}

.ks-quantity {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ks-quantity-title {
	font-size: 14px;
	color: var(--ks-text);
}

.ks-quantity-control {
	display: flex;
	align-items: center;
	border: 1px solid var(--ks-border);
	border-radius: 4px;
	overflow: hidden;
}

.ks-quantity-button {
	width: 36px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f8f8f8;
	color: var(--ks-text);
	font-size: 18px;
	cursor: pointer;
}

.ks-quantity-input {
	width: 50px;
	height: 30px;
	text-align: center;
	border: none;
	border-left: 1px solid var(--ks-border);
	border-right: 1px solid var(--ks-border);
	font-size: 14px;
	color: var(--ks-text);
}

/* 店铺信息 */
.ks-shop-info {
	background: linear-gradient(to bottom, rgb(253, 247, 240), rgb(255, 255, 253));
	padding: 15px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	border: 1px solid rgb(240, 232, 219);
	border-radius: 8px;
}

.ks-shop-logo {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	margin-right: 12px;
	object-fit: cover;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.ks-shop-detail {
	flex: 1;
}

.ks-shop-name {
	font-size: 15px;
	color: var(--ks-text);
	margin-bottom: 4px;
	font-weight: 600;
}

.ks-shop-fans {
	font-size: 12px;
	color: var(--ks-text-light);
}

.ks-enter-shop {
	padding: 6px 12px;
	border: none;
	border-radius: 4px;
	font-size: 12px;
	background-color: #FF2C55;
	color: #fff;
	font-weight: 500;
}

.ks-shop-meta {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.ks-shop-experience {
	display: flex;
	align-items: center;
	margin-left: 10px;
}

.ks-experience-label {
	font-size: 12px;
	color: #666;
	margin-right: 5px;
}

.ks-stars-container {
	display: flex;
	align-items: center;
	margin-right: 5px;
}

.ks-experience-status {
	font-size: 12px;
	color: #FF5500;
}

/* 商品详情 */
.ks-detail {
	background-color: white;
	margin-bottom: 10px;
}

.ks-detail-header {
	padding: 12px 10px;
	display: flex;
	justify-content: left;
	position: relative;
}

.ks-detail-title {
	font-size: 15px;
	color: rgb(9 18 50);
	font-weight: bold;
	position: relative;
	padding: 0 0px;
}

.ks-detail-title::before,
.ks-detail-title::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 15px;
	height: 1px;
	/* background-color: var(--ks-primary);*/
}

.ks-detail-title::before {
	left: 0;
}

.ks-detail-title::after {
	right: 0;
}

.ks-detail-content {
	padding: 10px;
	font-size: 14px;
	color: var(--ks-text);
	line-height: 1.6;
	margin-top: -14px;
}

/* 底部购买栏 */
.ks-buy-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: -2px;
	max-width: 750px;
	margin: 0 auto;
	display: flex;
	height: 50px;
	background-color: white;
	box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
	z-index: 99;
	padding-right: 10px;
}

.ks-bar-actions {
	display: flex;
	margin-right: 10px;
}

.ks-bar-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 42px;
	font-size: 10px;
	color: var(--ks-text-light);
}

.ks-bar-icon {
	font-size: 20px;
	margin-bottom: 2px;
}

.ks-bar-buttons {
	display: flex;
	flex: 1;
	margin: 3px 0;
}

.ks-bar-button {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 500;
	color: var(--ks-text);
}

.ks-add-cart {
	background-color: rgb(254, 241, 235);
	display: none;
	justify-content: center;
	align-items: center;
	padding: 0;
	flex: 0.4;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

.ks-add-cart svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.ks-buy-now {
	background-color: rgb(242, 48, 48);
	color: white;
	position: relative;
	padding-bottom: 15px;
	padding-top: 6px;
	font-weight: bold;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
	flex: 1.4;
	border-radius: 8px;
	font-size: 14.6px;
}

.ks-subsidy-price {
	position: absolute;
	bottom: 7px;
	left: 0;
	right: 0;
	font-size: 10px;
	font-weight: bold;
	color: rgba(255, 255, 255, 1);
	line-height: 1;
	text-align: center;
	font-family: 'icon';
}

/* 为底部栏腾出空间 */
.ks-content {
	margin-bottom: 0;
	height: auto;
	overflow-y: visible;
	padding-top: 0;
	padding-bottom: 0;
}

/* 底部额外空白区域 */
.ks-bottom-space {
	height: 130px;
	background-color: transparent;
	clear: both;
}

/* 返回顶部 */
.ks-back-top {
	position: fixed;
	bottom: 70px;
	right: 20px;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99;
	display: none;
}

.ks-back-top::before {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border-left: 2px solid #666;
	border-top: 2px solid #666;
	transform: rotate(45deg);
	margin-top: 5px;
}

/* 购买弹窗 */
.buy-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	max-width: 750px;
	margin: 0 auto;
	background-color: white;
	border-radius: 12px 12px 0 0;
	transform: translateY(100%);
	transition: transform 0.3s;
	z-index: 100;
	overflow: hidden;
	display: none;
}

.buy-popup.active {
	transform: translateY(0);
	display: block;
}

/* 店铺信息区域 */
.popup-shop-info {
	display: flex;
	align-items: center;
	padding: 12px 15px;
	border-bottom: 1px solid #f5f5f5;
}

.popup-shop-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 10px;
	flex-shrink: 0;
}

.popup-shop-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.popup-shop-detail {
	flex: 1;
}

.popup-shop-name {
	font-size: 14px;
	font-weight: 500;
	color: #333;
	margin-bottom: 2px;
}

.popup-shop-experience {
	display: flex;
	align-items: center;
}

.popup-experience-label {
	font-size: 11px;
	color: #666;
	margin-right: 4px;
}

.popup-stars-container {
	display: flex;
	align-items: center;
	margin-right: 4px;
}

.popup-stars-container .ks-star {
	width: 10px;
	height: 10px;
	margin-right: 1px;
}

.popup-experience-status {
	font-size: 11px;
	color: #FF5500;
	font-weight: 500;
}

/* 商品信息区域 */
.popup-header {
	padding: 10px;
	position: relative;
	border-bottom: 1px solid #f5f5f5;
}

.popup-product-info {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	border: 3px solid rgb(91 73 33);
	border-radius: 7px;
}

.popup-product-img {
	width: 110px;
	height: 110px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	margin: 6px 6px;
}

.popup-product-detail {
	flex: 1;
}

.popup-product-title {
	font-size: 14px;
	color: #000;
	margin-bottom: 0px;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	padding: 6px 0px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 198px;
	margin-top: 4px;
	font-weight: bold;
}

.popup-product-title .ks-flagship-tag {
	position: static;
	display: inline-block;
	background-color: #000;
	color: #FFE566;
	font-size: 11px;
	padding: 0px 3px;
	border-radius: 2px;
	font-weight: bold;
	line-height: 1.5;
	margin-right: 4px;
	vertical-align: 1px;
}

.popup-product-price {
	font-size: 15px;
	color: #403e3d;
	font-weight: 500;
	margin-bottom: 6px;
}

.popup-subsidy-label {
	display: inline-block;
	font-size: 15px;
	color: rgb(242 48 48);
	vertical-align: 2px;
	margin-right: 4px;
	font-weight: bold;
	font-family: none;
}

.popup-product-stock {
	font-size: 12px;
	color: #666;
	margin-bottom: 4px;
}

.popup-product-selected {
	font-size: 12px;
	color: #999;
}

.close-btn {
	position: absolute;
	top: 6px;
	right: 15px;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	font-size: 18px;
	color: rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

/* 内容区域 */
.popup-content {
	padding: 15px;
	padding-top: 0px;
}

.section-title {
	font-size: 14px;
	color: rgb(27 26 32);
	margin-bottom: 8px;
	font-weight: bold;
	font-family: none;
}

.address-section,
.spec-section {
	margin-bottom: 15px;
}

.address-info-content {
	display: flex;
	align-items: center;
	gap: 0px;
}

.address-text {
	flex: 1;
}

.address-user {
	display: flex;
	margin-bottom: 5px;
	font-size: 14px;
	color: #333;
	font-family: none;
}

.address-edit {
	font-size: 11.5px;
	color: rgb(28 33 37);
	font-weight: bold;
	border: 0.5px solid rgb(205 205 205);
	padding: 0px 6px;
	border-radius: 4px;
	line-height: 20px;
	height: 18px;
}

.quantity-section {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* 规格选择 */
.popup-spec-items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 5px;
}

.popup-spec-item {
	border: 0px solid #ddd;
	padding: 5px 12px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
	background: rgb(240 241 245);
}

.popup-spec-item[data-selected="true"] {
	background-color: rgb(255 255 255);
	font-family: 'icon';
	font-weight: bold;
	color: rgb(242 48 48);
	border: 1px solid rgb(242 48 48);
}

/* 数量选择 */
.number-input {
	display: flex;
	align-items: center;
	border: 1px solid #eee;
	border-radius: 4px;
}

.number-input .minus,
.number-input .plus {
	width: 24px;
	height: 24px;
	text-align: center;
	background: rgb(247 247 249);
}

.number-input input {
	width: 50px;
	height: 30px;
	border: none;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
}

/* 弹窗遮罩层 */
.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 98;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.popup-overlay.active {
	display: block;
	opacity: 1;
}

/* 底部区域 */
.popup-footer {
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #f5f5f5;
}

.popup-total-price {
	font-size: 18px;
	color: #FF5500;
	font-weight: 500;
}

.popup-confirm-btn {
	background-color: #FF5500;
	color: white;
	border: none;
	height: 40px;
	border-radius: 20px;
	padding: 0 30px;
	font-size: 16px;
	font-weight: 500;
}

/* 地址信息样式 */
.address-info {
	padding: 10px 0px;
	margin-bottom: 10px;
	cursor: pointer;
}

.address-info>div {
	background: #fff;
	margin: 18px 4px;
	border: 1px solid #f7f7f9;
	border-left: 0;
	border-right: 0;
	border-bottom: 6px solid #f5f6fa;
}

.address-info .location-icon {
	background: #ff5555;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.address-info .address-detail {
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.address-info .phone-protect {
	font-size: 12px;
	color: #999;
	background: #f5f5f5;
	padding: 1px 6px;
	border-radius: 4px;
}

/* 禁用长按选择 */
.buy-popup,
#addressPopup {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}

/* 优化数字输入框样式 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* 触摸反馈效果 */
.minus:active,
.plus:active,
.popup-spec-item:active {
	opacity: 0.7;
}

button:active {
	opacity: 0.8;
}

/* 地址选择弹窗 */
.address-popup,
.add-address-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: white;
	border-radius: 12px 12px 0 0;
	max-height: 90vh;
	overflow-y: auto;
	z-index: 1001;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.address-popup.active,
.add-address-popup.active {
	transform: translateY(0);
	height: 100%;
}

.address-popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 11px 15px;
	border-bottom: 0px solid #eee;
}

.address-popup-title {
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	position: absolute;
	top: 5%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.address-popup-close {
	color: #999;
	cursor: pointer;
}

.address-popup-content {
	padding: 0px;
}

.address-list {
	margin-bottom: 15px;
}

.address-item {
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 10px;
	position: relative;
	cursor: pointer;
}

.address-item.active {
	border-color: var(--ks-primary);
	background-color: #FFFBEA;
}

.address-item.active::after {
	content: '';
	position: absolute;
	right: 12px;
	top: 12px;
	width: 18px;
	height: 18px;
	background-color: var(--ks-primary);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 12 10 16 18 8'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
}

.address-item-name {
	font-size: 14px;
	font-weight: 500;
	color: #333;
	margin-bottom: 5px;
}

.address-item-phone {
	color: #666;
	margin-left: 10px;
}

.address-item-detail {
	font-size: 14px;
	color: #666;
	margin-top: 5px;
}

.address-item-default {
	display: inline-block;
	font-size: 12px;
	color: var(--ks-primary);
	border: 1px solid var(--ks-primary);
	border-radius: 2px;
	padding: 0 4px;
	margin-top: 5px;
}

.add-address-btn,
.save-address-btn {
	background-color: rgb(242 48 48);
	color: #fff;
	text-align: center;
	padding: 12px 0;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	width: 92%;
	margin-left: 4%;
	position: fixed;
	bottom: 14px;
}

.form-item {
	margin-bottom: 15px;
}

.form-item label {
	display: block;
	font-size: 14px;
	color: #333;
	margin-bottom: 8px;
}

.form-item input[type="text"],
.form-item input[type="tel"],
.form-item textarea {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px;
	font-size: 14px;
	color: #333;
}

.form-item textarea {
	height: 80px;
	resize: none;
}

.form-item input[type="checkbox"] {
	margin-right: 5px;
}

/* 地址信息 */
.no-address {
    font-size: 15px;
    color: rgb(10 4 30);
    padding: 8px 0;
    margin-top: 4px;
    margin-left: -2px;
    font-weight: bold;
}

.region-select {
	display: flex;
	gap: 8px;
	width: 100%;
}

.region-select select {
	flex: 1;
	height: 38px;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0 8px;
	font-size: 14px;
	color: #333;
	background-color: #fff;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 12px;
	padding-right: 24px;
}

.region-select select:focus {
	outline: none;
	border-color: var(--ks-primary);
}

.form-item input[type="text"],
.form-item input[type="tel"],
.form-item textarea {
	height: 38px;
}

.region-selector {
	width: 100%;
}

.region-selector input {
	width: 100%;
	height: 38px;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0 10px;
	font-size: 14px;
	color: #333;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px;
	cursor: pointer;
	user-select: none;
}

/* 省市区选择器 */
.region-picker-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	z-index: 1002;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	max-width: 750px;
	margin: 0 auto;
}

.region-picker-popup.active {
	transform: translateY(0);
	background: #f7f7f9;
	border-radius: 12px;
}

.region-picker-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 10px;
	border-bottom: 0px solid #eee;

}

.region-picker-title {
	font-size: 15px;
	font-weight: bold;
	color: #000;
}

.region-picker-cancel,
.region-picker-confirm {
	font-size: 14px;
	color: #303030;
	cursor: pointer;
	padding: 4px 8px;
}

.region-picker-confirm {
	color: #303030;
	font-weight: 500;
}

.region-picker-content {
	display: flex;
	height: 250px;
	position: relative;
	overflow: hidden;
	background: #f7f7f9;
}

.region-picker-content::before,
.region-picker-content::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 100px;
	z-index: 1;
	pointer-events: none;
}

.region-picker-content::before {
	top: 0;
}

.region-picker-content::after {
	bottom: 0;
	background: linear-gradient(to top, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

.region-picker-column {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
	height: 100%;
	text-align: center;
	padding: 100px 0;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE and Edge */
	scroll-snap-type: y mandatory;
	background: #fff;
}

.region-picker-column::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

.region-picker-item {
	padding: 12px 0;
	font-size: 15px;
	color: #555;
	transition: all 0.2s ease;
	height: 38px;
	line-height: 38px;
	scroll-snap-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.region-picker-item.active {
	color: #000000;
	transform: scale(1.2);
	font-weight: bold;
	font-family: 'huohuo-Regular';
}

/* 选中线 */
.region-picker-indicator {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 38px;
	transform: translateY(-50%);
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	pointer-events: none;
	z-index: 1;
	background-color: rgba(250, 250, 250, 0.5);
}

/* 订单跳转相关样式 */
.order-success-toast {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 0.8);
	color: #fff;
	padding: 15px 20px;
	border-radius: 8px;
	z-index: 10000;
	text-align: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	max-width: 80%;
}

.order-success-toast .success-icon {
	font-size: 36px;
	color: #52c41a;
	margin-bottom: 10px;
}

.order-success-toast .toast-text {
	font-size: 16px;
	margin-bottom: 5px;
}

.order-success-toast .toast-subtext {
	font-size: 14px;
	opacity: 0.8;
}

/* 确保跳转中的状态显示 - 快手风格 */
.payment-redirect-overlay {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 85%;
	max-width: 320px;
	padding: 25px 20px;
	background-color: white;
	border-radius: 12px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.payment-redirect-overlay .loading-icon {
	width: 40px;
	height: 40px;
	border: 3px solid #f0f0f0;
	border-top: 3px solid #FE4D32;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin-bottom: 20px;
}

.payment-redirect-overlay .redirect-text {
	font-size: 16px;
	color: #333;
	margin-bottom: 8px;
	font-weight: 500;
}

.payment-redirect-overlay .order-number {
	font-size: 14px;
	color: #999;
	display: flex;
	align-items: center;
	margin-bottom: 0;
}

.payment-redirect-overlay .order-number::before {
	content: "";
	display: block;
	width: 5px;
	height: 5px;
	background-color: #FED925;
	border-radius: 50%;
	margin-right: 6px;
}

/* 添加快手风格的底部图标 */
.payment-redirect-overlay:after {
	content: '';
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background-color: #f0f0f0;
	border-radius: 2px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* 订单记录按钮 */
.pending-order-badge {
	position: fixed;
	right: 15px;
	bottom: 80px;
	width: 44px;
	height: 44px;
	background-color: #FE4D32;
	color: white;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 2px 8px rgba(254, 77, 50, 0.3);
	z-index: 100;
}

.pending-order-badge:after {
	content: '!';
	font-size: 22px;
	font-weight: bold;
}

/* 快手主色按钮 */
.ks-button {
	background-color: #FED925;
	color: #333;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	border-radius: 20px;
	padding: 0 20px;
	border: none;
	display: inline-block;
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(254, 217, 37, 0.3);
}

/* 购物车图标样式 */
.icon-cart:before {
	content: "\e642";
	font-family: "icon" !important;
	font-size: 20px;
	line-height: 1;
}

/* 添加卡片样式 */
.ks-rectangle-card {
	background-color: rgb(104, 84, 39);
	margin: 10px 15px;
	border-radius: 6px;
	padding: 10px 15px;
	color: rgb(254, 232, 180);
	font-size: 14px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 功能卡片样式 */
.ks-features-card {
	/*background-color: #ffffff;
    margin: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    overflow: hidden;*/
}

.feature-item {
	padding: 6px 11px 12px 11px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 0px solid #f5f5f5;
}

.feature-item:last-child {
	border-bottom: none;
}

.feature-content {
	display: flex;
	align-items: flex-start;
	flex: 1;
}

.feature-content .icon {
	margin-right: 8px;
	margin-top: 2px;
	flex-shrink: 0;
}

.feature-text-group {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	color: #333;
	margin-left: 10px;
	margin-top: -3px;
}

.feature-text-group div {
	line-height: 1.5;
}

.feature-text-group div:first-child {
	font-size: 14px;
	margin-bottom: 4px;
}

.feature-text {
	font-size: 13px;
	color: #333;
	line-height: 1.5;
}

.arrow-icon {
	flex-shrink: 0;
}

/* 添加白色背景包裹区域 */
.ks-white-wrapper {
	background-color: #fff;
	border-radius: 8px;
	margin: 0px 0;
	overflow: hidden;
}

/* 商品评价样式 */
.ks-reviews-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	border-bottom: 0px solid #f5f5f5;
	padding-top: 8px;
}

.ks-reviews-title {
	font-size: 15px;
	font-weight: bold;
	color: #333;
	margin: 0;
}

.ks-reviews-more {
	display: flex;
	align-items: center;
	font-size: 13px;
	color: #666;
	padding: 8px;
}

.ks-arrow-icon {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-top: 1.5px solid #999;
	border-right: 1.5px solid #999;
	transform: rotate(45deg);
}

.ks-review-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 15px;
	border-bottom: 1px solid #f5f5f5;
}

.ks-review-tag {
	display: inline-block;
	padding: 6px 10px;
	background-color: #fff1f0;
	color: #333;
	font-size: 12px;
	border-radius: 4px;
	line-height: 1;
}

.ks-review-list {
	padding: 0 10px;
}

.ks-review-item {
	padding: 8px 0;
	border-bottom: 0px solid #f5f5f5;
}

.ks-review-item:last-child {
	border-bottom: none;
}

.ks-review-user {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.ks-user-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 10px;
	margin-left: 0px;
	margin-top: -22px;
}

.ks-user-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ks-user-info {
	display: flex;
	flex-direction: column;
}

.ks-user-name {
	font-size: 12.4px;
	color: rgb(132 137 141);
	margin-bottom: 2px;
}

.ks-review-time {
	font-size: 10px;
	color: #858994;
}

.ks-review-content {
	padding-left: 30px;
	margin-top: -4px;
}

.ks-review-text {
	font-size: 13px;
	color: #030917;
	line-height: 1.7;
	margin-bottom: 8px;
}

.ks-review-images {
	display: flex;
	gap: 8px;
	margin-top: -26px;
}

.ks-review-image-item {
	width: 70px;
	height: 70px;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
}

.ks-review-image-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ks-review-image-more {
	width: 70px;
	height: 70px;
	border-radius: 4px;
	background-color: rgba(0, 0, 0, 0.03);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	font-size: 14px;
}

.ks-no-review {
	padding: 30px 0;
	text-align: center;
	color: #999;
	font-size: 14px;
}

.ks-shop-flagship {
	display: inline-block;
	background-color: #000;
	color: rgb(244, 222, 192);
	font-size: 11px;
	padding: 0px 3px;
	border-radius: 2px;
	font-weight: bold;
	margin-right: 4px;
	line-height: 1.5;
	vertical-align: 1px;
}

.ks-rating {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.ks-star {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 2px;
	background-size: contain;
	background-repeat: no-repeat;
}

.ks-star-full {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF5500' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'%3E%3C/path%3E%3C/svg%3E");
}

.ks-star-half {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23DDDDDD' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2v15.27Z'%3E%3C/path%3E%3Cpath fill='%23FF5500' d='M12 17.27V2L9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27Z'%3E%3C/path%3E%3C/svg%3E");
}

.ks-star-empty {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23DDDDDD' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'%3E%3C/path%3E%3C/svg%3E");
}

.ks-rating-score {
	font-size: 12px;
	color: var(--ks-rating);
	margin-left: 4px;
}

.ks-shop-experience {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.ks-experience-label {
	font-size: 11px;
	color: #666;
	margin-right: 4px;
}

.ks-stars-container {
	display: flex;
	align-items: center;
	margin-right: 4px;
}

.ks-experience-status {
	font-size: 11px;
	color: #FF5500;
	font-weight: 500;
}