#pnccp-popup,
#pnccp-popup * {
	box-sizing: border-box;
}

.pnccp-popup {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999999;
	width: 320px;
	max-width: calc(100vw - 32px);
	padding: 18px 18px 14px;
	border: 1px solid rgba(0, 0, 0, .09);
	border-radius: 14px;
	background: #fff;
	color: #222;
	box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
	font-family: inherit;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.pnccp-popup.pnccp-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.pnccp-close {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #666;
	font-size: 23px;
	line-height: 28px;
	cursor: pointer;
}

.pnccp-badge {
	display: inline-block;
	margin: 0 26px 8px 0;
	padding: 4px 9px;
	border-radius: 999px;
	background: #fff4d6;
	color: #9a6b00;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .7px;
}

.pnccp-heading {
	padding-right: 20px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.pnccp-discount {
	margin-top: 5px;
	color: #c58d00;
	font-size: 16px;
	font-weight: 700;
}

.pnccp-description {
	margin-top: 5px;
	color: #555;
	font-size: 13px;
	line-height: 1.45;
}

.pnccp-code-row {
	display: flex;
	gap: 8px;
	margin-top: 13px;
}

.pnccp-code {
	display: block;
	flex: 1;
	min-width: 0;
	padding: 9px 10px;
	overflow: hidden;
	border: 1px dashed #c9c9c9;
	border-radius: 8px;
	background: #fafafa;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pnccp-copy {
	flex: 0 0 auto;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: #d9a300;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.pnccp-copy:hover {
	filter: brightness(.95);
}

.pnccp-status {
	min-height: 15px;
	margin-top: 6px;
	color: #555;
	font-size: 11px;
}

@media (max-width: 480px) {
	.pnccp-popup {
		right: 12px;
		bottom: 12px;
		width: 300px;
		max-width: calc(100vw - 24px);
		padding: 16px 15px 12px;
	}
}
