/* ── Discount Badge ───────────────────────────── */
.itswb-sale-badge {
	display: inline-block;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	border-radius: 6px;
	letter-spacing: 0.3px;
	white-space: nowrap;
	z-index: 9;
}
.itswb-sale-badge .amount {
	font-weight: 700;
}

/* ── Flash Sale Timer ─────────────────────────── */
.itswb-flash-timer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0;
	padding: 10px 14px;
	background: #fff5f6;
	border: 1px solid #ffd9de;
	border-radius: 10px;
	font-size: 14px;
}
.itswb-flash-label {
	font-weight: 600;
	color: #b3253a;
}
.itswb-flash-countdown {
	display: inline-flex;
	gap: 6px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	color: #1f2430;
}
.itswb-flash-countdown .itswb-tu {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	min-width: 34px;
	padding: 4px 6px;
	background: #fff;
	border: 1px solid #ffd9de;
	border-radius: 8px;
	line-height: 1.1;
}
.itswb-flash-countdown .itswb-tu small {
	font-size: 10px;
	font-weight: 600;
	color: #8a94a6;
	text-transform: uppercase;
}
.itswb-flash-timer.itswb-expired {
	background: #f3f4f6;
	border-color: #e5e7eb;
}
.itswb-flash-timer.itswb-expired .itswb-flash-label {
	color: #6b7280;
}

/* Loop placement tweak */
.woocommerce ul.products li.product .itswb-flash-timer {
	margin: 8px 0 0;
	font-size: 12px;
	padding: 6px 8px;
}

/* ── BOGO free tag (cart) ─────────────────────── */
.itswb-free-tag {
	display: inline-block; padding: 2px 8px; font-size: 11px; font-weight: 700;
	letter-spacing: 0.5px; color: #fff; background: #16a34a; border-radius: 5px;
}

/* ── Product page quantity tier table ─────────── */
.itswb-tier-table {
	margin: 20px 0;
	padding: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}
.itswb-tier-table-title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
}
.itswb-tier-table ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.itswb-tier-table li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #334155;
}
.itswb-tier-badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	background: #e0f2fe;
	color: #0369a1;
	border-radius: 6px;
	white-space: nowrap;
}
.itswb-tier-text {
	line-height: 1.4;
}

/* ── Cart/checkout savings summary row ────────── */
.cart-collaterals .itswb-cart-savings th,
.cart-collaterals .itswb-cart-savings td,
.woocommerce-checkout-review-order-table .itswb-cart-savings th,
.woocommerce-checkout-review-order-table .itswb-cart-savings td {
	color: #16a34a;
	font-weight: 700;
}

/* ── Shop loop: compact tier badge ────────────── */
.itswb-loop-tiers {
	display: inline-block;
	margin: 6px 0 0;
	padding: 3px 9px;
	font-size: 11.5px;
	font-weight: 600;
	color: #92400e;
	background: #fef3c7;
	border: 1px solid #fde68a;
	border-radius: 6px;
	line-height: 1.4;
	white-space: nowrap;
}
.woocommerce ul.products li.product .itswb-loop-tiers {
	margin: 6px 0 0;
}

/* ── Cart line item: tier nudge ───────────────── */
.itswb-tier-nudge {
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.5;
}
.itswb-tier-nudge-applied {
	color: #16a34a;
	font-weight: 700;
}
.itswb-tier-nudge-next {
	color: #b45309;
	font-weight: 600;
}

