.wtap-popup {
	--wtap-bg: #ffffff;
	--wtap-text: #1f1f1f;
	--wtap-muted: #5f5f5f;
	--wtap-accent: #83b735;
	--wtap-accent-hover: #6f9c2d;
	--wtap-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);

	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	width: min(360px, calc(100vw - 40px));
	padding: 20px 20px 18px;
	border-radius: 12px;
	background: var(--wtap-bg);
	color: var(--wtap-text);
	box-shadow: var(--wtap-shadow);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	font-family: inherit;
	pointer-events: auto;
}

.wtap-popup.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.wtap-popup[hidden] {
	display: none !important;
}

.wtap-popup__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wtap-muted);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.wtap-popup__close:hover,
.wtap-popup__close:focus {
	color: var(--wtap-text);
	background: rgba(0, 0, 0, 0.05);
	outline: none;
}

.wtap-popup__content {
	padding-right: 24px;
}

.wtap-popup__title {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 600;
}

.wtap-popup__message {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--wtap-muted);
}

.wtap-popup__button {
	display: inline-block;
	padding: 11px 16px;
	border-radius: 6px;
	background: var(--wtap-accent);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.2s ease;
}

.wtap-popup__button:hover,
.wtap-popup__button:focus {
	background: var(--wtap-accent-hover);
	color: #fff !important;
}

.wtap-product-banner {
	--wtap-accent: #83b735;
	--wtap-accent-hover: #6f9c2d;

	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: 16px 0 0;
	padding: 14px 16px;
	border: 1px solid rgba(131, 183, 53, 0.35);
	border-radius: 8px;
	background: rgba(131, 183, 53, 0.08);
	box-sizing: border-box;
	clear: both;
}

.wtap-product-banner__text {
	margin: 0;
	flex: 1 1 220px;
	font-size: 14px;
	line-height: 1.45;
	color: #2c2c2c;
}

.wtap-product-banner__button {
	display: inline-block;
	flex: 0 0 auto;
	padding: 10px 14px;
	border-radius: 6px;
	background: var(--wtap-accent);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.wtap-product-banner__button:hover,
.wtap-product-banner__button:focus {
	background: var(--wtap-accent-hover);
	color: #fff !important;
}

@media (max-width: 480px) {
	.wtap-popup {
		right: 12px;
		bottom: 12px;
		width: calc(100vw - 24px);
	}

	.wtap-product-banner {
		flex-direction: column;
		align-items: flex-start;
	}

	.wtap-product-banner__button {
		width: 100%;
		text-align: center;
	}
}
