/* Quantity Discounts & Free Delivery: discount popup.
   Custom-built by Cloudypro Software Agency, https://cloudypro.com */

.cpqd-pop {
	--cpqd-accent: #e07030;
	position: fixed;
	z-index: 999999;
	bottom: 24px;
	right: 24px;
	width: min(360px, calc(100vw - 32px));
	pointer-events: none;
	font-family: inherit;
}
.cpqd-pop.cpqd-pos-bottom-left { right: auto; left: 24px; }
.cpqd-pop.cpqd-pos-bottom-center { right: auto; left: 50%; transform: translateX(-50%); }
.cpqd-pop.cpqd-pos-top-right { bottom: auto; top: 24px; }
.admin-bar .cpqd-pop.cpqd-pos-top-right { top: 56px; }

@media (max-width: 600px) {
	.cpqd-pop,
	.cpqd-pop.cpqd-pos-bottom-left,
	.cpqd-pop.cpqd-pos-bottom-center { left: 16px; right: 16px; bottom: 16px; width: auto; transform: none; }
	.cpqd-pop.cpqd-pos-top-right { left: 16px; right: 16px; top: 16px; width: auto; }
}

.cpqd-pop .cpqd-card {
	pointer-events: auto;
	position: relative;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	box-sizing: border-box;
	background: #fff;
	color: #1d1d1f;
	border-radius: 14px;
	border-top: 4px solid var(--cpqd-accent);
	padding: 16px 40px 16px 16px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .08);
	overflow: hidden;
	opacity: 0;
	transform: translateY(24px) scale(.96);
	transition: opacity .35s ease, transform .5s cubic-bezier(.2, .9, .3, 1.25);
}
.cpqd-pop.cpqd-pos-top-right .cpqd-card { transform: translateY(-24px) scale(.96); }
.cpqd-pop .cpqd-card.is-visible { opacity: 1; transform: none; }
.cpqd-pop .cpqd-card.is-leaving { opacity: 0; transform: translateY(12px) scale(.98); transition-duration: .25s; }

.cpqd-pop .cpqd-badge {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--cpqd-accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 17px;
	letter-spacing: -.02em;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}
.cpqd-pop .cpqd-badge.is-locked {
	background: transparent;
	color: var(--cpqd-accent);
	border: 2px dashed var(--cpqd-accent);
}
.cpqd-pop .cpqd-celebrate .cpqd-badge { animation: cpqd-badge-pop .7s cubic-bezier(.2, .9, .3, 1.4) .15s both; }
.cpqd-pop .cpqd-celebrate .cpqd-badge::after {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	border: 2px solid var(--cpqd-accent);
	animation: cpqd-ring 1.1s ease-out .3s both;
}

.cpqd-pop .cpqd-content { flex: 1; min-width: 0; position: relative; z-index: 1; }
.cpqd-pop .cpqd-title { font-weight: 700; font-size: 15px; line-height: 1.35; margin: 2px 0 4px; color: #1d1d1f; }
.cpqd-pop .cpqd-body { font-size: 14px; line-height: 1.45; margin: 0; color: #444; }
.cpqd-pop .cpqd-note { font-size: 12px; line-height: 1.4; color: #7a7a7a; margin: 6px 0 0; }

.cpqd-pop .cpqd-progress { margin-top: 10px; height: 6px; border-radius: 99px; background: #eee; overflow: hidden; }
.cpqd-pop .cpqd-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--cpqd-accent);
	border-radius: inherit;
	transition: width .9s cubic-bezier(.2, .8, .2, 1) .25s;
}
.cpqd-pop .cpqd-progress-label { font-size: 11px; color: #8a8a8a; margin: 4px 0 0; }

.cpqd-pop .cpqd-close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	border: 0;
	background: none;
	font-size: 20px;
	line-height: 28px;
	color: #999;
	cursor: pointer;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	padding: 0;
	min-height: 0;
	box-shadow: none;
}
.cpqd-pop .cpqd-close:hover,
.cpqd-pop .cpqd-close:focus-visible { background: #f2f2f2; color: #333; }

.cpqd-pop .cpqd-confetti {
	position: absolute;
	left: 44px;
	top: 44px;
	width: 7px;
	height: 11px;
	border-radius: 2px;
	background: var(--c);
	opacity: 0;
	pointer-events: none;
	animation: cpqd-burst 1.1s cubic-bezier(.15, .7, .3, 1) var(--d) forwards;
}

@keyframes cpqd-badge-pop {
	0% { transform: scale(.3) rotate(-20deg); }
	60% { transform: scale(1.18) rotate(6deg); }
	100% { transform: scale(1) rotate(0); }
}
@keyframes cpqd-ring {
	0% { opacity: .8; transform: scale(1); }
	100% { opacity: 0; transform: scale(1.8); }
}
@keyframes cpqd-burst {
	0% { opacity: 1; transform: translate(0, 0) rotate(0); }
	100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}

@media (prefers-reduced-motion: reduce) {
	.cpqd-pop .cpqd-card,
	.cpqd-pop.cpqd-pos-top-right .cpqd-card { transform: none; transition: opacity .2s ease; }
	.cpqd-pop .cpqd-progress span { transition: none; }
	.cpqd-pop .cpqd-celebrate .cpqd-badge,
	.cpqd-pop .cpqd-celebrate .cpqd-badge::after { animation: none; }
	.cpqd-pop .cpqd-confetti { display: none; }
}
