/**
 * EDM Yol Servisi – Mobil WhatsApp / Ara çubuğu
 * iPhone 12–16 Pro Max ve tüm mobil cihazlar için sabit, tıklanabilir CTA
 */

.edm-mobile-cta {
	display: none;
}

@media screen and (max-width: 1024px) {
	.mystickyelements-fixed.mystickyelements-position-mobile-bottom {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.edm-mobile-cta {
		display: flex !important;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 2147483646;
		width: 100%;
		max-width: 100vw;
		margin: 0;
		padding: 0;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		box-sizing: border-box;
		background: #111;
		box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25);
		-webkit-transform: translateZ(0);
		transform: translateZ(0);
	}

	.edm-mobile-cta__btn {
		flex: 1 1 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 56px;
		height: 56px;
		padding: 0 12px;
		margin: 0;
		border: 0;
		border-radius: 0;
		color: #fff !important;
		font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.2;
		text-decoration: none !important;
		text-align: center;
		-webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
		touch-action: manipulation;
		cursor: pointer;
		box-sizing: border-box;
	}

	.edm-mobile-cta__btn--whatsapp {
		background: #128c7e;
	}

	.edm-mobile-cta__btn--phone {
		background: #b22720;
	}

	.edm-mobile-cta__btn:active {
		filter: brightness(0.92);
	}

	.edm-mobile-cta__icon {
		display: inline-flex;
		width: 22px;
		height: 22px;
		flex-shrink: 0;
	}

	.edm-mobile-cta__icon svg {
		width: 22px;
		height: 22px;
		fill: currentColor;
		display: block;
	}

	body.edm-has-mobile-cta {
		padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
	}
}

@media screen and (max-width: 360px) {
	.edm-mobile-cta__btn {
		font-size: 14px;
		gap: 6px;
		padding: 0 8px;
	}

	.edm-mobile-cta__icon,
	.edm-mobile-cta__icon svg {
		width: 18px;
		height: 18px;
	}
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
	.edm-mobile-cta__btn {
		min-height: 48px;
		height: 48px;
	}

	body.edm-has-mobile-cta {
		padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)) !important;
	}
}
