/**
 * WooCommerce conversion lane widgets (sticky ATC + free shipping bar).
 *
 * @since 2.2.75
 */

.ltxee-sticky-atc-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9998;
	transform: translateY(110%);
	transition: transform 0.25s ease;
	background: #fff;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	padding: 10px 16px;
	/* Phones with a gesture bar reserve space along the bottom edge. Without this the bar's
	   contents sit underneath it and its buttons compete with the system swipe-up gesture.
	   max() keeps the original 10px wherever there is no inset to honour. */
	padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.ltxee-sticky-atc-bar--visible {
	transform: translateY(0);
}

.ltxee-sticky-atc-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: space-between;
}

.ltxee-sticky-atc-bar__title {
	font-weight: 600;
	flex: 1;
	min-width: 120px;
}

.ltxee-sticky-atc-bar__price {
	opacity: 0.9;
}

.ltxee-free-ship-bar__msg {
	margin: 0 0 4px;
}

.ltxee-free-ship-bar__track {
	height: 8px;
	background: #e8e8e8;
	border-radius: 4px;
	overflow: hidden;
}

.ltxee-free-ship-bar__fill {
	display: block;
	height: 100%;
	background: #2271b1;
	border-radius: 4px;
	transition: width 0.35s ease;
}
