/* Product Quote Enquiry — front-end styles.
   Deliberately light-touch: form inputs inherit the theme's styling. */

.pqe-enquiry-wrap {
	margin: 1em 0;
}

.pqe-price-on-request {
	font-weight: 600;
}

/* Container ----------------------------------------------------------- */

.pqe-form-container[hidden] {
	display: none;
}

.pqe-form-box {
	background: #fff;
	padding: 1.5em;
	border: 1px solid rgba( 0, 0, 0, 0.1 );
	border-radius: 6px;
	max-width: 480px;
}

.pqe-form-heading {
	margin: 0 0 1em;
	font-size: 1.05em;
}

/* Inline display ------------------------------------------------------ */

.pqe-display-inline {
	margin-top: 1em;
}

/* Modal display ------------------------------------------------------- */

.pqe-display-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1em;
}

.pqe-display-modal .pqe-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.6 );
}

.pqe-display-modal .pqe-form-box {
	position: relative;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.25 );
}

.pqe-modal-close {
	position: absolute;
	top: 0.4em;
	right: 0.5em;
	background: transparent;
	border: 0;
	font-size: 1.6em;
	line-height: 1;
	cursor: pointer;
	padding: 0.2em;
	color: inherit;
}

body.pqe-modal-open {
	overflow: hidden;
}

/* Built-in form ------------------------------------------------------- */

.pqe-native-form .pqe-field {
	margin: 0 0 0.9em;
}

.pqe-native-form label {
	display: block;
	margin-bottom: 0.25em;
	font-weight: 600;
}

.pqe-native-form input[type="text"],
.pqe-native-form input[type="email"],
.pqe-native-form input[type="tel"],
.pqe-native-form textarea {
	width: 100%;
	box-sizing: border-box;
}

.pqe-native-form .required {
	color: #b32d2e;
}

.pqe-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 1px;
	overflow: hidden;
}

.pqe-form-feedback {
	margin-top: 0.5em;
}

.pqe-form-feedback.pqe-success {
	color: #1a7f37;
	font-weight: 600;
}

.pqe-form-feedback.pqe-error {
	color: #b32d2e;
}

.pqe-config-warning {
	background: #fcf9e8;
	border-left: 4px solid #dba617;
	padding: 0.6em 0.9em;
	font-size: 0.9em;
}
