.ptp-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(30, 40, 30, 0.55);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.ptp-overlay[hidden] {
	display: none;
}

.ptp-overlay.ptp-visible {
	opacity: 1;
}

.ptp-dialog {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 36px 32px 28px;
	background: #fff;
	border-top: 5px solid #6f9a4a;
	border-radius: 6px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #444;
	transform: translateY(12px);
	transition: transform 0.25s ease;
}

.ptp-visible .ptp-dialog {
	transform: none;
}

.ptp-dialog:focus {
	outline: none;
}

.ptp-dialog p {
	margin: 0 0 12px;
	padding: 0;
}

.ptp-title {
	margin: 0 0 18px;
	padding: 0 24px 0 0;
	font-family: 'Aleo', Georgia, serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: #222;
}

.ptp-dialog .ptp-tarif {
	padding: 12px 16px;
	background: #f2f6ee;
	border-left: 3px solid #6f9a4a;
	border-radius: 3px;
}

.ptp-tarif strong {
	display: block;
	font-size: 17px;
	color: #222;
}

.ptp-tarif span {
	font-size: 14px;
}

.ptp-signature em {
	font-family: 'Aleo', Georgia, serif;
	font-size: 16px;
	color: #222;
}

.ptp-close {
	position: absolute;
	top: 10px;
	right: 12px;
	padding: 4px 8px;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #888;
	cursor: pointer;
}

.ptp-close:hover,
.ptp-close:focus-visible {
	color: #222;
}

.ptp-ok {
	display: block;
	margin: 20px 0 0 auto;
	padding: 10px 22px;
	background: #6f9a4a;
	border: 0;
	border-radius: 3px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
}

.ptp-ok:hover,
.ptp-ok:focus-visible {
	background: #5a7f3a;
}

@media (max-width: 480px) {
	.ptp-dialog {
		padding: 30px 20px 22px;
		font-size: 14px;
	}

	.ptp-title {
		font-size: 20px;
	}

	.ptp-ok {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ptp-overlay,
	.ptp-dialog {
		transition: none;
	}
}
