.wcpp-buy-now {
	margin-left: .5em;
}

.wcpp-stock {
	margin: .5em 0 0;
}

.wcpp-modal[hidden] {
	display: none;
}

.wcpp-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.wcpp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, .55 );
}

.wcpp-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #fff;
	color: #1a1a1a;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 12px 40px rgba( 0, 0, 0, .25 );
}

.wcpp-modal__title {
	margin: 0 0 12px;
	font-size: 1.25rem;
}

.wcpp-modal__summary {
	margin: 0 0 16px;
	line-height: 1.6;
}

.wcpp-modal__label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.wcpp-modal__input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid #c9c9c9;
	border-radius: 4px;
}

.wcpp-modal__error {
	margin: 10px 0 0;
	color: #b32d2e;
}

.wcpp-modal__error[hidden] {
	display: none;
}

.wcpp-modal__actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 20px;
}

.wcpp-modal__submit[disabled] {
	opacity: .6;
	cursor: not-allowed;
}
