.mfp-form-wrap {
	max-width: 850px;
}

.mfp-field,
.mfp-fieldset {
	margin: 0 0 22px;
}

.mfp-field label,
.mfp-fieldset legend {
	display: block;
	font-weight: 600;
	margin-bottom: 7px;
}

.mfp-field input[type="text"],
.mfp-field input[type="email"],
.mfp-field input[type="tel"],
.mfp-field input[type="number"],
.mfp-field input[type="file"],
.mfp-field select,
.mfp-field textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 10px;
}

.mfp-fieldset {
	border: 0;
	padding: 0;
}

.mfp-address-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 15px;
}

.mfp-description {
	font-size: .7em;
	margin: 7px 0 0;
}

.mfp-submit button,
.mfp-preview-action button {
	cursor: pointer;
	padding: 12px 20px;
}

.mfp-message {
	padding: 15px 18px;
	margin-bottom: 20px;
}

.mfp-success {
	border-left: 4px solid #46b450;
	background: #f0fff2;
}

.mfp-error {
	border-left: 4px solid #d63638;
	background: #fff2f2;
}

.mfp-loading {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-left: 12px;
}

#mfp-preview-loading[hidden],
.mfp-form-wrap [hidden] {
	display: none !important;
}

.mfp-spinner {
	width: 20px;
	height: 20px;
	border: 3px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	display: inline-block;
	animation: mfp-spin .8s linear infinite;
}

.mfp-logo-preview-image-wrap {
	margin: 0 0 22px;
	text-align: center;
	max-width: 250px;
}

.mfp-mudflap-preview {
	position: relative;
	width: min(100%, 240px);
	aspect-ratio: 1054 / 1317;
	max-height: 300px;
	margin: 0 auto;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	overflow: hidden;
}

.mfp-mudflap-preview-black {
	background-image: url('../pdf/mud-flap-black.png');
}

.mfp-mudflap-preview-white {
	background-image: url('../pdf/mud-flap-white.png');
}

.mfp-mudflap-preview #mfp-logo-preview-image {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	display: block;
	width: auto;
	height: auto;
	max-width: 76%;
	max-height: 58%;
	margin: 0;
	border: 0;
	object-fit: contain;
}

.mfp-pricing-table-wrap {
	max-width: 950px;
	overflow-x: auto;
}

.mfp-pricing-table {
	min-width: 760px;
}

.mfp-pricing-table th,
.mfp-pricing-table td {
	vertical-align: middle;
	padding-left: 14px;
}

.mfp-pricing-table thead th {
	text-align: center;
}

.mfp-pricing-table thead th:first-child {
	text-align: left;
}

.mfp-thickness-row th {
	background: #dcdcde;
	font-size: 14px;
}

.mfp-material-row th {
	background: #f0f0f1;
	font-weight: 600;
}

.mfp-size-cell {
	font-weight: 600;
	width: 90px;
}

.mfp-material-short {
	width: 110px;
	color: #646970;
}

.mfp-price-input {
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.mfp-price-input input {
	width: 95px;
}

@keyframes mfp-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 700px) {
	.mfp-address-grid {
		grid-template-columns: 1fr;
	}

	.mfp-loading {
		display: flex;
		margin: 12px 0 0;
	}
}

.mfp-preview-disclaimer {
	margin: 0 0 10px;
	font-weight: 600;
}

.mfp-submit button {
	background: #e21e28;
	border: 1px solid #e21e28;
	color: #fff;
	font-weight: 600;
}

.mfp-submit button:hover,
.mfp-submit button:focus {
	filter: brightness(.9);
	color: #fff;
}


.mfp-entry-details {
	border-top: 1px solid #dcdcde;
}

.mfp-entry-detail-row {
	display: grid;
	grid-template-columns: minmax(180px, 220px) 1fr;
	border-bottom: 1px solid #dcdcde;
}

.mfp-entry-detail-label {
	padding: 12px 14px;
	font-weight: 600;
	background: #f6f7f7;
}

.mfp-entry-detail-value {
	padding: 12px 14px;
	min-width: 0;
}

.mfp-empty-value {
	color: #8c8f94;
}

.mfp-entry-logo-wrap {
	margin-bottom: 8px;
}

.mfp-entry-logo-preview {
	display: block;
	max-width: 400px;
	width: auto;
	height: auto;
	border: 1px solid #dcdcde;
	background: #fff;
}

@media (max-width: 782px) {
	.mfp-entry-detail-row {
		grid-template-columns: 1fr;
	}

	.mfp-entry-detail-label {
		border-bottom: 1px solid #dcdcde;
	}
}


.mfp-checkbox-field label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.mfp-checkbox-field input[type="checkbox"] {
	margin: 0;
}

.mfp-generation-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	padding: 20px;
	box-sizing: border-box;
}

.mfp-generation-overlay[hidden] {
	display: none !important;
}

.mfp-generation-overlay-content {
	color: #fff;
	text-align: center;
	font-size: 20px;
	line-height: 1.5;
	font-weight: 600;
}

.mfp-generation-overlay-content p {
	margin: 18px 0 0;
	color: #fff;
}

.mfp-overlay-spinner {
	display: block;
	width: 52px;
	height: 52px;
	margin: 0 auto;
	border: 5px solid rgba(255, 255, 255, 0.45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: mfp-spin .8s linear infinite;
}

html.mfp-overlay-open,
html.mfp-overlay-open body {
	overflow: hidden;
}

.mfp-confirmation-pdf {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	margin-top: 10px;
}

.mfp-confirmation-pdf-thumb {
	display: block;
	max-width: 320px;
	width: 100%;
	height: auto;
	border: 1px solid #dcdcde;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.mfp-confirmation-pdf-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 240px;
	height: 150px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	font-size: 22px;
	font-weight: 700;
	color: #50575e;
}

.mfp-confirmation-pdf-caption {
	font-weight: 600;
}

/* v1.9.1 compact form and confirmation layout */
.mfp-two-column-row,
.mfp-logo-options-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.mfp-two-column-row .mfp-field,
.mfp-logo-options-grid .mfp-field {
	margin-bottom: 18px;
}

.mfp-description {
	font-size: .7em;
	line-height: 1.45;
}

.mfp-section-break {
	margin: 38px 0 58px;
	padding-top: 8px;
}

.mfp-section-break h3 {
	margin: 0;
	font-size: 1.2em;
}

.mfp-form button,
.mfp-submit button,
.mfp-preview-action button {
	min-height: 48px;
	padding: 13px 24px;
	font-size: 1.05em;
	font-weight: 700;
}

.mfp-generated-review-message {
	margin: 0 0 16px;
	padding: 13px 16px;
	background: #f0fff2;
	border-left: 4px solid #46b450;
}

.mfp-generated-review-message p {
	margin: 0;
}

.mfp-regenerate-choice {
	margin-top: 16px;
}

#mfp-regenerate-options {
	margin-top: 10px;
}

#mfp-regenerate-options .mfp-preview-action {
	margin-bottom: 0;
}

#mfp-generated-logo-disclaimer {
	max-width: 400px;
	margin: 8px auto 0;
	text-align: left;
}

.mfp-confirmation-message p:first-child {
	margin-top: 0;
}

.mfp-confirmation-message p:last-child {
	margin-bottom: 0;
}

.mfp-confirmation-summary {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(260px, 1fr);
	gap: 30px;
	align-items: start;
	margin-top: 24px;
}

.mfp-confirmation-pricing {
	border: 1px solid #dcdcde;
	background: #fff;
}

.mfp-confirmation-pricing h3 {
	margin: 0;
	padding: 14px 16px;
	font-size: 1.1em;
	background: #f0f0f1;
	border-bottom: 1px solid #dcdcde;
}

.mfp-confirmation-price-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 18px;
	padding: 12px 16px;
	border-bottom: 1px solid #e7e7e7;
}

.mfp-confirmation-price-row strong {
	white-space: nowrap;
}

.mfp-confirmation-price-total {
	font-size: 1.08em;
	background: #f6f7f7;
	border-bottom: 0;
}

.mfp-confirmation-pdf-column {
	text-align: center;
}

.mfp-confirmation-pdf {
	margin-top: 0;
}

@media (max-width: 700px) {
	.mfp-two-column-row,
	.mfp-logo-options-grid,
	.mfp-confirmation-summary {
		grid-template-columns: 1fr;
	}
}

#mfp-additional-instructions-wrap {
	margin-top: 36px;
}


.mfp-section-break hr {
	margin: 12px 0 10px;
	border: 0;
	border-top: 1px solid #dcdcde;
}

.mfp-section-description {
	margin: 0;
	font-size: .78em;
	line-height: 1.5;
	color: #50575e;
}

.mfp-preview-action button {
	background: #e21e28;
	border: 1px solid #e21e28;
	color: #fff;
	font-weight: 700;
}

.mfp-preview-action button:hover,
.mfp-preview-action button:focus {
	filter: brightness(.9);
	color: #fff;
}


/* v1.9.8 compact form */
.mfp-form .mfp-field,
.mfp-form .mfp-fieldset {
	margin-bottom: 14px;
}

.mfp-form .mfp-two-column-row,
.mfp-form .mfp-logo-options-grid {
	gap: 14px;
}

.mfp-form .mfp-two-column-row .mfp-field,
.mfp-form .mfp-logo-options-grid .mfp-field {
	margin-bottom: 14px;
}

.mfp-form .mfp-field > label,
.mfp-form .mfp-checkbox-field > label {
	font-size: 14px;
	line-height: 1.25;
	margin-bottom: 5px;
}

.mfp-form .mfp-fieldset > legend {
	font-size: 16px;
	line-height: 1.25;
	margin-bottom: 8px;
}

.mfp-form .mfp-fieldset .mfp-field > label {
	font-size: 12px;
	font-weight: 500;
	color: #50575e;
	margin-bottom: 4px;
}

.mfp-form .mfp-field input[type="text"],
.mfp-form .mfp-field input[type="email"],
.mfp-form .mfp-field input[type="tel"],
.mfp-form .mfp-field input[type="number"],
.mfp-form .mfp-field input[type="file"],
.mfp-form .mfp-field select,
.mfp-form .mfp-field textarea {
	font-size: 16px;
	line-height: 1.25;
	padding: 6px 8px;
	min-height: 36px;
}

.mfp-form .mfp-field input[type="file"] {
	padding: 5px 7px;
}

.mfp-form .mfp-description {
	margin-top: 5px;
	line-height: 1.35;
}

.mfp-generated-layout {
	display: grid;
	grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	margin-top: 8px;
}

.mfp-generated-layout-preview,
.mfp-generated-layout-controls {
	min-width: 0;
}

.mfp-generated-layout .mfp-logo-preview-image-wrap {
	margin-bottom: 0;
}

.mfp-generated-layout-controls .mfp-generated-review-message {
	margin-top: 0;
}

.mfp-generated-layout-controls #mfp-additional-instructions-wrap {
	margin-top: 28px;
}

.mfp-form .mfp-preview-action button,
.mfp-form .mfp-submit button {
	display: block;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

@media (max-width: 700px) {
	.mfp-generated-layout {
		grid-template-columns: 1fr;
	}
}


.mfp-three-column-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

@media (max-width: 700px) {
	.mfp-three-column-row {
		grid-template-columns: 1fr;
	}
}
