.page .onetap-container-toggle .onetap-toggle img.design-size2 {
	padding: 10px !important;
	width: 52px !important;
	height: 52px !important;
	z-index: 999 !important;
}

.wpforms-container {
	max-width: 520px;
}

@media (max-width: 600px) {
	div.wpforms-container-full:not(:empty) {
		padding: 10px 15px;
	}
}


/* ----- fixed round button (bottom right) with "Запис" under icon ----- */
.chat-fixed-wrapper {
	position: fixed;
	bottom: 15px;
	right: 23px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	z-index: 999;
	cursor: pointer;
	user-select: none;
	touch-action: manipulation;
	/* flashing animation on the whole wrapper (circle + text) */
	animation: flashPulse 1.8s ease-in-out infinite;
}

/* the round button itself */
.chat-fixed-btn {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #c94ede;
	color: white;
	border: none;
	box-shadow: 0 8px 28px rgba(200, 78, 222, 0.25), 0 2px 8px rgba(200, 78, 222, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.2s ease;
	padding: 0;
	outline: none;
	/* icon inside */
}

.chat-fixed-btn:hover {
	background: #14263f;
	transform: scale(1.03);
	box-shadow: 0 10px 32px rgba(200, 78, 222, 0.3);
}

.chat-fixed-btn:active {
	transform: scale(0.94);
	background: #0d1d33;
}

.chat-fixed-btn svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: white;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	display: block;
	transition: 0.2s;
}

.chat-fixed-btn:hover svg {
	stroke: #f0f7ff;
}

/* label under the circle */
.chat-label {
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	color: #0b1a33;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	padding: 0.2rem 0.7rem;
	border-radius: 40px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.5);
	transition: 0.2s;
	white-space: nowrap;
}

/* flash animation: opacity + slight scale + glow */
@keyframes flashPulse {
	0% {
		opacity: 0.9;
		transform: scale(1);
		filter: drop-shadow(0 0 4px rgba(30, 47, 78, 0.1));
	}

	50% {
		opacity: 1;
		transform: scale(1.04);
		filter: drop-shadow(0 0 16px rgba(30, 47, 78, 0.35));
	}

	100% {
		opacity: 0.9;
		transform: scale(1);
		filter: drop-shadow(0 0 4px rgba(30, 47, 78, 0.1));
	}
}

/* small screen fine-tune */
@media (max-width: 480px) {
	.chat-fixed-wrapper {
		bottom: 15px;
		right: 23px;
	}

	.chat-fixed-btn {
		width: 52px;
		height: 52px;
	}

	.chat-fixed-btn svg {
		width: 30px;
		height: 30px;
	}

	.chat-label {
		font-size: 1rem;
		padding: 0.15rem 0.6rem;
	}
}

/* ----- popup overlay (unchanged, but kept consistent) ----- */
.popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.18s ease, visibility 0s 0.18s;
	z-index: 2000;
	padding: 1.5rem;
}

.popup-overlay.active {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.18s ease, visibility 0s 0s;
}

.popup-card {
	background: #ffffff;
	max-width: 360px;
	width: 100%;
	border-radius: 40px;
	padding: 2rem 1.5rem 1.8rem;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.1);
	text-align: center;
	transform: scale(0.96) translateY(12px);
	transition: transform 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.15s;
	opacity: 0;
	background: #fafcff;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.popup-overlay.active .popup-card {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.popup-card h3 {
	font-weight: 600;
	text-transform: uppercase;
	color: #5c505e;
	margin-bottom: 0.2rem;
}

.popup-card .sub {
	/* color: #5d6f88; */
	font-size: 0.9rem;
	margin-bottom: 1.8rem;
	border-bottom: 1px solid #e9edf4;
	padding-bottom: 0.9rem;
}

.popup-btn-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

.popup-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	padding: 0.9rem 0.8rem;
	border: none;
	border-radius: 60px;
	/* font-size: 1.05rem; */
	font-weight: 500;
	background: #f0f4fc;
	color: #0a1f3b;
	text-decoration: none;
	cursor: pointer;
	transition: 0.15s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	touch-action: manipulation;
	letter-spacing: 0.2px;
}

.popup-btn:active {
	transform: scale(0.96);
}


.popup-btn {
	background: #e8edf8;
	color: #162b47;
}

.popup-btn:hover {
	color: white;
	background: #5C505E;
}

.popup-btn:active {
	background: #cdd6e8;
}

.popup-btn:first-child {
	background: #c94ede;
	color: white;
	box-shadow: 0 6px 16px rgba(26, 45, 80, 0.18);
}

.popup-btn:first-child:hover {
	background: #5C505E;
}

.popup-btn:first-child:active {
	background: #0d1d33;
}


.popup-btn svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.popup-btn:first-child svg {
	stroke: white;
}

/* .popup-btn:last-child svg {
	stroke: #1a2f4a;
} */

.popup-close {
	margin-top: 1.6rem;
	background: transparent;
	border: none;
	font-size: 1rem;
	color: #7a8aa0;
	padding: 0.3rem 0.8rem;
	border-radius: 40px;
	cursor: pointer;
	transition: 0.1s;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	opacity: 0.7;
	touch-action: manipulation;
}

.popup-close:hover {
	background: #eef3fa;
	opacity: 1;
}

.popup-close:active {
	background: #dfe6f0;
}

.popup-close svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}