.wqst-availability {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0.35rem 0;
	vertical-align: middle;
}

.wqst-availability-label {
	border-radius: 999px;
	display: inline-block;
	font-size: 0.82em;
	font-weight: 600;
	line-height: 1.5;
	padding: 0.12rem 0.65rem;
}

.wqst-status-instock .wqst-availability-label {
	background: #e7f6ec;
	color: #176b35;
}

.wqst-status-outofstock .wqst-availability-label {
	background: #fdeaea;
	color: #a32626;
}

.wqst-toggle {
	background: #8c8f94;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 1.35rem;
	margin: 0;
	padding: 0;
	position: relative;
	transition: background-color 0.18s ease;
	width: 2.45rem;
}

.wqst-toggle::after {
	background: #fff;
	border-radius: 50%;
	content: "";
	height: 1rem;
	left: 0.17rem;
	position: absolute;
	top: 0.17rem;
	transition: transform 0.18s ease;
	width: 1rem;
}

.wqst-status-instock .wqst-toggle {
	background: #2e9b55;
}

.wqst-status-instock .wqst-toggle::after {
	transform: translateX(1.1rem);
}

.wqst-toggle:disabled {
	cursor: wait;
	opacity: 0.65;
}

.wqst-toggle:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.wqst-feedback {
	font-size: 0.8em;
}

.wqst-admin-availability {
	margin: 0;
}
