/* Popup chọn khu vực IMTA. */
.imta-location-popup {
	align-items: center;
	background: rgba(0, 0, 0, .28);
	box-sizing: border-box;
	display: flex;
	inset: 0;
	opacity: 0;
	padding: 20px;
	pointer-events: none;
	position: fixed;
	transition: opacity .2s ease, visibility .2s ease;
	visibility: hidden;
	z-index: 100000;
}

.imta-location-popup.is-open {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.imta-location-popup__backdrop {
	background: transparent;
	border: 0;
	cursor: default;
	inset: 0;
	padding: 0;
	position: absolute;
}

.imta-location-popup__dialog {
	background: #fff;
	border: 1px solid #111;
	box-sizing: border-box;
	color: #000;
	margin: auto;
	max-width: 720px;
	position: relative;
	width: 100%;
}

.imta-location-popup__header {
	align-items: center;
	border-bottom: 1px solid #111;
	display: flex;
	justify-content: center;
	min-height: 66px;
	padding: 12px 52px;
	position: relative;
}

.imta-location-popup__title {
	color: #000;
	font-size: clamp(16px, 2.5vw, 20px);
	font-weight: 400;
	letter-spacing: -.035em;
	line-height: 1;
	margin: 0;
	text-align: center;
	text-transform: uppercase;
}

.imta-location-popup__close {
	align-items: center;
	background: transparent;
	border: 1px solid #111;
	border-radius: 0;
	color: #000;
	cursor: pointer;
	display: flex;
	font-size: 0;
	height: 27px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 15px;
	top: 11px;
	width: 43px;
}

.imta-location-popup__close::before,
.imta-location-popup__close::after {
	background: currentColor;
	content: '';
	height: 1px;
	position: absolute;
	width: 16px;
}

.imta-location-popup__close::before {
	transform: rotate(45deg);
}

.imta-location-popup__close::after {
	transform: rotate(-45deg);
}

.imta-location-popup__choices {
	display: grid;
	gap: 32px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 22px 42px 24px;
}

.imta-location-popup__choices > .imta-location-popup__choice {
	margin: 0 !important;
	width: 100%;
}

.imta-location-popup__choice {
	align-items: center;
	background: #fff;
	border: 1px solid #777;
	border-radius: 0;
	box-sizing: border-box;
	color: #000;
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	justify-content: center;
	line-height: 1.1;
	min-height: 56px;
	padding: 12px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.imta-location-popup__choice:hover,
.imta-location-popup__choice:focus-visible,
.imta-location-popup__close:hover,
.imta-location-popup__close:focus-visible {
	background: #000;
	color: #fff;
	outline: none;
}

body.imta-location-popup-open {
	overflow: hidden;
}

@media (max-width: 549px) {
	.imta-location-popup {
		padding: 12px;
	}

	.imta-location-popup__header {
		min-height: 68px;
		padding: 12px 52px 12px 20px;
	}

	.imta-location-popup__close {
		right: 10px;
		top: 10px;
	}

	.imta-location-popup__choices {
		gap: 14px;
		grid-template-columns: 1fr;
		padding: 20px;
	}

	.imta-location-popup__choice {
		font-size: 14px;
		min-height: 58px;
	}
}