body.buynow-learn-more-open {
	overflow: hidden;
}

.buynow-learn-more {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.buynow-learn-more[hidden] {
	display: none !important;
}

.buynow-learn-more__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.buynow-learn-more__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 720px);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 0;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.buynow-learn-more__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
	color: #0f172a;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
}

.buynow-learn-more__close:hover,
.buynow-learn-more__close:focus {
	background: #fff;
	outline: 2px solid #0f766e;
	outline-offset: 2px;
}

.buynow-learn-more__image {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

@media (max-width: 600px) {
	.buynow-learn-more {
		padding: 12px;
	}

	.buynow-learn-more__dialog {
		width: min(100%, 100%);
		max-height: calc(100vh - 24px);
		border-radius: 12px;
	}
}
