/* OnlySatvik sticky mobile order bar + cart minimum notice */

/* Sticky order bar — mobile only */
#os-order-bar {
	display: none;
}
@media (max-width: 768px) {
	/* Mobile bottom bars removed 2026-10-31 (owner request):
	   neither the bottom menu nor this cart bar shows on phones.
	   The minimum-order progress still appears on the cart page. */
	#os-order-bar {
		display: none !important;
	}
	.os-bar-progress {
		display: block;
		height: 4px;
		background: rgba(255, 255, 255, 0.2);
	}
	.os-bar-progress span {
		display: block;
		height: 100%;
		background: #ff914d;
		transition: width 0.3s ease;
	}
	.os-bar-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 16px;
	}
	.os-bar-info {
		display: flex;
		flex-direction: column;
		line-height: 1.3;
		min-width: 0;
	}
	.os-bar-count {
		font-size: 12px;
		opacity: 0.85;
	}
	.os-bar-total {
		font-size: 18px;
		font-weight: 800;
	}
	.os-bar-hint {
		font-size: 11px;
		opacity: 0.85;
	}
	.os-bar-hint.os-bar-ready {
		color: #c8e6c9;
		font-weight: 600;
	}
	.os-bar-btn {
		flex: 0 0 auto;
		background: #fff;
		color: var(--os-brand-dark);
		font-weight: 800;
		font-size: 15px;
		padding: 12px 26px;
		border-radius: 999px;
		text-decoration: none;
	}
	.os-bar-btn:hover {
		color: var(--os-brand-dark);
	}
}

/* Cart page minimum notice */
.os-cart-minimum {
	background: #f7fbf7;
	border: 1px solid #d7e8d7;
	border-radius: 12px;
	padding: 16px 18px;
	margin-bottom: 24px;
}
.os-cart-minimum-track {
	display: block;
	height: 8px;
	background: #e5e5e5;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 10px;
}
.os-cart-minimum-track span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--os-brand-2), var(--os-brand-dark));
	border-radius: 999px;
	transition: width 0.3s ease;
}
.os-cart-minimum p {
	margin: 0;
	font-size: 15px;
}
.os-cart-minimum-ok {
	color: var(--os-brand-dark);
	font-weight: 600;
}

/* Desktop display — enabled via Customizer → OnlySatvik Settings → Ordering & Cart */
@media (min-width: 769px) {
	body.os-bar-desktop #os-order-bar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9999;
		background: var(--os-brand-dark);
		color: #fff;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
	}
	body.os-bar-desktop {
		padding-bottom: 76px;
	}
}
