/* Page de vente : titre du thème centré et marges latérales sur mobile. */
.ngc-page #sub-header .page-header,
.ngc-page #sub-header .page-header h1 {
	justify-content: center;
	text-align: center;
}

@media (max-width: 767px) {
	.ngc-page #sub-header .limit-wrapper,
	.ngc-page .page-content > .limit-wrapper {
		padding-right: 20px !important;
		padding-left: 20px !important;
	}
}

.ngc {
	max-width: 720px;
	margin: 0 auto;
}

.ngc [hidden] {
	display: none !important;
}

.ngc-test-banner {
	padding: 10px 14px;
	border-radius: 6px;
	background: #fff4d6;
	color: #6b4e00;
	font-size: 0.9em;
}

.ngc-soins {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

.ngc-soins legend {
	margin-bottom: 12px;
	font-weight: 600;
}

.ngc-soin {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 10px;
	padding: 14px 16px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	cursor: pointer;
}

.ngc-soin:has(input:checked) {
	border-color: currentColor;
	box-shadow: 0 0 0 1px currentColor;
}

.ngc-soin input {
	margin-top: 4px;
}

.ngc-soin__body {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 12px;
	flex: 1;
}

.ngc-soin__title {
	font-weight: 600;
}

.ngc-soin__price {
	font-weight: 600;
	white-space: nowrap;
}

.ngc-soin__desc {
	grid-column: 1 / -1;
	font-size: 0.9em;
	opacity: 0.8;
}

.ngc-field {
	margin: 0 0 16px;
}

.ngc-field label {
	display: block;
	margin-bottom: 6px;
}

.ngc-field input[type="text"],
.ngc-field input[type="email"],
.ngc-field textarea {
	width: 100%;
	box-sizing: border-box;
	/* Le thème arrondit les champs à 30px avec 2px de marge : le texte passait sous les coins. */
	padding: 10px 18px;
}

.ngc-field textarea {
	border-radius: 18px;
	resize: vertical;
}

.ngc-field--checkbox label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.9em;
}

.ngc-field--checkbox input {
	margin-top: 3px;
}

.ngc-error {
	padding: 10px 14px;
	border-radius: 6px;
	background: #fde8e8;
	color: #8a1c1c;
}

/* Même rendu que le bouton « Prendre rendez-vous » du menu. Sans ça, le bouton garde la bordure
   du navigateur et le thème le passe au survol en crème sur fond crème. */
.ngc .ngc-submit {
	border: 0;
	transition: background-color 0.3s, color 0.3s;
}

.ngc .ngc-submit:hover,
.ngc .ngc-submit:focus-visible {
	background-color: var(--e-global-color-vamtam_accent_6, #5b5a39);
	color: var(--e-global-color-vamtam_accent_1, #fff3e1);
}

.ngc .ngc-submit:focus-visible {
	outline: 2px solid var(--e-global-color-vamtam_accent_6, #5b5a39);
	outline-offset: 3px;
}

.ngc-submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.ngc-result {
	padding: 24px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.04);
	text-align: center;
}
