.popup-roaming {
	position: fixed;
	z-index: 10000;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.55);
	box-sizing: border-box;
}

.popup-roaming,
.popup-roaming *,
.popup-roaming *::before,
.popup-roaming *::after {
	font-family: 'Halvar Breit Rg', sans-serif;
}

.popup-roaming--open {
	display: flex;
}

.popup-roaming__dialog {
	position: relative;
	width: min(776px, 100%);
	max-height: calc(100vh - 48px);
	padding: 20px 24px 32px;
	overflow-y: auto;
	border-radius: 40px;
	background: #ffffff;
	box-sizing: border-box;
	font-family: 'Halvar Breit Rg', sans-serif;
	color: #1b1b1b;
}

.popup-roaming__close {
	display: flex;
	width: 24px;
	height: 24px;
	margin: 0 0 0 auto;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.popup-roaming__close img {
	display: block;
	width: 16px;
	height: 16px;
}

.popup-roaming__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.popup-roaming__title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: normal;
	text-align: center;
	text-transform: uppercase;
}

.popup-roaming__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.popup-roaming__feature {
	position: relative;
	min-height: 98px;
	padding: 12px;
	overflow: hidden;
	border-radius: 12px;
	box-sizing: border-box;
	color: #ffffff;
}

.popup-roaming__feature--internet {
	background: #000000;
}

.popup-roaming__feature--calls {
	background: #ff3495;
}

.popup-roaming__feature-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: calc(100% - 112px);
}

.popup-roaming__feature-copy strong {
	font-size: 16px;
	font-weight: 700;
	line-height: normal;
}

.popup-roaming__feature-copy span {
	font-size: 12px;
	font-weight: 400;
	line-height: normal;
}

.popup-roaming__feature-image {
	position: absolute;
	display: block;
	pointer-events: none;
}

.popup-roaming__feature-image--suitcase {
	top: 50%;
	right: -6px;
	width: 102px;
	height: 95px;
	transform: translateY(calc(-50% + 5px));
	object-position: bottom;
}

.popup-roaming__feature-image--phone {
	top: 50%;
	right: -15px;
	width: 137px;
	height: 139px;
	transform: translateY(calc(-50% + 21px));
	object-fit: cover;
}

.popup-roaming__tariffs {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	line-height: normal;
}

.popup-roaming__tariffs strong {
	font-weight: 700;
}

.popup-roaming__tariffs span {
	color: #808080;
}

.popup-roaming__activation {
	position: relative;
	min-height: 152px;
	padding: 12px;
	overflow: hidden;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
}

.popup-roaming__activation-title {
	position: relative;
	z-index: 1;
	display: block;
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: normal;
}

.popup-roaming__steps {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: roaming-step;
}

.popup-roaming__steps li {
	display: grid;
	grid-template-columns: 29px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	font-size: 14px;
	line-height: normal;
	counter-increment: roaming-step;
}

.popup-roaming__steps li::before {
	display: grid;
	min-height: 28px;
	place-items: center;
	padding: 4px 8px;
	border-radius: 8px;
	background: #ffffff;
	box-sizing: border-box;
	font-size: 16px;
	font-weight: 500;
	content: counter(roaming-step);
}

.popup-roaming__activation-image {
	position: absolute;
	z-index: 0;
	right: 3px;
	bottom: -85px;
	width: 155px;
	height: 162px;
	opacity: 0.38;
	object-fit: cover;
	pointer-events: none;
}

.popup-roaming__countries {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.popup-roaming__countries-toggle {
	display: flex;
	width: 100%;
	padding: 0;
	align-items: center;
	justify-content: space-between;
	border: 0;
	background: transparent;
	color: #1b1b1b;
	font: inherit;
	cursor: pointer;
}

.popup-roaming__countries-label {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 14px;
	line-height: normal;
}

.popup-roaming__countries-label img {
	display: block;
	width: 20px;
	height: 20px;
}

.popup-roaming__countries-chevron {
	display: block;
	width: 16px;
	height: 8px;
	transition: transform 0.18s ease;
}

.popup-roaming__countries-toggle[aria-expanded="true"] .popup-roaming__countries-chevron {
	transform: rotate(180deg);
}

.popup-roaming__countries-list {
	margin: 0;
	color: #808080;
	font-size: 12px;
	font-weight: 400;
	line-height: normal;
}

.popup-roaming__countries-list[hidden] {
	display: none;
}

.popup-roaming__submit {
	display: flex;
	width: 252px;
	min-height: 48px;
	margin: 0 auto;
	padding: 16px 20px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 16px;
	background: #a7fc00;
	box-sizing: border-box;
	color: #000000;
	font-family: 'Halvar Breit Rg', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
	cursor: pointer;
}

@media (max-width: 520px) {
	.popup-roaming {
		align-items: stretch;
		padding: 0;
	}

	.popup-roaming__dialog {
		width: min(336px, 100%);
		max-height: 100vh;
		margin: auto;
		padding: 16px 24px 32px;
		border-radius: 20px;
	}

	.popup-roaming__content {
		gap: 20px;
	}

	.popup-roaming__title {
		font-size: 20px;
		text-align: left;
	}

	.popup-roaming__features {
		grid-template-columns: 1fr;
	}

	.popup-roaming__feature {
		min-height: 92px;
	}

	.popup-roaming__feature-copy {
		max-width: calc(100% - 100px);
	}

	.popup-roaming__feature-copy strong {
		font-size: 14px;
	}

	.popup-roaming__feature-image--suitcase {
		width: 92px;
		height: 86px;
		transform: translateY(calc(-50% + 9px));
	}

	.popup-roaming__feature-image--phone {
		width: 127px;
		height: 129px;
		transform: translateY(calc(-50% + 26px));
	}

	.popup-roaming__tariffs {
		font-size: 12px;
	}

	.popup-roaming__activation {
		min-height: 166px;
	}

	.popup-roaming__steps li {
		align-items: start;
		font-size: 12px;
	}

	.popup-roaming__activation-image {
		right: -1px;
		bottom: -14px;
		width: 145px;
		height: 151px;
	}

	.popup-roaming__countries-label {
		font-size: 12px;
	}

	.popup-roaming__submit {
		width: 100%;
	}
}
