.moulfood-location-popup {
	position: fixed;
	inset: 0;
	z-index: 100002;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.moulfood-location-popup.is-open {
	display: flex;
}

.moulfood-location-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(2px);
}

.moulfood-location-dialog {
	position: relative;
	width: min(480px, 100%);
	max-height: min(620px, calc(100vh - 32px));
	overflow: auto;
	background: #fff;
	color: #111827;
	border-radius: 22px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
	padding: 38px 48px 30px;
}

.moulfood-location-close {
	position: absolute;
	top: 28px;
	right: 28px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: #f3f4f6;
	color: #111827;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.moulfood-location-dialog h2 {
	max-width: 330px;
	margin: 0 54px 18px 0;
	font-size: 29px;
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: 0;
}

.moulfood-location-instruction {
	margin: 0;
	color: #4b5563;
	font-size: 16px;
	line-height: 1.55;
}

.moulfood-location-alert {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
	font-weight: 700;
	line-height: 1.35;
}

.moulfood-location-alert.is-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.moulfood-location-alert.is-success {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #166534;
}

.moulfood-location-current {
	width: 100%;
	min-height: 48px;
	margin-top: 30px;
	border: 0;
	border-radius: 999px;
	background: #f97316;
	color: #fff;
	font-size: 16px;
	font-weight: 900;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.moulfood-location-current:hover {
	background: #ea580c;
}

.moulfood-location-current:disabled {
	cursor: wait;
	opacity: 0.7;
}

body.moulfood-location-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.moulfood-location-popup {
		align-items: flex-end;
		padding: 0;
	}

	.moulfood-location-dialog {
		width: 100%;
		max-height: calc(100vh - 18px);
		border-radius: 22px 22px 0 0;
		padding: 34px 20px 24px;
	}

	.moulfood-location-close {
		top: 26px;
		right: 20px;
	}

	.moulfood-location-dialog h2 {
		margin-right: 52px;
		margin-bottom: 16px;
		font-size: 28px;
	}

	.moulfood-location-current {
		margin-top: 28px;
	}
}
