@charset "utf-8";
/* CSS Document */

/* 头部导航 */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	max-width: 750px;
	margin: 0 auto;
	background: #fff;
	height: 0.88rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 0.3rem;
	z-index: 100;
}

.tabs {
	display: flex;
	gap: 0.4rem;
}

.tab-item {
	font-size: 0.3rem;
	font-weight: bold;
	color: #333;
	padding-bottom: 0.1rem;
	position: relative;
	cursor: pointer;
}

.tab-item.active {
	color: #ff5442;
}

.tab-item.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 0.06rem;
	background: linear-gradient(90deg, #ff5442, #ff8c42);
	border-radius: 0.03rem;
}

.order-query {
	display: flex;
	align-items: center;
	gap: 0.08rem;
	font-size: 0.24rem;
	color: #666;
	cursor: pointer;
}

.order-icon {
	font-size: 0.28rem;
	line-height: 1;
}

/* 套餐列表 */
.package-list {
	padding: 1rem 0.24rem 0.3rem;
}

/* 套餐卡片 */
.package-card {
	background: #f5f5f5;
	border-radius: 0.16rem;
	overflow: hidden;
	margin-bottom: 0.2rem;
	box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:active {
	transform: scale(0.98);
}

.card-header {
	background: #e8e8e8;
	padding: 0.1rem 0.24rem;
	display: flex;
	align-items: center;
	gap: 0.12rem;
}

.card-title {
	font-size: 0.26rem;
	font-weight: bold;
	color: #333;
}

.pro-badge {
	background: #999;
	color: #fff;
	font-size: 0.2rem;
	padding: 0.02rem 0.08rem;
	border-radius: 0.04rem;
	font-weight: normal;
}

.card-content {
	background: #fff;
	padding: 0.24rem;
	display: flex;
	gap: 0.2rem;
	position: relative;
	min-height: 1.8rem;
}

.card-left {
	flex-shrink: 0;
}

.card-image {
	width: 1.8rem;
	height: 1.8rem;
	object-fit: cover;
	border-radius: .1rem;
	overflow: hidden;
}

.card-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-top {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.08rem;
	margin-top: 0.2rem;
	z-index: 1;
}

.card-data {
	font-size: 0.8rem;
	font-weight: bold;
	color: #fff;
	text-align: center;
	letter-spacing: 0.02rem;
}

.card-data-desc {
	font-size: 0.16rem;
	color: rgba(255, 255, 255, 0.85);
	text-align: center;
	line-height: 1.3;
}

.card-price-tag {
	background: linear-gradient(135deg, #ff6b5a, #ff4757);
	border-radius: 0.3rem;
	padding: 0.08rem 0.3rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0.02rem 0.08rem rgba(255, 71, 87, 0.3);
	min-width: 1rem;
}

.price-num {
	font-size: 0.52rem;
	font-weight: bold;
	color: #fff;
	line-height: 1;
}

.price-unit {
	font-size: 0.18rem;
	color: #fff;
	opacity: 0.95;
	margin-top: 0.04rem;
}

.card-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.16rem;

}

.package-title {
	display: flex;
	gap: 0.08rem;
}

.speed-label {
	font-size: 0.2rem;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ff5442;
	color: #fff;
	padding: 0.04rem 0.1rem;
	border-radius: 0.04rem;
}

.price {
	font-size: 0.28rem;
	font-weight: bold;
	color: #333;
}

.package-desc {
	font-size: 0.22rem;
	color: #666;
	line-height: 1.5;
	margin-bottom: .2rem;
}

.package-age {
	font-size: 0.2rem;
	color: #999;
}

.apply-btn {
	position: absolute;
	bottom: 0.24rem;
	right: 0.24rem;
	background: linear-gradient(135deg, #ff6b5a, #ff8f6b);
	color: #fff;
	font-size: 0.24rem;
	font-weight: bold;
	padding: 0.16rem 0.4rem;
	border-radius: 0.5rem;
	cursor: pointer;
	box-shadow: 0 0.04rem 0.12rem rgba(255, 107, 90, 0.3);
	transition: all 0.3s ease;
	z-index: 11;
}

.apply-btn:active {
	transform: scale(0.95);
	box-shadow: 0 0.02rem 0.08rem rgba(255, 107, 90, 0.4);
}