/* LLLTLab Toolkit – ingyenes szállítás ablak

   Visszafogott, mert vásárlás közben szól bele. Egy uralkodó szín, egy
   semleges és egy kiemelés az órához. Nincs háttérfény és nincs
   figyelemelterelő mozgás: egyszer felcsúszik, aztán áll. */

.lltk-offer {
	position: fixed;
	z-index: 9500;
	right: 18px;
	bottom: 18px;
	width: min(330px, calc(100vw - 36px));
	padding: 18px 20px 20px;
	background: #fff;
	border: 1px solid #d8dce2;
	border-radius: 4px;
	box-shadow: 0 6px 24px rgba(17, 50, 91, .14);
	font-size: .94rem;
	line-height: 1.55;
	color: #434b57;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .28s ease, transform .28s ease;
}

.lltk-offer.is-on {
	opacity: 1;
	transform: none;
}

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

.lltk-offer__x {
	position: absolute;
	top: 6px;
	right: 8px;
	padding: 4px 8px;
	border: 0;
	background: none;
	color: #9aa2ae;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

.lltk-offer__x:hover {
	color: #434b57;
}

.lltk-offer__h {
	margin: 0 0 4px;
	padding-right: 18px;
	color: var(--lltk-primary, #11325B);
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.3;
}

.lltk-offer__t {
	margin: 0 0 12px;
}

.lltk-offer__c {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 14px;
	font-size: .86rem;
	color: #6b7480;
}

.lltk-offer__time {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	font-size: 1.02rem;
	color: #cc0000;
}

.lltk-offer__b {
	display: block;
	padding: 12px 16px;
	background: var(--lltk-primary, #11325B);
	color: #fff;
	border-radius: 3px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.lltk-offer__b:hover {
	filter: brightness(.92);
	color: #fff;
}

.lltk-offer__no {
	display: block;
	width: 100%;
	margin: 8px 0 0;
	padding: 6px;
	border: 0;
	background: none;
	color: #6b7480;
	font: inherit;
	font-size: .86rem;
	cursor: pointer;
}

.lltk-offer__no:hover {
	color: #434b57;
	text-decoration: underline;
}

@media (max-width: 640px) {
	.lltk-offer {
		right: 10px;
		left: 10px;
		bottom: 10px;
		width: auto;
	}
}

/* A kosárban kiírt visszajelzés */

.lltk-offer-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 0 0 18px;
	padding: 12px 16px;
	border: 1px solid #bfe3c8;
	border-left: 3px solid #1a7f37;
	border-radius: 3px;
	background: #f1f9f3;
	line-height: 1.5;
}

.lltk-offer-cart strong {
	color: #166b2e;
	font-size: 1.04rem;
}

.lltk-offer-cart span {
	color: #434b57;
	font-size: .9rem;
}

@media print {
	.lltk-offer {
		display: none;
	}
}

/*
 * Az elfogadott állapot.
 *
 * Az ablak elfogadás után sem tűnik el: az ajánlat percekig él, és a
 * vevőnek látnia kell, mennyi van hátra belőle. Hogy ne nézzen ki
 * továbbra is kérésnek, a kiemelés átvált visszaigazolásra.
 */
.lltk-offer.is-claimed {
	border-color: #1c7c3f;
}

.lltk-offer.is-claimed .lltk-offer__h {
	color: #1c7c3f;
}

.lltk-offer.is-claimed .lltk-offer__h::before {
	content: "\2713";
	margin-right: .4em;
}

/*
 * Elfogadott állapotban a visszaszámláló nem figyelmeztetés, hanem
 * tájékoztatás: a piros szám itt riasztásnak látszana, közvetlenül a
 * zöld visszaigazolás alatt. A gombok helyén maradt rést is leszedjük.
 */
.lltk-offer.is-claimed .lltk-offer__c {
	font-variant-numeric: tabular-nums;
	margin-bottom: 0;
}

.lltk-offer.is-claimed .lltk-offer__time {
	color: #1c7c3f;
}

/* Amikor nem sikerült. Nem tüntetjük el, de nem is ünnepeljük. */
.lltk-offer.is-failed {
	border-color: #b32d2e;
}
