.preece-shared-inventory-checkout-disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.preece-shared-inventory-modal[hidden] {
	display: none;
}

.preece-shared-inventory-modal {
	align-items: center;
	background: rgba(0, 0, 0, 0.54);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	padding: 24px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 99999;
}

.preece-shared-inventory-modal__panel {
	background: #fff;
	border-top: 4px solid #ff4f68;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
	color: #1f1f1f;
	max-width: 520px;
	padding: 28px;
	position: relative;
	width: min(100%, 520px);
}

.preece-shared-inventory-modal__panel h2 {
	font-size: 24px;
	line-height: 1.2;
	margin: 0 36px 12px 0;
}

.preece-shared-inventory-modal__panel p {
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 12px;
}

.preece-shared-inventory-modal__panel p:last-child {
	margin-bottom: 0;
}

.preece-shared-inventory-modal__message {
	font-weight: 700;
}

.preece-shared-inventory-modal__close {
	align-items: center;
	appearance: none;
	background: #111;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	font-weight: 700;
	height: 32px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 18px;
	top: 18px;
	width: 32px;
}

@media (max-width: 640px) {
	.preece-shared-inventory-modal {
		align-items: center;
		padding: 18px;
	}

	.preece-shared-inventory-modal__panel {
		max-height: calc(100vh - 36px);
		overflow-y: auto;
		padding: 24px;
	}
}
