.rwwl-wrapper {
	margin-top: 1em;
}

.rwwl-out-of-stock {
	margin-bottom: 0.5em;
	font-weight: 600;
	color: #b32d2e;
}

.rwwl-inline-form,
.rwwl-modal-content {
	border: 1px solid #ddd;
	padding: 1em;
	border-radius: 4px;
	background: #fafafa;
}

.rwwl-title {
	margin-top: 0;
	font-size: 1.1em;
	font-weight: 600;
}

.rwwl-desc {
	margin: 0 0 0.75em;
}

.rwwl-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: center;
}

.rwwl-email-label {
	flex: 1 1 220px;
}

.rwwl-form input[type="email"],
.rwwl-form .rwwl-email {
	width: 100%;
	box-sizing: border-box;
	padding: 0.5em 0.75em;
	border-radius: 4px;
}

.rwwl-form .rwwl-submit {
	cursor: pointer;
}

.rwwl-message {
	margin-top: 0.5em;
	font-size: 0.9em;
	flex-basis: 100%;
}

.rwwl-message.rwwl-error {
	color: #b32d2e;
}

.rwwl-message.rwwl-success {
	color: #008a00;
}

.rwwl-form.rwwl-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* Modal */

.rwwl-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	inset: 0;
}

.rwwl-modal.is-open {
	display: block;
}

.rwwl-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.rwwl-modal-content {
	position: relative;
	max-width: 480px;
	margin: 5% auto;
	background: #fff;
}

.rwwl-modal-close {
	position: absolute;
	top: 8px;
	right: 8px;
	border: none;
	background: transparent;
	font-size: 20px;
	cursor: pointer;
}

/* User requested tweaks */

div#rwwl-modal label,
div#rwwl-modal button {
	margin: 0;
}

button.button.rwwl-submit,
button.button.rwwl-open-modal {
	border: 1px solid;
}
