.fmwce-quote-button-root {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.fmwce-quote-button-root--single {
	margin-left: 12px;
}

.fmwce-quote-button {
	appearance: none !important;
	display: inline-flex !important;
	min-height: 36px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 !important;
	padding: 8px 14px !important;
	border: 1px solid #dbe2ea !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: #000 !important;
	box-shadow: none !important;
	font: inherit;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer !important;
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.fmwce-quote-button:hover,
.fmwce-quote-button:focus-visible {
	border-color: #c7d0dc !important;
	outline: none !important;
	background: #f8fafc !important;
	color: #000 !important;
	box-shadow: 0 0 0 3px rgba(23, 32, 51, .1) !important;
}

.fmwce-quote-button.is-added {
	border-color: #dbe2ea !important;
	background: #fff !important;
	color: #000 !important;
}

.fmwce-quote-button.is-added:hover,
.fmwce-quote-button.is-added:focus-visible {
	background: #f8fafc !important;
	color: #000 !important;
}

.fmwce-quote-button:disabled {
	opacity: .65;
	cursor: wait !important;
}

.fmwce-quote-button svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.fmwce-quote-button .fmwce-quote-card-button__remove,
.fmwce-quote-button .fmwce-quote-card-button__spinner,
.fmwce-quote-button.is-added .fmwce-quote-card-button__add,
.fmwce-quote-button.is-loading .fmwce-quote-card-button__add,
.fmwce-quote-button.is-loading .fmwce-quote-card-button__remove {
	display: none !important;
}

.fmwce-quote-button.is-added .fmwce-quote-card-button__remove,
.fmwce-quote-button.is-loading .fmwce-quote-card-button__spinner {
	display: block !important;
}

.fmwce-quote-button .fmwce-quote-card-button__spinner {
	animation: fmwce-quote-button-spin .7s linear infinite;
	stroke-dasharray: 42;
	stroke-dashoffset: 12;
}

@keyframes fmwce-quote-button-spin { to { transform: rotate(360deg); } }

.fmwce-quote-button-error {
	max-width: 280px;
	color: #b91c1c;
	font-size: 12px;
	line-height: 1.4;
}

.fmwce-quote-toast-region {
	position: fixed !important;
	top: 20px !important;
	left: 50% !important;
	z-index: 2147483000 !important;
	display: flex !important;
	width: min(420px, calc(100vw - 32px)) !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: translateX(-50%) !important;
	pointer-events: none !important;
}

.admin-bar .fmwce-quote-toast-region {
	top: 52px !important;
}

.fmwce-quote-toast {
	box-sizing: border-box !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 10px 14px !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #000 !important;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .14) !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	text-align: center !important;
	animation: fmwce-quote-toast-in .16s ease-out both;
}

@keyframes fmwce-quote-toast-in {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
	.fmwce-quote-button-root--single {
		margin-top: 10px;
		margin-left: 0;
	}

	.admin-bar .fmwce-quote-toast-region {
		top: 66px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fmwce-quote-toast {
		animation: none;
	}
}
