/* Mobile Pro Rep Finder — front-end styles. On-brand: green #1e6031, terracotta
   #d26e28. Inherits theme fonts via the Vamtam/Elementor typography vars. */

.mprf-widget {
	--mprf-green: #1e6031;
	--mprf-green-dark: #163f23;
	--mprf-terracotta: #d26e28;
	--mprf-gray: #818a92;
	--mprf-light: #f2f2f2;
	--mprf-text: #4c4e52;
	font-family: var(--e-global-typography-vamtam_primary_font-font-family, var(--e-global-typography-text-font-family, inherit));
	color: var(--mprf-text);
	max-width: 540px;
}

.mprf-heading {
	font-family: var(--e-global-typography-vamtam_h1-font-family, inherit);
	color: var(--mprf-green);
	margin: 0 0 .6em;
}

.mprf-form {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.mprf-zip {
	flex: 1 1 200px;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid #c8cdd1;
	border-radius: 6px;
	line-height: 1.2;
}

.mprf-zip:focus {
	outline: none;
	border-color: var(--mprf-green);
	box-shadow: 0 0 0 2px rgba(30, 96, 49, .18);
}

.mprf-submit {
	flex: 0 0 auto;
	padding: 12px 22px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: var(--mprf-green);
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: background .15s ease;
}

.mprf-submit:hover { background: var(--mprf-green-dark); }
.mprf-submit:disabled { opacity: .6; cursor: default; }

.mprf-result { margin-top: 18px; }

.mprf-message { margin: 0 0 12px; }
.mprf-message.mprf-error { color: #c0392b; }

/* Rep card */
.mprf-card {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 20px;
	border: 1px solid #e1e4e6;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.mprf-card-photo img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.mprf-card-body { flex: 1; min-width: 0; }

.mprf-rep-name {
	font-family: var(--e-global-typography-vamtam_h1-font-family, inherit);
	color: var(--mprf-green);
	margin: 0 0 2px;
	font-size: 1.25em;
}

.mprf-rep-title { margin: 0 0 2px; font-weight: 600; }
.mprf-rep-region { margin: 0 0 10px; color: var(--mprf-gray); }

.mprf-rep-contact {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.mprf-rep-contact li { margin: 0 0 4px; }
.mprf-rep-contact a { color: var(--mprf-green); text-decoration: none; }
.mprf-rep-contact a:hover { text-decoration: underline; }

.mprf-book {
	display: inline-block;
	padding: 10px 18px;
	font-weight: 600;
	color: #fff;
	background: var(--mprf-terracotta);
	border-radius: 6px;
	text-decoration: none;
}

.mprf-book:hover { background: #b85a1c; color: #fff; }

@media (max-width: 480px) {
	.mprf-card { flex-direction: column; align-items: center; text-align: center; }
	.mprf-rep-contact { text-align: center; }
}
