/* ONTEL SEO: compact horizontal cookie stripe. Does not change banner text. */
/* Leaves room at the bottom-left for the ONTEL Chat WhatsApp button (60×60, 20px offset). */

#mfn-gdpr.show,
#mfn-gdpr.show[data-direction="vertical"],
#mfn-gdpr.show[data-aligment="left"] {
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 8px 14px;
	box-sizing: border-box;
	width: auto !important;
	max-width: none !important;
	left: 96px !important; /* 20 + 60 + 16 */
	right: 0 !important;
	bottom: 0 !important;
	top: auto !important;
	padding: 8px 16px !important;
	border-radius: 12px 0 0 0 !important;
	z-index: 10000;
}

#mfn-gdpr.show .mfn-gdpr-image {
	margin: 0 !important;
	flex-shrink: 0;
	line-height: 0;
}

#mfn-gdpr.show .mfn-gdpr-image img {
	max-height: 32px !important;
	max-width: 32px !important;
	width: auto !important;
	height: auto !important;
}

#mfn-gdpr.show .mfn-gdpr-content {
	margin: 0 !important;
	text-align: left !important;
	flex: 1 1 220px;
	font-size: 13px;
	line-height: 1.4;
}

#mfn-gdpr.show .mfn-gdpr-content > :last-child {
	margin-bottom: 0;
}

#mfn-gdpr.show .mfn-gdpr-readmore {
	margin: 0 !important;
	flex-shrink: 0;
}

#mfn-gdpr.show .mfn-gdpr-button {
	margin: 0 !important;
	flex-shrink: 0;
}

/* Visually hidden front-page h1 (no layout shift). */
h1.ontel-seo-h1 {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 600px) {
	#mfn-gdpr.show,
	#mfn-gdpr.show[data-direction="vertical"],
	#mfn-gdpr.show[data-aligment="left"] {
		left: 0 !important;
		right: 0 !important;
		bottom: 90px !important; /* 20 + 60 + 10, above the WhatsApp button */
		border-radius: 0 !important;
		padding: 6px 10px !important;
		gap: 6px 10px;
	}

	#mfn-gdpr.show .mfn-gdpr-image {
		display: none;
	}

	#mfn-gdpr.show .mfn-gdpr-content {
		flex: 1 1 160px;
		font-size: 12px;
		line-height: 1.3;
	}

	#mfn-gdpr.show .mfn-gdpr-button {
		padding: 6px 12px !important;
		min-height: 0 !important;
		height: auto !important;
		font-size: 13px !important;
		line-height: 1.2 !important;
	}
}
