.hb-floating-buttons {
	--hb-width: 52px;
	--hb-icon-size: 22px;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 99999;
	pointer-events: none;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.hb-floating-buttons.hb-position-right {
	right: 0;
	left: auto;
}

.hb-floating-buttons.hb-position-left {
	left: 0;
	right: auto;
}

.hb-floating-buttons .hb-buttons-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	overflow: hidden;
	box-shadow: -4px 4px 20px rgba(15, 23, 42, 0.2);
}

.hb-position-left .hb-buttons-list {
	box-shadow: 4px 4px 20px rgba(15, 23, 42, 0.2);
}

.hb-floating-buttons .hb-button-item {
	margin: 0;
	padding: 0;
}

.hb-floating-buttons .hb-button-link {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--hb-width);
	min-height: var(--hb-width);
	padding: 0;
	border: none;
	border-radius: 0;
	background: var(--hb-bg, #2b4c7e);
	color: var(--hb-color, #fff);
	text-decoration: none;
	transition: background 0.2s ease, filter 0.2s ease;
	position: relative;
	overflow: hidden;
}

.hb-floating-buttons .hb-button-link:hover,
.hb-floating-buttons .hb-button-link:focus-visible {
	filter: brightness(1.08);
	color: var(--hb-color, #fff);
	outline: none;
}

.hb-position-right .hb-button-item:first-child .hb-button-link {
	border-top-left-radius: 8px;
}

.hb-position-right .hb-button-item:last-child .hb-button-link {
	border-bottom-left-radius: 8px;
}

.hb-position-left .hb-button-item:first-child .hb-button-link {
	border-top-right-radius: 8px;
}

.hb-position-left .hb-button-item:last-child .hb-button-link {
	border-bottom-right-radius: 8px;
}

.hb-floating-buttons .hb-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: var(--hb-icon-size);
	height: var(--hb-icon-size);
}

.hb-floating-buttons .hb-button-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hb-floating-buttons .hb-button-label {
	display: none;
}

/* İkon stili */
.hb-style-icon .hb-button-link {
	flex-direction: column;
}

/* Dikey yazı (Teklif Al) */
.hb-style-vertical .hb-button-link {
	flex-direction: column;
	justify-content: space-between;
	min-height: 130px;
	padding: 10px 6px 12px;
	gap: 8px;
}

.hb-style-vertical .hb-button-icon {
	width: 16px;
	height: 16px;
}

.hb-style-vertical .hb-button-label {
	display: block;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	white-space: nowrap;
	flex: 1;
	text-align: center;
}

/* Hover genişleyen (Hemen Ara) */
.hb-style-expand .hb-button-link {
	flex-direction: row;
	justify-content: flex-end;
	width: var(--hb-width);
	transition: width 0.3s ease, filter 0.2s ease;
}

.hb-position-right .hb-style-expand .hb-button-link {
	margin-left: auto;
}

.hb-position-left .hb-style-expand .hb-button-link {
	margin-right: auto;
	flex-direction: row-reverse;
}

.hb-style-expand .hb-button-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	opacity: 0;
	max-width: 0;
	overflow: hidden;
	transition: opacity 0.25s ease, max-width 0.3s ease, padding 0.3s ease;
	padding: 0;
}

.hb-position-right .hb-style-expand .hb-button-label {
	padding-right: 0;
}

.hb-position-left .hb-style-expand .hb-button-label {
	padding-left: 0;
}

.hb-style-expand .hb-button-link:hover,
.hb-style-expand .hb-button-link:focus-visible {
	width: auto;
	min-width: 170px;
}

.hb-style-expand .hb-button-link:hover .hb-button-label,
.hb-style-expand .hb-button-link:focus-visible .hb-button-label {
	opacity: 1;
	max-width: 200px;
}

.hb-position-right .hb-style-expand .hb-button-link:hover,
.hb-position-right .hb-style-expand .hb-button-link:focus-visible {
	padding-left: 16px;
	padding-right: 14px;
	gap: 10px;
}

.hb-position-left .hb-style-expand .hb-button-link:hover,
.hb-position-left .hb-style-expand .hb-button-link:focus-visible {
	padding-right: 16px;
	padding-left: 14px;
	gap: 10px;
}

/* Mobil */
@media (max-width: 782px) {
	.hb-floating-buttons {
		--hb-width: 46px;
		--hb-icon-size: 20px;
	}

	.hb-style-vertical .hb-button-link {
		min-height: 110px;
	}

	.hb-style-expand .hb-button-link:hover,
	.hb-style-expand .hb-button-link:focus-visible {
		min-width: 150px;
	}
}

@media (max-width: 480px) {
	.hb-floating-buttons {
		--hb-width: 42px;
		--hb-icon-size: 18px;
	}

	.hb-style-vertical .hb-button-link {
		min-height: 96px;
		padding: 8px 4px 10px;
	}

	.hb-style-vertical .hb-button-label {
		font-size: 11px;
	}
}
