.evomart-product-content-block {
	margin: 1.5rem 0;
}

.evomart-pcb-modal-is-open {
	overflow: hidden;
}

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

.evomart-pcb-modal {
	align-items: center;
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	padding: 1.5rem;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 99999;
}

.evomart-pcb-modal__backdrop {
	background: rgba(17, 24, 39, 0.72);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.evomart-pcb-modal__dialog {
	max-height: min(760px, calc(100vh - 3rem));
	max-width: min(1200px, calc(100vw - 3rem));
	overflow: auto;
	padding: 30px 12px;
	position: relative;
	width: 100%;
	z-index: 1;
}

.evomart-pcb-modal__close {
	align-items: center;
	appearance: none;
	background: #111827;
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 1.5rem;
	height: 2.25rem;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
	width: 2.25rem;
}

.evomart-product-content-block--modal-content {
	margin: 0;
}

@media (max-width: 600px) {
	.evomart-pcb-modal {
		padding: 1rem;
	}

	.evomart-pcb-modal__dialog {
		max-height: calc(100vh - 2rem);
		max-width: calc(100vw - 2rem);
	}
}
