/* Sticky WhatsApp + circular back-to-top (site-wide) */
:root {
	--sweat-sticky-size: 56px;
	--sweat-sticky-gap: 12px;
	--sweat-sticky-offset: 24px;
	--sweat-sticky-z: 8000;
}

.sweat-sticky-whatsapp {
	position: fixed;
	right: var(--sweat-sticky-offset);
	bottom: calc(var(--sweat-sticky-offset) + var(--sweat-sticky-size) + var(--sweat-sticky-gap));
	z-index: var(--sweat-sticky-z);
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--sweat-sticky-size);
	height: var(--sweat-sticky-size);
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	transition: var(--sweat-btn-transition, transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease);
}

.sweat-sticky-whatsapp:hover {
	background: #1ebe57;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.sweat-sticky-whatsapp svg {
	display: block;
	width: 28px;
	height: 28px;
}

/* Back to top — circular, stacked below WhatsApp */
.trx_addons_scroll_to_top {
	width: var(--sweat-sticky-size) !important;
	height: var(--sweat-sticky-size) !important;
	line-height: var(--sweat-sticky-size) !important;
	right: var(--sweat-sticky-offset) !important;
	border-radius: 50% !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.trx_addons_scroll_to_top.show {
	bottom: var(--sweat-sticky-offset) !important;
}

.scroll_to_top_style_default {
	border-radius: 50% !important;
}

.scroll_to_top_style_modern {
	right: var(--sweat-sticky-offset) !important;
	bottom: var(--sweat-sticky-offset) !important;
	width: var(--sweat-sticky-size) !important;
	height: var(--sweat-sticky-size) !important;
	line-height: var(--sweat-sticky-size) !important;
	transform: none !important;
	text-align: center !important;
	opacity: 0;
	background-color: var(--theme-color-text_dark, #0f1919) !important;
	border-radius: 50% !important;
	overflow: hidden;
}

.scroll_to_top_style_modern.show {
	bottom: var(--sweat-sticky-offset) !important;
	opacity: 1;
}

.scroll_to_top_style_modern .scroll_to_top_text {
	display: none !important;
}

.scroll_to_top_style_modern .scroll_to_top_icon {
	margin: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.scroll_to_top_style_modern .scroll_to_top_icon:after {
	margin-left: 0 !important;
	font-size: 18px !important;
}

body.admin-bar .sweat-sticky-whatsapp {
	bottom: calc(var(--sweat-sticky-offset) + var(--sweat-sticky-size) + var(--sweat-sticky-gap) + 32px);
}

body.admin-bar .trx_addons_scroll_to_top.show,
body.admin-bar .scroll_to_top_style_modern.show {
	bottom: calc(var(--sweat-sticky-offset) + 32px) !important;
}

body.elementor-editor-active .sweat-sticky-whatsapp {
	display: none;
}

@media (max-width: 767px) {
	:root {
		--sweat-sticky-size: 52px;
		--sweat-sticky-offset: 16px;
	}
}
