.dordam-quote-form-wrapper {
	background: #ffffff;
	border: 1px solid #ddd;
	padding: 16px;
	margin-top: 10px;
	border-radius: 6px;
	max-width: 420px;
}
.dordam-quote-form-wrapper h4 {
	margin-top: 0;
}
.dordam-field {
	margin-bottom: 10px;
}
.dordam-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 13px;
}
.dordam-field input,
.dordam-field textarea {
	width: 100%;
}
.dordam-quote-success {
	background: #eafbea;
	border: 1px solid #8fd19e;
	padding: 12px;
	border-radius: 4px;
}
.dordam-quote-error {
	background: #fbeaea;
	border: 1px solid #d18f8f;
	padding: 10px;
	border-radius: 4px;
	margin-bottom: 10px;
}
.dordam-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.dordam-quote-outer {
	display: block;
	margin: 14px 0;
	clear: both;
}
.dordam-toggle-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 0.7em 1.4em !important;
	font-size: 1em;
}

/* Quantity stepper */
.dordam-qty-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
}
.dordam-qty-stepper input[type="number"] {
	flex: 1;
	border: none;
	text-align: center;
	-moz-appearance: textfield;
}
.dordam-qty-stepper input[type="number"]::-webkit-inner-spin-button,
.dordam-qty-stepper input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.dordam-qty-btn {
	flex: 0 0 36px;
	border: none;
	background: #f2f2f2;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	color: #333;
}
.dordam-qty-btn:hover {
	background: #e6e6e6;
}

/* Real-time validation */
.dordam-field-error {
	display: none;
	margin-top: 4px;
	color: #c0392b;
	font-size: 12px;
}
.dordam-field.dordam-field-invalid input {
	border-color: #c0392b !important;
}
.dordam-field.dordam-field-invalid .dordam-field-error {
	display: block;
}

/* Submit button spinner */
.dordam-submit-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.dordam-spinner {
	display: none;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: dordam-spin 0.7s linear infinite;
}
.dordam-submit-btn.dordam-loading .dordam-spinner {
	display: inline-block;
}
@keyframes dordam-spin {
	to { transform: rotate(360deg); }
}

/* Success checkmark */
.dordam-quote-success {
	display: flex;
	align-items: center;
	gap: 12px;
}
.dordam-checkmark {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
}
.dordam-checkmark svg {
	width: 100%;
	height: 100%;
}
.dordam-checkmark circle {
	stroke: #3a9d3a;
	stroke-width: 3;
	stroke-dasharray: 157;
	stroke-dashoffset: 157;
	animation: dordam-draw-circle 0.5s ease-out forwards;
}
.dordam-checkmark path {
	stroke: #3a9d3a;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 36;
	stroke-dashoffset: 36;
	animation: dordam-draw-check 0.3s 0.5s ease-out forwards;
}
@keyframes dordam-draw-circle {
	to { stroke-dashoffset: 0; }
}
@keyframes dordam-draw-check {
	to { stroke-dashoffset: 0; }
}

/* Sticky quote button on mobile, so it stays reachable while scrolling */
@media (max-width: 782px) {
	.dordam-quote-outer.dordam-sticky-armed .dordam-toggle-btn {
		position: sticky;
		bottom: 12px;
		z-index: 100;
		box-shadow: 0 4px 14px rgba(0,0,0,0.18);
	}
}

/* Popup form display mode */
.dordam-modal-close {
	display: none;
}
.dordam-quote-outer.dordam-popup-mode .dordam-modal-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 100000;
}
.dordam-quote-outer.dordam-popup-mode.dordam-modal-open .dordam-modal-backdrop {
	display: block;
}
.dordam-quote-outer.dordam-popup-mode .dordam-quote-form-wrapper {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 100001;
	width: 92%;
	max-width: 460px;
	max-height: 88vh;
	overflow-y: auto;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.dordam-quote-outer.dordam-popup-mode .dordam-modal-close {
	display: block;
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #666;
	padding: 4px 8px;
}
.dordam-quote-outer.dordam-popup-mode .dordam-modal-close:hover {
	color: #000;
}
@media (max-width: 782px) {
	.dordam-quote-outer.dordam-popup-mode.dordam-modal-open .dordam-toggle-btn {
		position: static;
		box-shadow: none;
	}
}

/* Hidden price message on quote-enabled products */
.dordam-hidden-price {
	font-style: italic;
	color: #667085;
	font-size: 0.95em;
}
