/* 全站悬浮购物车按钮 */
.epd-cart-fab {
	position: fixed;
	right: 24px;
	bottom: 28px;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #ff5c35;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(255, 92, 53, 0.35);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.epd-cart-fab:hover,
.epd-cart-fab:focus {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(255, 92, 53, 0.42);
}

.epd-cart-fab svg {
	display: block;
}

.epd-cart-fab-count {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: #1f2328;
	color: #fff;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
}

.epd-cart-fab {
	position: fixed;
}

.epd-cart-fab .epd-cart-fab-count {
	position: absolute;
}

@media (max-width: 600px) {
	.epd-cart-fab {
		right: 14px;
		bottom: 18px;
		padding: 10px 14px;
	}

	.epd-cart-fab-text {
		display: none;
	}
}

/* 左下角模式 */
.epd-cart-fab.is-left {
	right: auto;
	left: 24px;
}

@media (max-width: 600px) {
	.epd-cart-fab.is-left {
		right: auto;
		left: 14px;
	}
}
