/* Shared bags quote form styles (category + product singles) */
.bags-quote-card,
.bags-hero-form-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	padding: 22px 22px 20px;
	height: 100%;
}

.bags-quote-card .bags-quote-title,
.bags-hero-form-card .bags-quote-title {
	margin: 0 0 14px;
	font-size: 24px;
	font-weight: 700;
	color: #111;
	line-height: 1.2;
}

.bags-quote-form .row {
	--bs-gutter-x: 0.75rem;
	--bs-gutter-y: 0;
}

.bags-quote-field {
	margin-bottom: 8px;
}

.bags-quote-field label {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 700;
	color: #111;
}

.bags-quote-field label .req {
	color: #e53935;
}

.bags-quote-field input,
.bags-quote-field select,
.bags-quote-field textarea {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 7px 10px;
	font-size: 13px;
	line-height: 1.3;
	color: #333;
	background: #fff;
	box-shadow: none;
	margin: 0;
}

.bags-quote-field textarea {
	min-height: 72px;
	resize: vertical;
}

.bags-quote-field input:focus,
.bags-quote-field select:focus,
.bags-quote-field textarea:focus {
	outline: none;
	border-color: #cd9933;
}

.bags-quote-field.has-error input,
.bags-quote-field.has-error select,
.bags-quote-field.has-error textarea {
	border-color: #e53935 !important;
	box-shadow: 0 0 0 1px #e53935;
	background-color: #fff5f5 !important;
}

/* Detect Chrome autofill so JS can commit painted values before submit. */
@keyframes bagsAutofillTick {
	from {
		opacity: 0.99;
	}
	to {
		opacity: 1;
	}
}

.bags-quote-field input:-webkit-autofill {
	animation-name: bagsAutofillTick;
	animation-duration: 0.001s;
}

.bags-quote-error {
	display: block;
	min-height: 14px;
	margin-top: 3px;
	font-size: 12px;
	line-height: 1.3;
	color: #e53935;
	font-weight: 600;
}

.bags-quote-form .bags-quote-submit {
	display: inline-block;
	margin-top: 4px;
	background: #d1a041;
	border: 1px solid #d1a041;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 22px;
	border-radius: 6px;
	cursor: pointer;
	transition: 0.25s ease;
}

.bags-quote-form .bags-quote-submit:hover {
	background: #c09236;
	border-color: #c09236;
}

.bags-quote-form .bags-quote-submit:disabled,
.bags-quote-form .bags-quote-submit.is-loading {
	opacity: 0.7;
	cursor: not-allowed;
}

.bags-quote-response {
	display: none;
	margin: 0 0 10px;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 13px;
}

.bags-quote-response.is-success {
	display: block;
	background: #d4edda;
	color: #155724;
}

.bags-quote-response.is-error {
	display: block;
	background: #f8d7da;
	color: #721c24;
}

.bags-quote-honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
	height: 0;
	width: 0;
	overflow: hidden;
}

.single-form-area .bags-quote-card {
	box-shadow: none;
	border: 1px solid #ececec;
	padding: 18px 16px;
}

@media (max-width: 575.98px) {
	.bags-quote-card,
	.bags-hero-form-card {
		padding: 18px 16px;
	}
}
