.hx-product-quote {
	width: 100%;
}

.hx-product-quote__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.hx-product-quote__row--two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.hx-product-quote__row--single {
	display: block;
}

.hx-product-quote__field {
	position: relative;
}

.hx-product-quote__required {
	color: #d12525;
	margin-left: 2px;
}

.hx-product-quote input,
.hx-product-quote select,
.hx-product-quote textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #bcc8d5;
	background: #d6dce2;
	color: #000000;
	-webkit-text-fill-color: #000000;
	border-radius: 2px;
	font-size: 14px;
	line-height: 1.2;
	padding: 14px;
	min-height: 40px;
}

.hx-product-quote textarea {
	resize: vertical;
	min-height: 66px;
}

.hx-product-quote input:focus,
.hx-product-quote select:focus,
.hx-product-quote textarea:focus {
	outline: none;
	border-color: #8ca3bd;
}

.hx-product-quote__floating-label {
	position: absolute;
	left: 14px;
	top: 0;
	transform: translateY(-50%);
	color: #2d4158;
	font-size: 10px;
	line-height: 1;
	pointer-events: none;
	transition: color 0.18s ease;
	background: #f3f4f6;
	padding: 0 6px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.hx-product-quote__field textarea + .hx-product-quote__floating-label {
	top: 0;
	transform: translateY(-50%);
}

.hx-product-quote__field:focus-within .hx-product-quote__floating-label,
.hx-product-quote__field.is-focused .hx-product-quote__floating-label,
.hx-product-quote__field.is-filled .hx-product-quote__floating-label {
	color: #4b5e73;
}

.hx-product-quote__field--select select {
	padding-top: 14px;
}

.hx-product-quote__upload {
	border: 1px dashed #b8c3d1;
	border-radius: 6px;
	padding: 10px;
	background: #f8fbff;
}

.hx-product-quote__upload-label {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: #2d4158;
}

.hx-product-quote__upload-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.hx-product-quote__dropzone {
	flex: 1 1 260px;
	min-height: 40px;
	border: 1px dashed #8fa3bb;
	background: #f2f7fd;
	color: #475d76;
	font-size: 12px;
	line-height: 1.2;
	padding: 10px 12px;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hx-product-quote__dropzone.is-dragover {
	border-color: #35516f;
	background: #e8f1fb;
}

.hx-product-quote__upload-mobile-btn {
	display: none;
	border: 1px solid #2d4158;
	background: #ffffff;
	color: #1e293b;
	font-size: 12px;
	line-height: 1.2;
	padding: 7px 10px;
	border-radius: 4px;
	cursor: pointer;
}

.hx-product-quote__upload-count {
	font-size: 12px;
	color: #334155;
	font-weight: 600;
}

.hx-product-quote__images {
	margin-top: 10px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
	gap: 8px;
}

.hx-product-quote__image-item {
	position: relative;
	border: 1px solid #d0d9e5;
	border-radius: 4px;
	background: #ffffff;
	overflow: hidden;
	height: 72px;
}

.hx-product-quote__image-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hx-product-quote__image-remove {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 18px;
	height: 18px;
	border: 0;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.85);
	color: #fff;
	font-size: 12px;
	line-height: 18px;
	cursor: pointer;
	padding: 0;
}

.hx-product-quote__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 6px;
}

.hx-product-quote__robot-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #1f2937;
	cursor: pointer;
	margin-right: 2px;
}

.hx-product-quote__robot-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	min-height: 16px;
	margin: 0;
	padding: 0;
	border: 1px solid #94a3b8;
	background: #ffffff;
}

.hx-product-quote__submit {
	background: #000000;
	color: #ffffff;
	border: 1px solid #000000;
	border-radius: 3px;
	padding: 10px 20px;
	min-height: 38px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.hx-product-quote__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.hx-product-quote__status {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: #1e6f3d;
}

.hx-product-quote__status.is-error {
	color: #b42318;
}

.hx-product-quote__success {
	display: none;
	margin-top: 12px;
	padding: 12px;
	border: 1px solid #9dc7ae;
	background: #edf8f1;
	color: #184f2f;
	font-size: 13px;
}

.hx-product-quote__success.is-visible {
	display: block;
}

.hx-product-quote__success strong {
	display: block;
	margin-bottom: 4px;
}

@media (max-width: 767px) {
	.hx-product-quote__row--two {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.hx-product-quote__dropzone {
		display: none;
	}
	.hx-product-quote__upload-mobile-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
}
