/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 08 2026 | 08:30:53 */
/* 遮罩 */
.preorder_popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 遮罩显示时 */
.preorder_popup-overlay.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;  /* ← 这里是关键，之前漏掉了 */
}

/* 弹窗主体 */
.preorder_popup-modal {
	position: relative;
	width: 600px;
	max-width: 92vw;
	border-radius: 24px;
	overflow: hidden;
	background: linear-gradient(45deg, #627D7E, #E9E5E2);
	opacity: 0;
	transform: translateY(40px) scale(0.96);
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.preorder_popup-overlay.active .preorder_popup-modal {
	transform: translateY(0) scale(1);
	opacity: 1;
}

/* 关闭按钮 */
.popup-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 100;
	padding: 0;
	pointer-events: auto;  /* ← 明确可点击 */
}

.popup-close img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;  /* ← 防止点击穿透到 img 而不是 button */
}

/* 价格徽章 */
.popup-price-badge {
	position: absolute;
	top: 30px;
	right: 60px;
	width: 120px;
	z-index: 20;
}

.popup-price-badge img {
	width: 100%;
}

/* 产品图片 */
.popup-product-img {
	width: 100%;
	display: block;
	padding-top: 20px;
}

.popup-product-img img {
	width: 100%;
	display: block;
	object-fit: cover;
}

/* 文字区域 */
.popup-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 32px 32px;
	text-align: center;
	z-index: 10;
	pointer-events: auto;  /* ← 明确可点击 */
}

.popup-title {
	color: #ffffff;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 20px;
}

.popup-title em {
	font-style: italic;
	font-weight: 700;
}

/* 按钮 */
.popup-btn {
	display: inline-block;
	width: 100%;
	max-width: 320px;
	padding: 18px 0;
	background: #C8E840;
	color: #1a1a1a;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	border-radius: 100px;
	text-decoration: none;
	transition: opacity 0.2s;
	pointer-events: auto;  /* ← 明确可点击 */
}
@media (max-width: 768px) {
	 .preorder_popup-modal {
    width: 92vw;
    border-radius: 16px;
  }

  .popup-title {
    font-size: 18px;
    margin: 0 0 14px;
  }

  .popup-btn {
    font-size: 16px;
    padding: 14px 0;
    max-width: 80%;
  }

  .popup-close {
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
  }

  .popup-price-badge {
    top: 16px;
    right: 40px;
    width: 80px;
  }

  .popup-content {
    padding: 24px 20px 20px;
  }
}