.lgmb-map {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	min-height: var(--lgmb-map-height, 480px);
	overflow: hidden;
	background: #f2f0eb;
	color: #1a1a1a;
	border-radius: 18px;
	box-shadow: rgba(50, 50, 93, 0.25) 0 30px 60px -12px, rgba(0, 0, 0, 0.3) 0 18px 36px -18px;
	isolation: isolate;
}

.lgmb-map,
.lgmb-map * {
	box-sizing: border-box;
}

.lgmb-map__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.lgmb-map__placeholder,
.lgmb-map__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.lgmb-map__placeholder {
	z-index: 1;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	pointer-events: none;
}

.lgmb-map__placeholder--empty {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
		repeating-linear-gradient(45deg, #c6bba9 0, #c6bba9 14px, #d2c8b8 14px, #d2c8b8 28px);
}

.lgmb-map__shade {
	z-index: 2;
	background: rgba(24, 24, 24, 0.42);
	backdrop-filter: blur(1px);
	pointer-events: none;
}

.lgmb-map__dialog {
	position: relative;
	z-index: 4;
	width: min(92%, 34rem);
	padding: 1.35rem;
	border-radius: 0px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
	text-align: center;
	pointer-events: auto;
}

.lgmb-map__text {
	margin: 0 0 1rem;
	color: #1a1a1a;
	font-size: 1rem;
	line-height: 1.5;
}

.lgmb-map__text a {
	color: #e6111f;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.lgmb-map__consent-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: .72rem 1.15rem;
	border: 0;
	border-radius: 0;
	background: #e6111f;
	color: #fff;
	font: inherit;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .16s ease, opacity .16s ease;
}

.lgmb-map__consent-button:hover,
.lgmb-map__consent-button:focus-visible {
	background: #b51d28;
}

.lgmb-map__consent-button:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

.lgmb-map__consent-button:active {
	transform: translateY(1px);
}

.lgmb-map__loading,
.lgmb-map__notice {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.1)),
		repeating-linear-gradient(45deg, #ece8df 0, #ece8df 14px, #f5f2ea 14px, #f5f2ea 28px);
	color: #2c2c2c;
	font-size: 1rem;
	line-height: 1.5;
	text-align: center;
}

.lgmb-map__notice,
.lgmb-map.is-loading .lgmb-map__loading {
	display: flex;
}

.lgmb-map.is-loading .lgmb-map__dialog {
	display: none;
}

.lgmb-map.is-loaded .lgmb-map__placeholder,
.lgmb-map.is-loaded .lgmb-map__shade,
.lgmb-map.is-loaded .lgmb-map__dialog,
.lgmb-map.is-loaded .lgmb-map__loading {
	display: none;
}

.lgmb-map-window {
	max-width: min(72vw, 19rem);
	color: #202124;
	font: 14px/1.45 Arial, sans-serif;
}

.lgmb-map-window__title {
	display: block;
	margin: 0 0 0.35rem;
	color: #b5131d;
	font-size: 15px;
	line-height: 1.25;
}

.lgmb-map-window__address {
	margin: 0 0 0.45rem;
	white-space: pre-line;
}

.lgmb-map-window__content > *:first-child {
	margin-top: 0;
}

.lgmb-map-window__content > *:last-child {
	margin-bottom: 0;
}

.lgmb-map-window__content a {
	color: #b5131d;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

@media (max-width: 600px) {
	.lgmb-map {
		min-height: clamp(320px, 72vh, var(--lgmb-map-height, 480px));
	}

	.lgmb-map__dialog {
		width: min(94%, 28rem);
		padding: 1rem;
	}

	.lgmb-map__text {
		font-size: 0.94rem;
	}

	.lgmb-map__consent-button {
		width: 100%;
	}
}
