._customer-pop-up {
	display: flex !important;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 100vh;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
}

._customer-pop-up_active {
	visibility: visible;
	opacity: 1;
	z-index: 10000;
}

._customer-pop-up__overlay {
	display: block !important;
	background-color: #151518;
	cursor: zoom-out;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
}

._customer-pop-up__overlay:before {
	content: "";
	display: block !important;
	background-color: #151518;
	width: 100%;
	height: 300vh;
	position: absolute;
	top: 100%;
	left: 0;
}

._customer-pop-up__content-wrapper {
	display: inline-flex !important;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}

._customer-pop-up__content {
	overflow-y: auto;
}

._customer-pop-up__content_wide {
	max-width: 100%;
	overflow-x: auto;
}

._customer-pop-up__content img {
	display: block;
	max-width: 100%;
}

._customer-pop-up__button {
	display: block;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	outline: none;
	border: 3px solid #fff;
	border-radius: 50%;
	overflow: hidden;
	background: #333 center no-repeat;
	box-shadow: 2px 2px 4px #333;
	color: transparent;
	line-height: 1;
	user-select: none;
	cursor: pointer;
	transition: background-color 0.2s;
	z-index: 2;
}

._customer-pop-up__button:hover {
	background-color: #444;
}

._customer-pop-up__button_prev,
._customer-pop-up__button_next {
	position: fixed;
	top: calc(50% - 20px);
}

._customer-pop-up__button_prev {
	background-image: url(../img/popup-arrow-left.svg);
	left: 1em;
}

._customer-pop-up__button_next {
	background-image: url(../img/popup-arrow-right.svg);
	right: 1em;
}

._customer-pop-up__button_close {
	background-image: url(../img/popup-close-icon.svg);
	position: absolute;
	top: -20px;
	right: -20px;
}

._customer-pop-up__button_hidden {
	display: none !important;
}

._customer-stop-scroll {
	height: 100vh;
	overflow: hidden;
}

@media screen and (min-width: 1024px) {
	._customer-pop-up__content-wrapper {
		max-height: 90vh;
		max-width: 90vw;
	}

	._customer-pop-up__content-wrapper > *,
	._customer-pop-up__content-wrapper img {
		max-height: 90vh;
	}
}

@media screen and (max-width: 1023px) {
	._customer-pop-up__content-wrapper {
		max-height: 100%;
		padding: 1em 0.5em calc(40px + 2em);
		overflow-y: auto;
	}

	._customer-pop-up__content-wrapper > * {
		max-width: 100%;
	}

	._customer-pop-up__button {
		position: absolute;
		top: auto;
		bottom: 1em;
	}

	._customer-pop-up__button_prev {
		left: calc(50% - 80px);
	}

	._customer-pop-up__button_next {
		right: calc(50% - 80px);
	}

	._customer-pop-up__button_close {
		right: calc(50% - 20px);
	}
}
