@charset "utf-8";

/* 客服弹窗：明亮橙红渐变 + 浅粉底 + 官方品牌色图标区 */

.fw-cs-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10050;
	background: rgba(0, 0, 0, 0.5);
	-webkit-overflow-scrolling: touch;
}

.fw-cs-overlay.is-open {
	display: block;
}

.fw-cs-modal {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 88%;
	max-width: 17.5rem;
	max-height: 90vh;
	overflow: hidden;
	border-radius: 0.48rem;
	box-shadow: 0 0.24rem 1.4rem rgba(243, 90, 56, 0.22), 0 0.08rem 0.4rem rgba(0, 0, 0, 0.08);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
	background: #fdecea;
}

.fw-cs-hd {
	position: relative;
	padding: 0.56rem 0.5rem 0.6rem;
	background: linear-gradient(90deg, #ff8c42 0%, #f35a38 100%);
	color: #fff;
	text-align: center;
	border-radius: 0.48rem 0.48rem 0 0;
}

.fw-cs-hd-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.14rem;
	padding: 0.12rem 0.4rem;
	margin-bottom: 0.32rem;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 1rem;
	font-size: 0.34rem;
	font-weight: 600;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.fw-cs-badge-chat {
	width: 0.38rem;
	height: 0.38rem;
	flex-shrink: 0;
	opacity: 0.95;
}

.fw-cs-hd-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 0.32rem;
}

.fw-cs-hd-ico {
	width: 0.84rem;
	height: 0.84rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(255, 255, 255, 0.92);
	box-shadow: 0 0.06rem 0.2rem rgba(0, 0, 0, 0.12);
	flex-shrink: 0;
}

.fw-cs-hd-ico + .fw-cs-hd-ico {
	margin-left: -0.26rem;
}

.fw-cs-hd-ico svg {
	width: 0.48rem;
	height: 0.48rem;
	display: block;
}

.fw-cs-hd-ico svg.fw-cs-svg-facebook {
	width: 100%;
	height: 100%;
}

.fw-cs-hd-ico--wa {
	background: #25d366;
}

.fw-cs-hd-ico--tg {
	background: #2aabee;
}

.fw-cs-hd-ico--fb {
	background: transparent;
}

/* Facebook 官方：#1877F2 圆角方 + 白 f（SVG 自带底色） */
.fw-cs-svg-facebook {
	display: block;
	width: 100%;
	height: 100%;
}

.fw-cs-hd h2 {
	margin: 0;
	font-size: 0.54rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.01em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.fw-cs-hd-status {
	margin: 0.2rem 0 0;
	font-size: 0.36rem;
	font-weight: 500;
	opacity: 0.98;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.18rem;
}

.fw-cs-hd-status i {
	width: 0.18rem;
	height: 0.18rem;
	border-radius: 50%;
	background: #7dffba;
	box-shadow: 0 0 0.14rem rgba(125, 255, 186, 0.95);
}

.fw-cs-close {
	position: absolute;
	top: 0.34rem;
	right: 0.34rem;
	z-index: 2;
	width: 0.78rem;
	height: 0.78rem;
	border: none;
	padding: 0;
	margin: 0;
	background: rgba(255, 255, 255, 0.38);
	color: #fff;
	border-radius: 50%;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	line-height: 0;
	overflow: hidden;
}

.fw-cs-close-x {
	display: block;
	width: 0.4rem;
	height: 0.4rem;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
	margin: 0;
}

.fw-cs-bd {
	background: linear-gradient(180deg, #fce8e6 0%, #f8e8ea 45%, #f5e4e6 100%);
	padding: 0.36rem 0.34rem 0.5rem;
	max-height: 60vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 0 0 0.48rem 0.48rem;
}

.fw-cs-intro {
	margin: 0 0 0.36rem;
	padding: 0.34rem 0.38rem;
	background: #fff;
	border: 1px solid rgba(243, 90, 56, 0.14);
	border-radius: 0.32rem;
	font-size: 0.38rem;
	color: #5c5c5c;
	line-height: 1.55;
	box-shadow: 0 0.06rem 0.16rem rgba(180, 90, 80, 0.08);
}

.fw-cs-intro strong {
	color: #f35a38;
	font-weight: 700;
}

.fw-cs-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fw-cs-item {
	display: flex;
	align-items: center;
	padding: 0.4rem 0.34rem;
	margin-bottom: 0.24rem;
	background: #fff;
	border: 1px solid rgba(243, 90, 56, 0.1);
	border-radius: 0.36rem;
	box-shadow: 0 0.06rem 0.18rem rgba(160, 70, 60, 0.07);
	text-decoration: none;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
}

.fw-cs-item:last-child {
	margin-bottom: 0;
}

.fw-cs-item:active {
	opacity: 0.94;
}

/* 官方图标区：圆角矩形（接近应用图标） */
.fw-cs-item-icon {
	width: 1.12rem;
	height: 1.12rem;
	border-radius: 0.28rem;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 0.34rem;
	overflow: hidden;
}

.fw-cs-brand-svg {
	width: 0.68rem;
	height: 0.68rem;
	display: block;
}

.fw-cs-item-icon .fw-cs-brand-svg.fw-cs-svg-facebook {
	width: 100%;
	height: 100%;
}

.fw-cs-item-icon--wa {
	background: #25d366;
}

.fw-cs-item-icon--tg {
	background: #2aabee;
}

.fw-cs-item-icon--fb {
	background: transparent;
}

.fw-cs-text {
	flex: 1;
	min-width: 0;
	text-align: left;
}

.fw-cs-text h3 {
	margin: 0 0 0.08rem;
	font-size: 0.46rem;
	font-weight: 700;
	color: #222;
}

.fw-cs-text p {
	margin: 0;
	font-size: 0.34rem;
	color: #9a9a9a;
	line-height: 1.4;
}

.fw-cs-chev {
	color: #f35a38;
	font-size: 0.46rem;
	font-weight: 300;
	margin-left: 0.2rem;
	flex-shrink: 0;
}

.fw-cs-foot {
	margin-top: 0.36rem;
	padding-top: 0.28rem;
	border-top: 1px solid rgba(243, 90, 56, 0.16);
	text-align: center;
	font-size: 0.32rem;
	color: #8a8a8a;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.16rem;
}

.fw-cs-foot-dot {
	width: 0.14rem;
	height: 0.14rem;
	border-radius: 50%;
	background: #f35a38;
	flex-shrink: 0;
	box-shadow: 0 0 0.08rem rgba(243, 90, 56, 0.55);
}

.fw-cs-item.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

body.fw-cs-no-scroll {
	overflow: hidden;
	height: 100%;
}
