/* Promotional popup (wp-admin › Popup). Same palette and type as the storefront. */
.lg-popup {
	width: 680px;
	max-width: calc(100vw - 32px);
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: #fbf9f5;
	color: #232b24;
	font-family: Lato, sans-serif;
	overflow: auto;
}

.lg-popup[open] {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	animation: lg-popup-in 0.25s ease-out;
}

.lg-popup.lg-popup--no-image[open] {
	width: 460px;
	grid-template-columns: minmax(0, 1fr);
	text-align: center;
}

.lg-popup::backdrop {
	background: rgba(35, 43, 36, 0.6);
}

html.lg-popup-open {
	overflow: hidden;
}

@keyframes lg-popup-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lg-popup[open] {
		animation: none;
	}
}

.lg-popup__media {
	position: relative;
	min-height: 360px;
	background: #5e6e5f;
}

.lg-popup img.lg-popup__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.lg-popup__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 48px 36px 36px;
}

.lg-popup--no-image .lg-popup__body {
	align-items: center;
}

.lg-popup .lg-popup__eyebrow {
	margin: 0 0 10px;
	color: #5e6e5f;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.lg-popup .lg-popup__title {
	margin: 0 0 14px;
	color: #663c11;
	font-family: "Marcellus", Lato, serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-wrap: balance;
}

.lg-popup .lg-popup__text {
	margin: 0 0 24px;
	color: #232b24;
	font-size: 16px;
	line-height: 1.6;
}

.lg-popup a.lg-popup__cta {
	display: inline-block;
	padding: 13px 28px;
	border-radius: 32px;
	background: #663c11;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s;
}

.lg-popup a.lg-popup__cta:hover,
.lg-popup a.lg-popup__cta:focus-visible {
	background: #4f2e0d;
	color: #fff;
}

.lg-popup button.lg-popup__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fbf9f5;
	color: #663c11;
	cursor: pointer;
}

.lg-popup button.lg-popup__close:hover {
	background: #f3deb3;
}

.lg-popup button.lg-popup__later {
	display: none;
	margin: 14px 0 0;
	padding: 4px 8px;
	border: 0;
	background: none;
	color: #5e6e5f;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}

.lg-popup a:focus-visible,
.lg-popup button:focus-visible {
	outline: 2px solid #663c11;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.lg-popup[open],
	.lg-popup.lg-popup--no-image[open] {
		width: 360px;
		grid-template-columns: minmax(0, 1fr);
		text-align: center;
	}

	.lg-popup__media {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.lg-popup__body {
		align-items: center;
		padding: 24px 22px 22px;
	}

	.lg-popup--no-image .lg-popup__body {
		padding-top: 48px;
	}

	.lg-popup .lg-popup__title {
		font-size: 26px;
	}

	.lg-popup .lg-popup__text {
		margin-bottom: 20px;
		font-size: 15px;
	}

	.lg-popup a.lg-popup__cta {
		display: block;
		align-self: stretch;
	}

	.lg-popup button.lg-popup__later {
		display: inline-block;
	}
}
