/* 浮窗在线咨询 */
.xx-consult { position: fixed; right: 18px; bottom: 18px; z-index: 9998; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
.xx-consult-fab {
	display: flex; align-items: center; gap: 7px;
	background: linear-gradient(135deg, #9e2b25, #b53a30); color: #fff;
	border: none; border-radius: 30px; padding: 12px 18px; cursor: pointer;
	font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px rgba(158,43,37,.4);
	transition: transform .15s, box-shadow .15s;
}
.xx-consult-fab:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(158,43,37,.5); }
.xx-consult-fab span { white-space: nowrap; }
.xx-consult-panel {
	position: absolute; right: 0; bottom: 60px; width: 300px;
	background: #fff; border: 1px solid #e8e0d2; border-radius: 12px;
	padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.xx-consult-panel[hidden] { display: none; }
.xx-consult-panel h4 { margin: 0 0 4px; font-size: 16px; color: #2b2b2b; }
.xx-consult-desc { margin: 0 0 12px; font-size: 12px; color: #8a7f6f; line-height: 1.5; }
.xx-consult-panel input, .xx-consult-panel textarea {
	width: 100%; padding: 8px 10px; margin-bottom: 8px;
	border: 1px solid #e8e0d2; border-radius: 6px; font-size: 13px; font-family: inherit;
	box-sizing: border-box;
}
.xx-consult-panel textarea { resize: vertical; }
.xx-consult-panel button[type=submit] {
	width: 100%; background: #9e2b25; color: #fff; border: none; border-radius: 6px;
	padding: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.xx-consult-panel button[type=submit]:hover { background: #b53a30; }
.xx-consult-disc { margin: 10px 0 0; font-size: 11px; color: #9a8f7f; line-height: 1.5; }
.xx-consult-ok { background: #ecf6ee; color: #2d7a3d; padding: 8px 10px; border-radius: 6px; font-size: 13px; margin-bottom: 10px; }
.xx-consult-err { background: #fdecec; color: #9e2b25; padding: 8px 10px; border-radius: 6px; font-size: 13px; margin-bottom: 10px; }

@media (max-width: 480px) {
	.xx-consult-fab span { display: none; }
	.xx-consult-panel { width: calc(100vw - 36px); }
}
