/*
 * Formulaire "Devis groupes & entreprises" (shortcode [campy_group_quote_form]).
 * Réutilise les tokens de couleur/typo de customer.css (--ink/--muted/--line)
 * plutôt que d'en redéfinir de nouveaux — évite le conflit de tokens déjà
 * relevé entre tokens.css et experience.css côté thème.
 */

.cy-group-quote {
	--ink: #213d2b;
	--muted: #637269;
	--line: #e2e8e0;
	max-width: 560px;
	margin: 0 auto;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 45px #243c2510;
	color: var(--ink);
	font-family: inherit;
}

.cy-group-quote .cy-eyebrow {
	font-size: 10px;
	letter-spacing: 1.4px;
	font-weight: 700;
	color: var(--muted);
}

.cy-group-quote h2 {
	font-size: 22px;
	margin: 6px 0 10px;
}

.cy-group-quote .cy-muted {
	color: var(--muted);
	font-size: 13px;
	margin: 0 0 18px;
}

.cy-group-quote label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 16px;
}

.cy-group-quote label small {
	font-weight: 400;
	color: var(--muted);
}

.cy-group-quote input,
.cy-group-quote textarea {
	font: inherit;
	color: inherit;
	width: 100%;
	padding: 12px;
	border: 1px solid #ced8cd;
	border-radius: 10px;
	background: #fff;
	min-height: 46px;
}

.cy-group-quote textarea {
	min-height: 96px;
	resize: vertical;
}

.cy-group-quote .cy-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.cy-group-quote .cy-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.cy-group-quote [data-cy-group-quote-status]:not(:empty) {
	background: #f7f5ea;
	padding: 12px;
	border-radius: 10px;
	font-size: 13px;
	margin-bottom: 14px;
}

.cy-group-quote__status--warn {
	background: #fdecec !important;
	color: #a02626;
}

.cy-group-quote button {
	cursor: pointer;
	font: inherit;
}

.cy-group-quote button:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.cy-group-quote__confirmation {
	max-width: 560px;
	margin: 16px auto 0;
	padding: 20px 24px;
	border-radius: 16px;
	background: #eaf7ec;
	color: #2a6b31;
	text-align: center;
	font-size: 14px;
}

.cy-group-quote__confirmation a {
	color: inherit;
	font-weight: 600;
}

@media (max-width: 560px) {
	.cy-group-quote {
		padding: 20px;
	}

	.cy-group-quote .cy-field-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

/* Advanced 2.0 responsive hardening. */
.cy-group-quote,.cy-group-quote__confirmation{box-sizing:border-box;width:min(560px,100%)}.cy-group-quote *{box-sizing:border-box}.cy-group-quote select{width:100%;min-height:46px;padding:10px;border:1px solid #ced8cd;border-radius:10px;background:#fff;font:inherit}.cy-group-quote a,.cy-group-quote p{overflow-wrap:anywhere}
@media(max-width:600px){.cy-group-quote,.cy-group-quote__confirmation{width:calc(100% - 16px);margin-left:auto;margin-right:auto}.cy-group-quote{padding:18px}.cy-group-quote .cy-field-row{grid-template-columns:1fr}.cy-group-quote .cy-btn{width:100%;justify-content:center}}
