/*
 * Product-page sale countdown (inc/sale-countdown.php). Loads only on a product
 * page with a REAL deadline. Calm, on-brand: soft pink card, the live sale's
 * colour as an accent (--lzc-* vars when a campaign is live), tabular digits,
 * no flashing / alarm red. Sale colours fall back to brand pink.
 */

.lenzz-pdp-deadline {
	margin: 10px 0 14px;
	padding: 12px 14px 13px;
	border: 1px solid rgba(240, 80, 111, 0.2);
	border-left: 4px solid var(--lzc-badge-b, #F0506F);
	border-radius: 16px;
	background: #FFF7F9;
	color: var(--wp--preset--color--ink, #2E2A33);
	max-width: 440px;
}
.lenzz-dl-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}
.lenzz-dl-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--lzc-badge-a, #FF6F91) 0%, var(--lzc-badge-b, #F0506F) 100%);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}
.lenzz-dl-date {
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted, #6E6976);
	white-space: nowrap;
}
.lenzz-dl-text {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
}
.lenzz-dl-tail:empty { display: none; }
/* "Then back to Rs 1,800." — the honest consequence, quieter than the offer itself. */
.lenzz-dl-sub {
	margin: 6px 0 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted, #6E6976);
}
.lenzz-dl-code {
	display: inline-block;
	margin: 0 2px;
	padding: 1px 8px;
	border: 1.5px dashed var(--wp--preset--color--brand-dark, #F0506F);
	border-radius: 7px;
	background: #fff;
	color: var(--wp--preset--color--brand-dark, #F0506F);
	font: inherit;
	font-weight: 800;
	letter-spacing: 0.05em;
	cursor: pointer;
}
.lenzz-dl-code.is-copied { border-style: solid; background: var(--wp--preset--color--brand-dark, #F0506F); color: #fff; }

.lenzz-dl-clock { display: flex; gap: 6px; margin-top: 8px; }
.lenzz-dl-unit {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	min-width: 52px;
	padding: 5px 6px 4px;
	border: 1px solid rgba(240, 80, 111, 0.18);
	border-radius: 10px;
	background: #fff;
}
.lenzz-dl-unit b {
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--wp--preset--color--brand-dark, #F0506F);
	font-variant-numeric: tabular-nums;
}
.lenzz-dl-unit i {
	font-style: normal;
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted, #6E6976);
}
/* Final 24 h: same calm card, slightly warmer — still no red alarm. */
.lenzz-pdp-deadline.is-final { background: #FFF0F4; }
.lenzz-pdp-deadline.is-ended { opacity: 0.75; border-left-color: #C9C3CC; }
.lenzz-pdp-deadline.is-ended .lenzz-dl-chip { background: #C9C3CC; }

/* Sticky Add-to-Cart bar: one compact line under the price. */
.lenzz-sticky-deadline {
	display: block;
	margin-top: 1px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--wp--preset--color--brand-dark, #F0506F);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.lenzz-sticky-deadline[hidden] { display: none; }
