/* --patola-ct-offset is set from JS to the height of the theme's sticky
   add-to-cart bar, so the pill never covers the primary CTA. */
.patola-ct {
	position: fixed;
	left: 50%;
	bottom: calc(18px + var(--patola-ct-offset, 0px));
	transform: translateX(-50%) translateY(8px);
	z-index: 99990;
	display: none;
	align-items: baseline;
	gap: 10px;
	max-width: calc(100vw - 24px);
	padding: 11px 20px;
	border: 1px solid #e3d4ae;
	border-radius: 999px;
	background: #fdf9ef;
	box-shadow: 0 6px 22px rgba(60, 45, 10, .18);
	font-size: 14px;
	line-height: 1.3;
	color: #4a3f24;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease, bottom .2s ease;
}

.patola-ct.is-visible {
	display: flex;
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.patola-ct__label {
	font-weight: 600;
	white-space: nowrap;
}

.patola-ct__clock {
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum";
	font-size: 17px;
	font-weight: 700;
	color: #8a6d1c;
	min-width: 52px;
}

.patola-ct.is-urgent {
	border-color: #edc4bd;
	background: #fdf2f0;
	color: #6b241b;
}

.patola-ct.is-urgent .patola-ct__clock {
	color: #c0392b;
}

@media (max-width: 600px) {
	.patola-ct {
		bottom: calc(10px + var(--patola-ct-offset, 0px));
		padding: 7px 14px;
		font-size: 12px;
		gap: 7px;
		box-shadow: 0 3px 14px rgba(60, 45, 10, .22);
	}

	.patola-ct__clock {
		font-size: 14px;
		min-width: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.patola-ct {
		transition: none;
	}
}
