/**
 * FuelX Custom Frontend Styles
 */

/* Buy Now Button */
.single-product form.cart .fuelx-buy-now-button {
	margin-left: 10px;
	background-color: #000000;
	color: #ffffff;
	border: none;
	padding: 12px 24px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.single-product form.cart .fuelx-buy-now-button:hover {
	background-color: #e50914;
	color: #ffffff;
}

.single-product form.cart .fuelx-buy-now-button:active {
	transform: scale(0.98);
}

@media (max-width: 600px) {
	.single-product form.cart .fuelx-buy-now-button {
		margin-left: 0;
		margin-top: 10px;
		width: 100%;
	}
	.single-product form.cart .single_add_to_cart_button {
		width: 100%;
	}
}

/* WhatsApp Buttons */
.fuelx-whatsapp-order-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #25D366;
	color: #ffffff !important;
	padding: 12px 20px;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none !important;
	margin-top: 12px;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.fuelx-whatsapp-order-btn:hover {
	background-color: #1eb954;
	color: #ffffff !important;
}

.fuelx-whatsapp-order-btn.inline {
	margin-top: 0;
}

/* Floating WhatsApp Button */
.fuelx-floating-whatsapp {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 56px;
	height: 56px;
	background-color: #25D366;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	z-index: 9999;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fuelx-floating-whatsapp:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
	color: #ffffff;
}

/* Sale Discount Percentage Badge */
.onsale.fuelx-sale-badge {
	background-color: #e50914 !important;
	color: #ffffff !important;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 3px;
	font-size: 13px;
	line-height: 1.2;
}

/* Free Shipping Progress Bar */
.fuelx-free-shipping-bar {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 14px 18px;
	margin: 15px 0;
}

.fuelx-fs-notice {
	font-size: 14px;
	color: #333333;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.fuelx-fs-progress-track {
	width: 100%;
	height: 8px;
	background: #e9ecef;
	border-radius: 10px;
	overflow: hidden;
}

.fuelx-fs-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #ff9900, #28a745);
	border-radius: 10px;
	transition: width 0.4s ease;
}

.fuelx-free-shipping-bar.is-qualified .fuelx-fs-progress-fill {
	background: #28a745;
}

/* Cart Header / Widget */
.fuelx-cart-widget-wrap {
	display: inline-block;
}

.fuelx-cart-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	position: relative;
}

.fuelx-cart-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.fuelx-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background: #e50914;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	line-height: 18px;
	border-radius: 9px;
	text-align: center;
	padding: 0 4px;
}
