/* Floating WhatsApp (bulat + background) + scroll-to-top (ikon saja) */

.putrend-float-actions {
	position: fixed;
	right: max(0.75rem, env(safe-area-inset-right, 0px));
	bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
	z-index: 10002;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
}

.putrend-float-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0 !important;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.25s ease, box-shadow 0.2s ease;
}

.putrend-float-btn:hover {
	transform: scale(1.06);
}

/* WhatsApp: tetap bulat + background */
.putrend-float-btn--wa {
	width: 3.1rem;
	height: 3.1rem;
	padding: 0;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.putrend-float-btn--wa:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.putrend-float-btn--wa .icon {
	font-size: 1.55rem;
	line-height: 1;
	filter: none;
}

/* Scroll up: tanpa background, tanpa outline */
.putrend-float-btn--top {
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0.15rem;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	color: #ffffff;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(4px);
}

.putrend-float-btn--top:focus,
.putrend-float-btn--top:focus-visible {
	outline: none;
}

.putrend-float-btn--top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.putrend-float-btn--top .icon {
	font-size: 1.65rem;
	line-height: 1;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.35));
}

.putrend-float-btn--top:hover {
	color: #3ee6ff;
}

/* Hyperspace: matikan ::before / ::after (background putih + animasi) pada button & .button */
.putrend-float-actions .putrend-float-btn::before,
.putrend-float-actions .putrend-float-btn::after {
	display: none !important;
	content: none !important;
	pointer-events: none !important;
}
