/* LISG Product Quote Form */

.lisg-qf-open-btn {
	display: inline-block;
	padding: 16px 28px;
	background-color: #DB6B30;
	color: #fff;
	border: none;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.lisg-qf-open-btn:hover {
	opacity: 0.9;
}

.lisg-qf-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.lisg-qf-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 16, 12, 0.6);
	backdrop-filter: blur(2px);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	overflow-y: auto;
	animation: lisg-qf-fade-in 0.18s ease;
}

.lisg-qf-overlay[hidden] {
	display: none;
}

@keyframes lisg-qf-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

body.lisg-qf-open {
	overflow: hidden;
}

.lisg-qf-modal {
	position: relative;
	background: #FBF7F0;
	max-width: 620px;
	width: 100%;
	padding: 56px 56px 48px;
	box-sizing: border-box;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 10px;
	box-shadow: 0 24px 60px rgba(20, 16, 12, 0.35);
	animation: lisg-qf-rise 0.22s ease;
}

@keyframes lisg-qf-rise {
	from { opacity: 0; transform: translateY(14px) scale(0.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.lisg-qf-close {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #2B211A;
	border: 3px solid #FBF7F0;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(20, 16, 12, 0.35);
	transition: background-color 0.15s ease, transform 0.15s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lisg-qf-close:hover {
	background: #DB6B30;
	transform: scale(1.08);
}

.lisg-qf-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	color: #241B14;
	margin: 0 0 14px;
	position: relative;
	padding-bottom: 18px;
}

.lisg-qf-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 3px;
	background: #DB6B30;
	border-radius: 2px;
}

.lisg-qf-product-context {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: #F3E7D8;
	border-left: 3px solid #DB6B30;
	border-radius: 4px;
	padding: 12px 16px;
	margin: 0 0 26px;
}

.lisg-qf-product-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #a3805e;
}

.lisg-qf-product-name {
	font-size: 16px;
	font-weight: 700;
	color: #241B14;
	line-height: 1.35;
}

.lisg-qf-product-sku {
	font-size: 11px;
	color: #8a7a68;
}

.lisg-qf-row {
	display: flex;
	gap: 24px;
}

.lisg-qf-row .lisg-qf-field {
	flex: 1;
}

.lisg-qf-field {
	margin-bottom: 20px;
}

.lisg-qf-field label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2B211A;
	margin-bottom: 8px;
}

.lisg-qf-field input,
.lisg-qf-field select,
.lisg-qf-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #e3d7c4;
	border-radius: 5px;
	background: #ffffff;
	padding: 12px 14px;
	font-size: 14px;
	color: #2B211A;
	font-family: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lisg-qf-field input::placeholder,
.lisg-qf-field textarea::placeholder {
	color: #b7ab9a;
}

.lisg-qf-field input:focus,
.lisg-qf-field select:focus,
.lisg-qf-field textarea:focus {
	outline: none;
	border-color: #DB6B30;
	box-shadow: 0 0 0 3px rgba(219, 107, 48, 0.15);
}

.lisg-qf-field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232B211A' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 34px;
}

.lisg-qf-field textarea {
	resize: vertical;
	min-height: 96px;
}

.lisg-qf-status {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 16px;
	padding: 10px 14px;
	border-radius: 5px;
	background: #e9f6ea;
	color: #2f7a3c;
}

.lisg-qf-status-error {
	background: #fbeceb;
	color: #b3261e;
}

.lisg-qf-submit {
	width: 100%;
	padding: 17px;
	background: #2B211A;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

.lisg-qf-submit:hover {
	background: #DB6B30;
}

.lisg-qf-submit.is-loading {
	opacity: 0.6;
	cursor: default;
}

@media (max-width: 600px) {
	.lisg-qf-modal {
		padding: 40px 24px 32px;
	}

	.lisg-qf-title {
		font-size: 24px;
	}

	.lisg-qf-row {
		flex-direction: column;
		gap: 0;
	}
}
