.zssb-side-social-buttons {
	position: fixed;
	right: var(--zssb-right-desktop, 0);
	bottom: var(--zssb-bottom, 9%);
	z-index: 9999;
	display: flex;
	width: 60px;
	flex-direction: column;
	align-items: center;
	gap: 0;
	pointer-events: none;
}

.zssb-side-social-buttons > .zssb-side-button {
	margin: 0 !important;
}

.zssb-side-social-buttons > .zssb-side-button:not(:last-child) {
	margin-bottom: var(--zssb-gap, 5px) !important;
}

.zssb-side-button {
	position: relative;
	display: flex;
	width: var(--zssb-size);
	height: var(--zssb-size);
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: var(--zssb-radius, 5px);
	margin: 0;
	background: var(--zssb-bg);
	box-shadow: var(--zssb-shadow, none);
	box-sizing: border-box;
	cursor: pointer;
	line-height: 0;
	outline-offset: 2px;
	pointer-events: auto;
	text-decoration: none;
	transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.2s ease;
}

.zssb-side-button:hover,
.zssb-side-button:focus {
	transform: translateY(-1px);
}

.zssb-button-icon {
	display: block;
	width: var(--zssb-icon-size);
	height: var(--zssb-icon-size);
	max-width: none;
	max-height: none;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	object-fit: contain;
	pointer-events: none;
}

.zssb-button-text {
	display: grid;
	align-items: center;
	justify-items: center;
	box-sizing: border-box;
	color: #fff;
	font-size: var(--zssb-text-font-size, 14px);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.05;
	padding: 1px;
	pointer-events: none;
	text-align: center;
	white-space: nowrap;
}

.zssb-button-text span {
	display: block;
}

.zssb-button-bubble {
	position: absolute;
	top: 50%;
	right: calc(100% + 10px);
	display: block;
	width: max-content;
	max-width: min(190px, calc(100vw - var(--zssb-size) - var(--zssb-right-desktop, 0px) - 30px));
	padding: 7px 10px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
	box-sizing: border-box;
	color: #1d2327;
	font-size: var(--zssb-bubble-font-size, 14px);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.35;
	pointer-events: none;
	text-align: left;
	transform: translateY(-50%);
	white-space: normal;
}

.zssb-button-bubble::after {
	position: absolute;
	top: 50%;
	right: -6px;
	width: 10px;
	height: 10px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-right: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	content: "";
	transform: translateY(-50%) rotate(45deg);
}

.zssb-button-top {
	opacity: 0;
	visibility: hidden;
}

.zssb-button-top.is-visible {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 767px) {
	.zssb-side-social-buttons {
		right: var(--zssb-right-mobile, 0);
	}

	.zssb-side-button {
		width: var(--zssb-size-mobile);
		height: var(--zssb-size-mobile);
	}

	.zssb-button-icon {
		width: var(--zssb-icon-size-mobile);
		height: var(--zssb-icon-size-mobile);
	}

	.zssb-button-bubble {
		max-width: min(170px, calc(100vw - var(--zssb-size-mobile) - var(--zssb-right-mobile, 0px) - 30px));
	}
}
