input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* 兼容 Firefox 浏览器 */
input[type="number"] {
	-moz-appearance: textfield;
}

img {
	display: block;
}

.hflex {
	display: flex;
	flex-direction: row;
}

.vflex {
	display: flex;
	flex-direction: column;
}

.hcenter {
	justify-content: center;
}

.vcenter {
	align-items: center;
}

/* 头部样式 */
.page-header {
	position: relative;
	width: 100%;
	min-height: 5.69rem;
	background-image: url('../img/headerBg.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

/* 头部左侧logo */
.header-higou {
	width: 3.24rem;
	height: auto;
	margin-left: 0.24rem;
	padding-top: 0.25rem;
}

/* 头部双十一logo */
.header-double11 {
	width: 2.98rem;
	height: auto;
	margin-left: 0.39rem;
	margin-top: -0.29rem;
}

/* 头部底部容器（包含背景和内容） */
.header-bottom-container {
	width: 100%;
	height: 1.51rem;
	position: absolute;
	bottom: 0;
	left: 0;
}

/* 头部底部背景图 */
.header-bottom-bg {
	width: 100%;
	height: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}

/* 头部底部内容容器） */
.header-bottom-content {
	position: relative;
	display: flex;
	font-family: SourceHanSansCN-Bold;
}

/* 头部底部左侧卡片 */
.header-bottom-left-card {
	min-width: 0.94rem;
	height: 0.97rem;
	background-image: url('../img/header-bottom-left.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 0.44rem;
	margin-left: 0.13rem;
	padding: 0 0.15rem;
}

/* 最终价格图标 */
.final-price-img {
	width: 0.55rem;
	height: 0.19rem;
	margin-top: 0.08rem;
}

/* 最终价格数字容器 */
.final-price-container {
	display: flex;
	margin-top: 0.01rem;
	height: 0.32rem;
	line-height: 0.32rem;
	position: relative;
}


.final-price-icon {
	position: absolute;
	width: 0.16rem;
	height: 0.16rem;
	right: -0.07rem;
	top: -0.05rem;
}


/* 最终价格数字 */
.final-price-number {
	font-size: 0.35rem;
	color: rgb(255, 255, 255);
	font-family: DingTalk-JinBuTi;
	line-height: 0.32rem;
	opacity: 0;
	letter-spacing: -0.02rem;
}

/* 折扣标签 */
.discount-tag {
	display: flex;
	width: 0.7rem;
	height: 0.17rem;
	background-color: #ffffff;
	font-size: 0.1rem;
	color: rgb(245, 31, 31);
	font-weight: 500;
	align-items: center;
	justify-content: center;
	margin-top: 0.08rem;
	opacity: 0;
}

/* 头部底部右侧卡片 */
.header-bottom-right-card {
	width: 2.23rem;
	height: 0.77rem;
	background-image: url('../img/header-bottom-right.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	display: flex;
	margin-left: 0.2rem;
	margin-top: 0.57rem;
	align-items: center;
	justify-content: center;
	color: rgba(0, 0, 0, 1);
}

/* 价格组（原价/立减价）公共样式 */
.original-price-group,
.discount-price-group {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 价格标签（原价/双十一立减） */
.price-label {
	font-size: 0.14rem;
	font-weight: 700;
	line-height: 1;
}

/* 价格数字 */
.price-number {
	font-size: 0.32rem;
	font-weight: 700;
	line-height: 1;
	margin-top: 0.04rem;
	font-family: DingTalk-JinBuTi;
}

.originalPrice {
	opacity: 0;
}

.discountPrice {
	opacity: 0;
}

/* 价格分隔符（-） */
.price-separator {
	display: flex;
	line-height: 0.3rem;
	font-size: 0.4rem;
	height: 0.2rem;
	margin-left: 0.1rem;
	margin-right: 0.04rem;
	font-family: DingTalk-JinBuTi;
}

.container {
	background-image: url('../img/main-bg.png');
	background-repeat: no-repeat;
	/* background-size: 100% 100%; */
	background-size: contain;
}

/* 主要内容区域样式 区域1 */
.section1 {
	padding-top: 0.14rem;
	width: 3.55rem;
	height: 4.73rem;
	padding-left: 0.13rem;
}

.section1 img {
	width: 100%;
	height: 100%;
}


.section2 {
	margin-top: 0.13rem;
	width: 3.55rem;
	height: 4.74rem;
	padding-left: 0.13rem;
}

.section2 img {
	width: 100%;
	height: 100%;
}

.section3 {
	margin-top: 0.17rem;
	width: 3.55rem;
	height: 5.68rem;
	padding-left: 0.13rem;
}

.section3 img {
	width: 100%;
	height: 100%;
}

.section4 {
	margin-top: 0.17rem;
	width: 3.55rem;
	height: 3.74rem;
	margin-left: 0.13rem;
	background-image: url(../img/section4-bg.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	position: relative;
}

.section4-title {
	width: 0.86rem;
	margin-left: 1.3rem;
	padding-top: 0.15rem;
}

/* 下面轮播区域 */
.swiper {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.5rem;
}

.about-swiper {
	width: 100%;
	overflow: hidden;
}

.swiper-slide {
	display: flex;
	overflow: hidden;
	flex-direction: column;
	/* background-color: red; */
	padding: 0 0.22rem;
}

.avatar {
	width: 0.47rem;
	border-radius: 50%;
}

.swiper-title {
	margin-left: 0.1rem;
	font-size: 0.14rem;
	color: rgba(0, 0, 0, 1);
}

.swiper-info {
	gap: 0.05rem;
	height: 0.14rem;
	line-height: 0.14rem;
	font-family: SourceHanSansCN-Regular;
}

.swiper-name {
	font-size: 0.16rem;
	font-family: Adobe Heiti Std R;
	height: 0.15rem;
	line-height: 0.15rem;
	margin-top: 0.07rem;
	font-weight: 700;
}

.line {
	background-color: rgba(52, 52, 52, 1);
	width: 2.94rem;
	height: 1px;
	margin-top: 0.09rem;
	margin-bottom: 0.14rem;
	margin-left: -0.05rem;
}

.swiper-content {
	/* height: 0.57rem; */
	font-size: 0.136rem;
	line-height: 0.2rem;
	color: rgba(0, 0, 0, 1);
	font-family: Adobe Heiti Std R;
	margin-left: 0.06rem;
}

.swiper-content-ellipsis {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	text-overflow: ellipsis;
	/* height: 0.57rem; */
}

.swiper-image {
	margin-top: 0.19rem;
	justify-content: space-between;
}

.swiper-img {
	width: 0.79rem;
	height: 0.87rem;
}

/* 放大预览遮罩层样式 */
.img-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	cursor: zoom-out;
}

.img-modal img {
	/* width: 90vw; */
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}

.swiper-pagination {
	position: relative !important;
	margin-top: 0.2rem;
	margin-top: 0.1rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.swiper-pagination .swiper-pagination-bullet {
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	padding-top: 0;
	opacity: 1;
	width: 0.05rem;
	height: 0.05rem;
	background: rgba(255, 255, 255, 1);
	border-radius: 100%;
}

.swiper-pagination .swiper-pagination-bullet-active {
	background: rgba(88, 183, 254, 1);
	width: 0.09rem;
	border-radius: 0.03rem;
}

.section5 {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 3.55rem;
	/* min-height: 4.4rem; */
	margin-top: 0.23rem;
	padding-left: 0.13rem;
}

.section5-area {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 3.55rem;
	min-height: 2.82rem;
}

.section5-title {
	background-image: url(../img/section5-top-bg.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 2.91rem;
	height: 0.6rem;
	padding-top: 0.15rem;
	padding-left: 1rem;
	z-index: 1;
}


/* 下拉区域 */
.dropdowns-wrapper {
	display: flex;
	flex-direction: column;
	margin-top: -0.1rem;
	gap: 0.15rem;
	background-image: url(../img/section5-bottom-bg.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 3.55rem;
	min-height: 2.35rem;
	padding-left: 0.26rem;
	padding-top: 0.47rem;
	padding-bottom: 0.48rem;
}

.dropdown-container {
	position: relative;
	width: 3rem;
	transition: margin-bottom 0.3s ease;
}

.dropdown-header {
	background-color: rgba(255, 255, 255, 1);
	width: 3rem;
	height: 0.38rem;
	border-radius: 0.1rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 0.12rem;
	border: 1px solid rgba(165, 165, 165, 1);
}

.dropdown-header span {
	color: rgba(0, 0, 0, 1);
	font-size: 0.12rem;
	font-family: SourceHanSansCN-Regular;
}

/* 箭头 */
.dropdown-arrow {
	width: 0.13rem;
	position: relative;
	transition: transform 0.2s ease;
}

.dropdown-content {
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 0 0 0.04rem 0.04rem;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0;
}

.dropdown-text-content {
	font-size: 0.1rem;
	color: rgba(63, 63, 63, 1);
	text-align: center;
	padding: 0.05rem 0.1rem;
}

/* 展开状态 */
.dropdown-expanded .dropdown-header {
	border-radius: 0.1rem 0.1rem 0 0;
	border-bottom: none;
}

.dropdown-expanded .dropdown-arrow {
	transform: rotate(180deg);
}

.dropdown-expanded .dropdown-content {
	padding: 0;
	border: 1px solid rgba(165, 165, 165, 1);
	border-top: none;
	border-radius: 0 0 0.1rem 0.1rem;
}

.explore {
	width: 2.45rem;
	margin-top: 0.24rem;
}

/* section5结束 */

/* 页脚支付区域样式 */
.page-footer {
	position: fixed;
	z-index: 10;
	width: 3.34rem;
	max-width: 750px;
	height: 0.54rem;
	margin: 0 auto;
	left: 0;
	right: 0;
	bottom: 0.15rem;
	display: flex;
	align-items: center;
}

.pay-background {
	width: 100%;
	height: 100%;
	position: absolute;
}

.price-display {
	left: 0.24rem;
	position: absolute;
	color: rgba(251, 251, 251, 1);
	font-family: DingTalk-JinBuTi;
	display: flex;
	align-items: baseline;
}

.price-display__symbol {
	font-size: 0.24rem;
}

.price-display__value {
	font-size: 0.24rem;
	opacity: 0;
}

.pay-button__text {
	position: absolute;
	top: 0.05rem;
	right: 0.06rem;
	font-family: Adobe Heiti Std R;
	color: rgba(0, 0, 0, 1);
	font-size: 0.2rem;
	font-weight: 700;
	width: 2.08rem;
	height: 0.43rem;
	background-image: url(../img/pay-bg-right.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-double11 {
	position: absolute;
	left: 0.7rem;
	top: -0.05rem;
	font-size: 0.08rem;
	color: rgba(0, 0, 0, 1);
	font-family: SourceHanSansCN-Medium;
	font-weight: 700;
	background-color: rgba(255, 231, 178, 1);
	border-radius: 0px 0.06rem 0px 0.06rem;
	width: 0.48rem;
	height: 0.16rem;
}


/* 弹窗背景遮罩 */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	display: none;
	opacity: 0;
	transition: opacity 0.3s;
}

.modal-overlay.active {
	display: block;
	opacity: 1;
}

/* 弹窗内容 */
.modal {
	position: fixed;
	left: 0;
	right: 0;
	bottom: -82vh;
	z-index: 1001;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	padding: 0.23rem 0.27rem 0.33rem 0.32rem;
	transition: bottom 0.3s ease-out;
	max-height: 80vh;
	overflow-y: auto;
	background-image: url(../img/pay-modal.png);
	background-size: cover;
	background-position: center;
	max-width: 750px;
	margin: 0 auto;
}

.modal.active {
	bottom: 0;
}

/* 解锁内容标题 */
.unlock-title {
	width: 0.89rem;
	display: flex;
}


.member-card-area {
	margin-top: 0.18rem;
	margin-bottom: 0.29rem;
	display: flex;
}

/* 会员信息卡片 */
.member-card {
	background-color: rgb(255, 249, 250);
	border-radius: 0.18rem;
	width: 1.02rem;
	/* height: 0.97rem; */
	display: flex;
	flex-direction: column;
	align-items: center;
}

.member-period {
	font-size: 0.17rem;
	margin-bottom: 0.13rem;
	color: rgba(0, 0, 0, 1);
	line-height: 1;
	margin-top: 0.18rem;
}

.member-price-area {
	display: flex;
	align-items: baseline;
	line-height: 1;
	margin-bottom: 0.14rem;
}

.member-price {
	font-size: 0.18rem;
	color: rgba(255, 86, 31, 1);
	margin-left: 0.05rem;
}

.member-discount {
	font-size: 0.14rem;
	color: rgba(0, 0, 0, 1);
	background: rgb(248, 113, 56);
	width: 100%;
	height: 0.26rem;
	min-height: 0.26rem;
	max-height: 0.26rem;
	border-radius: 0 0 0.18rem 0.18rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 大礼包信息 */
.gift-package {
	font-size: 0.21rem;
	color: rgba(0, 0, 0, 1);
	margin-left: 0.15rem;
	margin-top: 0.15rem;
	line-height: 1;
}

/* 验证码登录区域 */
.login-section {
	margin-bottom: 20px;
}

.login-title {
	width: 1.17rem;
	display: flex;
	margin-bottom: 0.22rem;
}

/* 输入框样式 */
.input-group {
	margin-bottom: 0.24rem;
}

.input-group:last-child {
	margin-bottom: 0.3rem;
}

.phone-input,
.code-input {
	width: 100%;
	height: 0.4rem;
	border: 1px solid rgba(181, 181, 181, 1);
	border-radius: 0.09rem;
	font-size: 0.16rem;
	display: flex;
	align-items: center;
}

.phone-prefix {
	color: rgba(0, 0, 0, 1);
	margin-left: 0.17rem;
	margin-right: 0.08rem;
	display: flex;
	align-items: center;
}

.arrow-down {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid rgba(0, 0, 0, 1);
	margin-left: 5px;
}

.phone-number {
	flex: 1;
	border: none;
	outline: none;
	font-size: 0.16rem;
	margin-left: 0.27rem;
	margin-right: 0.03rem;
	width: 100%;
	background: transparent;
}

.code-input {
	position: relative;
}

.verification-code {
	flex: 1;
	border: none;
	outline: none;
	width: 100%;
	font-size: 0.16rem;
	margin-left: 0.26rem;
	margin-right: 0.03rem;
	background: transparent;
}

.get-code-btn {
	position: absolute;
	right: 0.22rem;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(109, 102, 244, 1);
	background: none;
	border: none;
	font-size: 0.16rem;
	cursor: pointer;
}

.get-code-btn:disabled {
	color: #ccc;
	cursor: not-allowed;
}

/* 支付按钮 */
.confirm-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background-color: rgba(248, 113, 56, 1);
	color: rgba(255, 255, 255, 1);
	border: none;
	border-radius: 0.09rem;
	height: 0.58rem;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	margin-bottom: 0.15rem;
	transition: background-color 0.3s;
	font-size: 0.26rem;
}


/* 协议勾选 */
.agreement {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.11rem;
	color: rgba(150, 150, 150, 1);
}

#agreement-login-check,
#agreement-pay-check {
	appearance: none;
	-webkit-appearance: none;
	width: 0.15rem;
	height: 0.15rem;
	border-radius: 50%;
	background-color: white;
	border: 1px solid #ddd;
	cursor: pointer;
	position: relative;
	transition: background-color 0.2s ease;
}

#agreement-login-check:checked,
#agreement-pay-check:checked {
	background-color: #888;
}

/* 自定义对勾 */
#agreement-login-check:checked::after,
#agreement-pay-check:checked::after {
	content: '';
	position: absolute;
	width: 0.03rem;
	height: 0.06rem;
	border: 2px solid white;
	border-top: none;
	border-left: none;
	transform: rotate(45deg);
	top: 0.02rem;
	left: 0.04rem;
}

.agreement input {
	margin-right: 0.06rem;
	width: 14px;
	height: 14px;
}

.agreement a {
	color: rgba(150, 150, 150, 1);
	text-decoration: none;
}

/* Toast提示 */
.toast {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 0.1rem;
	border-radius: 0.04rem;
	font-size: 0.14rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
	z-index: 2000;
}

.toast.show {
	opacity: 1;
}

/* 全屏加载遮罩 */
.fullscreen-loading {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 显示加载状态 */
.fullscreen-loading.active {
	opacity: 1;
	visibility: visible;
}

/* 加载动画 */
.loading-spinner {
	width: 50px;
	height: 50px;
	border: 5px solid #f3f3f3;
	border-top: 5px solid #ed7600;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

/* 旋转动画 */
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* 支付成功页面 */
#successModal {
	position: fixed;
	inset: 0;
	background: #fff;
	width: 100vw;
	height: 100%;
	overflow: hidden;
	display: none;
	z-index: 9999;
	flex-direction: column;
	align-items: center;
}

/* 左上角返回 */
.back-arrow {
	display: flex;
	align-items: center;
	position: absolute;
	top: 0.09rem;
	left: 0.11rem;
	cursor: pointer;
}

.arrow-right {
	width: 0.13rem;
	height: 0.14rem;
}

.back-arrow-text {
	font-size: 0.15rem;
	color: rgba(8, 8, 8, 1);
	margin-left: 0.07rem;
}

/* 支付成功标题 */
.success-title {
	width: 1.22rem;
	height: 0.27rem;
	margin-top: 1.34rem;
}

.success-img {
	width: 0.97rem;
	height: 0.97rem;
	margin-top: 0.29rem;
}

/* 下载按钮 */
.download-btn {
	width: 1.23rem;
	height: 0.44rem;
	margin-top: 0.32rem;
	background-color: rgba(164, 173, 179, 1);
	color: rgba(254, 254, 254, 1);
	font-weight: bold;
	border: none;
	border-radius: 0.09rem;
	font-size: 0.14rem;
	cursor: pointer;
	transition: background-color 0.3s;
}

.download-btn:hover {
	background-color: rgba(144, 152, 157, 1.0);
}


@keyframes shake {

	0%,
	100% {
		transform: translateX(0);
	}

	10%,
	30%,
	50%,
	70%,
	90% {
		transform: translateX(0px);
	}

	20%,
	40%,
	60%,
	80% {
		transform: translateX(5px);
	}
}

.shake-animation {
	animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}