.leapmotor-model-detail .lm-cf7-wrapper {
	--lm-green: #00a651;
	--lm-green-dark: #008c44;
	--lm-text: #1a1a1a;
	--lm-muted: #5c5c5c;
	--lm-border: #e5e5e5;
	--lm-bg: #ffffff;
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-form,
.leapmotor-model-detail .lm-cf7-wrapper form {
	margin: 0;
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-form label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--lm-text);
	margin-bottom: 8px;
	line-height: 1.4;
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-form-control-wrap {
	display: block;
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-form-control,
.leapmotor-model-detail .lm-cf7-wrapper input[type="text"],
.leapmotor-model-detail .lm-cf7-wrapper input[type="email"],
.leapmotor-model-detail .lm-cf7-wrapper input[type="tel"],
.leapmotor-model-detail .lm-cf7-wrapper textarea {
	width: 100%;
	min-height: 48px;
	line-height: 1.4;
	padding: 12px 14px;
	border: 2px solid var(--lm-border);
	border-radius: 10px;
	font-size: 0.9375rem;
	font-family: inherit;
	color: var(--lm-text);
	background: var(--lm-bg);
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.leapmotor-model-detail .lm-cf7-wrapper textarea {
	min-height: 120px;
	resize: vertical;
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-form-control:focus,
.leapmotor-model-detail .lm-cf7-wrapper input:focus,
.leapmotor-model-detail .lm-cf7-wrapper textarea:focus {
	outline: none;
	border-color: var(--lm-green);
	box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-submit,
.leapmotor-model-detail .lm-cf7-wrapper input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 28px;
	background: var(--lm-green);
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	font-family: inherit;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-submit:hover,
.leapmotor-model-detail .lm-cf7-wrapper input[type="submit"]:hover {
	background: var(--lm-green-dark);
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-not-valid-tip {
	font-size: 0.8rem;
	color: #dc2626;
	margin-top: 4px;
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 0.9rem;
	text-align: center;
	border: none;
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-mail-sent-ok {
	background: #e8f8ef;
	color: #0d5c32;
}

.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-validation-errors,
.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-acceptance-missing {
	background: #fef2f2;
	color: #991b1b;
}

.leapmotor-model-detail .artemis-leapmotor-cf7-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

.leapmotor-model-detail .artemis-leapmotor-cf7-grid > p {
	margin: 0;
}

.leapmotor-model-detail .artemis-leapmotor-cf7-footer {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 18px;
}

.leapmotor-model-detail .artemis-leapmotor-cf7-footer > p {
	margin: 0;
	width: 100%;
}

.leapmotor-model-detail .lm-cf7-wrapper .artemis-leapmotor-vehicle-locked {
	background: #f4f4f4;
	color: var(--lm-muted);
	cursor: not-allowed;
}

@media (max-width: 600px) {
	.leapmotor-model-detail .artemis-leapmotor-cf7-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.leapmotor-model-detail .lm-cf7-wrapper .wpcf7-submit,
	.leapmotor-model-detail .lm-cf7-wrapper input[type="submit"] {
		transition: none;
	}
}
