.ty-float-widget {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9990;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	max-width: calc(100vw - 24px);
}

.ty-float-items {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px) scale(0.92);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
	pointer-events: none;
}

.ty-float-widget.is-open .ty-float-items {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.ty-float-btn {
	position: relative;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(10, 37, 64, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ty-float-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(10, 37, 64, 0.28);
	color: #fff;
}

.ty-float-phone {
	background: #0b4ea2;
}

.ty-float-wa {
	background: #16a34a;
}

.ty-float-ig {
	background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
}

.ty-float-tooltip {
	position: absolute;
	right: 56px;
	background: #0a2540;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	padding: 6px 12px;
	border-radius: 8px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transform: translateX(6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	box-shadow: 0 4px 12px rgba(10, 37, 64, 0.16);
}

.ty-float-btn:hover .ty-float-tooltip,
.ty-float-widget.is-open .ty-float-tooltip {
	opacity: 1;
	transform: translateX(0);
}

.ty-float-toggle {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	background: linear-gradient(135deg, #0891b2, #0b4ea2);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 26px rgba(8, 145, 178, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ty-float-toggle:hover {
	transform: scale(1.05);
}

.ty-float-toggle .ty-icon-close {
	display: none;
}

.ty-float-widget.is-open .ty-float-toggle .ty-icon-open {
	display: none;
}

.ty-float-widget.is-open .ty-float-toggle .ty-icon-close {
	display: block;
}

.ty-mobile-sticky-bar {
	display: none;
}

/* Form durum mesajları */
.ty-form-status {
	margin-top: 14px;
	font-size: 14px;
	line-height: 1.5;
}

.ty-form-status .ty-msg-ok {
	background: #ecfdf5;
	border: 1px solid #86efac;
	color: #166534;
	padding: 12px 16px;
	border-radius: 12px;
}

.ty-form-status .ty-msg-err {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 12px 16px;
	border-radius: 12px;
}

@media (max-width: 768px) {
	.ty-float-widget {
		bottom: calc(74px + env(safe-area-inset-bottom, 0px));
		right: 14px;
	}
	.ty-float-toggle {
		width: 48px;
		height: 48px;
	}
	.ty-float-btn {
		width: 44px;
		height: 44px;
	}
	.ty-float-tooltip {
		display: none;
	}
	.ty-float-widget.is-open .ty-float-tooltip {
		display: block;
		opacity: 1;
		transform: translateX(0);
		right: 52px;
		font-size: 12px;
		padding: 5px 10px;
	}
	.ty-mobile-sticky-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 9985;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: blur(10px);
		border-top: 1px solid #e2e8f0;
		box-shadow: 0 -4px 18px rgba(10, 37, 64, 0.08);
	}
	.ty-mbar-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		height: 44px;
		border-radius: 10px;
		font-weight: 700;
		font-size: 14px;
		text-decoration: none;
		color: #fff;
	}
	.ty-mbar-call {
		background: #0b4ea2;
	}
	.ty-mbar-wa {
		background: #16a34a;
	}
	body {
		padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
	}
}
