html.sg-b24-lightbox-open {
	overflow: hidden;
}

.sg-b24-lightbox {
	--sg-b24-lightbox-text: #433a33;
	--sg-b24-lightbox-dark: #313131;
	--sg-b24-lightbox-accent: #db2f2e;
	position: fixed;
	inset: 0;
	z-index: 10020;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sg-b24-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.sg-b24-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.72);
}

.sg-b24-lightbox__content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.sg-b24-lightbox__dialog {
	position: relative;
	width: min(960px, calc(100vw - 48px));
	max-height: calc(100vh - 48px);
	display: flex;
	flex-direction: column;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.sg-b24-lightbox__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(49, 49, 49, 0.12);
	border-radius: 999px;
	background: rgba(243, 244, 245, 0.92);
	color: var(--sg-b24-lightbox-dark);
	cursor: pointer;
	z-index: 2;
}

.sg-b24-lightbox__close::before,
.sg-b24-lightbox__close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 2px;
	background: currentColor;
	transform-origin: center;
}

.sg-b24-lightbox__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.sg-b24-lightbox__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.sg-b24-lightbox__close:focus-visible {
	outline: 2px solid var(--sg-b24-lightbox-accent);
	outline-offset: 2px;
}

.sg-b24-lightbox__header {
	padding: 28px 72px 0 32px;
}

.sg-b24-lightbox__eyebrow {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sg-b24-lightbox-accent);
}

.sg-b24-lightbox__title {
	margin: 0;
	font-size: 34px;
	line-height: 1.05;
	font-weight: 700;
	color: var(--sg-b24-lightbox-text);
}

.sg-b24-lightbox__body {
	padding: 20px 24px 24px;
	overflow: auto;
}

.sg-b24-lightbox__mount {
	min-height: 540px;
}

.sg-b24-lightbox__mount iframe {
	width: 100% !important;
	min-height: 540px;
	border: 0;
}

@media (max-width: 767px) {
	.sg-b24-lightbox__content {
		padding: 12px;
	}

	.sg-b24-lightbox__dialog {
		width: 100%;
		max-height: calc(100vh - 24px);
		border-radius: 18px;
	}

	.sg-b24-lightbox__header {
		padding: 20px 60px 0 20px;
	}

	.sg-b24-lightbox__title {
		font-size: 28px;
	}

	.sg-b24-lightbox__body {
		padding: 16px 14px 18px;
	}

	.sg-b24-lightbox__mount,
	.sg-b24-lightbox__mount iframe {
		min-height: 460px;
	}

	.sg-b24-lightbox__close {
		top: 14px;
		right: 14px;
		width: 38px;
		height: 38px;
	}
}
