/* ==========================================================================
   Pour Toujours — Plan de table en ligne, l'aperçu (plan-de-table/template.php)
   S'ajoute à budget/pt-budget.css et site-mariage/pt-site-mariage.css (liste, prix, FAQ).
   ========================================================================== */

/* --- Haut de page : le titre, puis le plan sur toute la largeur du contenu - */

.ptpdt .ptpdt-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.ptpdt-hero__copy {
	max-width: 760px;
}

.ptpdt .ptb-hero__lead {
	margin-bottom: 0 !important;
}

.ptpdt-scene {
	padding: 16px;
	border-radius: 28px;
	background: var(--ptb-mint-2);
}

.ptpdt-ecran {
	overflow: hidden;
	border: 1px solid #d8e8de;
	border-radius: 18px;
	background: #f7f3f1;
}

/* La hauteur vient de l'aperçu (pt-plan-de-table.js); 1024 px en attendant. */
.ptpdt-ecran iframe {
	display: block;
	width: 100%;
	height: 1024px;
	border: 0;
}

.ptpdt .ptpdt-scene__note {
	margin: 12px 4px 0;
	color: var(--ptb-muted);
	font-size: 14px;
	line-height: 1.4;
}

.ptpdt-suite {
	display: grid;
	justify-items: start;
	gap: 8px;
	max-width: 760px;
}

.ptpdt .ptpdt-suite p {
	margin: 0;
	text-align: left;
}

.ptpdt .ptpdt-suite .ptb-button {
	width: auto;
	padding-left: 32px;
	padding-right: 32px;
}

/* --- Téléphone : la salle en image et l'aperçu en plein écran ------------- */

.ptpdt-mobile {
	display: none;
}

@media (max-width: 640px) {
	.ptpdt-scene {
		display: none;
	}

	.ptpdt-mobile {
		display: grid;
		gap: 12px;
		padding: 12px 12px 16px;
		border-radius: 22px;
		background: var(--ptb-mint-2);
	}

	.ptpdt-mobile__salle {
		display: block;
		overflow: hidden;
		border: 1px solid #d8e8de;
		border-radius: 14px;
		background: #f7f3f1;
	}

	.ptpdt-mobile__salle img {
		display: block;
		width: 100%;
		height: auto;
	}

	.ptpdt .ptpdt-mobile .ptb-button {
		width: 100%;
	}

	.ptpdt .ptpdt-scene__note {
		margin: 0 4px;
		font-size: 13px;
	}

	.ptpdt .ptpdt-suite .ptb-button {
		width: 100%;
	}
}
