/**
 * FC Bag Sweep - Standalone button styles
 *
 * @package FC_Custom_Features
 */

.fc-bag-sweep-btn-wrapper {
	position: relative;
	display: inline-block;
}

.fc-bag-sweep-tooltip {
	position: absolute;
	left: 50%;
	bottom: 100%;
	transform: translate(-50%, 0);
	margin-bottom: 8px;
	padding: 6px 12px;
	background: #0b1f24;
	color: #fff;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.3;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	box-shadow: 0 4px 12px rgba(11, 31, 36, 0.25);
	z-index: 10;
}

.fc-bag-sweep-tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #0b1f24;
}

.fc-bag-sweep-btn-wrapper:hover .fc-bag-sweep-tooltip {
	opacity: 1;
}

.fc-bag-sweep-standalone {
	position: relative;
	overflow: hidden;
	border: 0 !important;
	border-radius: 12px !important;
	height: 40px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #0b1f24 !important;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
	cursor: pointer;
}

.fc-bag-sweep-standalone::before {
	content: "";
	position: absolute;
	inset: -22px;
	background: linear-gradient(
		90deg,
		#6bc9d3 0%,
		#85edf5 45%,
		#c7fbff 100%
	);
	opacity: 0.42;
	filter: blur(14px);
	transition: opacity 400ms ease;
	pointer-events: none;
}

.fc-bag-sweep-standalone:hover::before {
	opacity: 0.82;
}

.fc-bag-sweep-standalone::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px rgba(107, 201, 211, 0.35);
	pointer-events: none;
}

.fc-bag-sweep-label,
.fc-bag-sweep-sub,
.fc-bag-sweep-icon {
	position: relative;
	z-index: 1;
	color: #fff !important;
}

.fc-bag-sweep-label {
	font-weight: 800;
	letter-spacing: 0.08em;
	font-size: 12px;
	text-transform: uppercase;
}

.fc-bag-sweep-icon {
	font-size: 14px;
	opacity: 0.95;
	transform: translateY(-1px);
}

.fc-bag-sweep-sub {
	font-size: 11px;
	opacity: 0.85;
	letter-spacing: 0.02em;
}

/* Cart: locked Bag Sweep quantity so Decimal plugin cannot overwrite */
.fc-cart-item-bag-sweep input.qty.fc-bag-sweep-locked {
	cursor: default;
}
.fc-cart-item-bag-sweep .quantity .fc-bag-sweep-locked {
	pointer-events: none;
	opacity: 0.9;
}
