/* WC Get A Quote — popup styling. Scoped under .wcgq- to avoid theme conflicts. */

.wcgq-quote-btn {
	display: inline-block;
	cursor: pointer;
}

.wcgq-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba( 0, 0, 0, 0.55 );
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.wcgq-modal-overlay.wcgq-open {
	display: flex;
}

body.wcgq-modal-active {
	overflow: hidden;
}

.wcgq-modal {
	background: #fff;
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 6px;
	padding: 28px 28px 24px;
	position: relative;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.25 );
	box-sizing: border-box;
}

.wcgq-modal-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #555;
	padding: 4px 8px;
}

.wcgq-modal-close:hover {
	color: #000;
}

.wcgq-modal h2 {
	margin: 0 0 4px;
	font-size: 22px;
}

.wcgq-modal-product-name {
	margin: 0 0 18px;
	color: #666;
	font-size: 14px;
}

.wcgq-field {
	margin: 0 0 14px;
}

.wcgq-field label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	font-size: 13px;
}

.wcgq-required {
	color: #c0392b;
}

.wcgq-field input[type="text"],
.wcgq-field input[type="email"],
.wcgq-field input[type="tel"],
.wcgq-field input[type="file"],
.wcgq-field textarea {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
	font-family: inherit;
}

.wcgq-field textarea {
	resize: vertical;
}

.wcgq-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wcgq-form-message {
	min-height: 20px;
	font-size: 14px;
	margin: 4px 0 14px;
}

.wcgq-form-message.wcgq-success {
	color: #1e7e34;
}

.wcgq-form-message.wcgq-error {
	color: #c0392b;
}

.wcgq-submit-row {
	margin-top: 4px;
}

.wcgq-submit-btn {
	width: 100%;
	cursor: pointer;
}

.wcgq-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@media ( max-width: 480px ) {
	.wcgq-modal {
		padding: 22px 18px 18px;
		max-height: 95vh;
	}

	.wcgq-modal h2 {
		font-size: 19px;
	}
}
