.ec-shopper-modal[hidden],
.ec-shopper-modal__form[hidden],
.ec-shopper-modal__status[hidden] { display: none !important; }

.ec-shopper-modal {
	align-items: center;
	background: rgba(4, 9, 16, .58);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 20000;
}

.ec-shopper-modal__card {
	animation: ec-shopper-modal-pop .65s ease-out both;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .24);
	box-sizing: border-box;
	color: #15212c;
	max-height: calc(100vh - 40px);
	max-width: 400px;
	overflow-y: auto;
	padding: 36px 28px 28px;
	position: relative;
	text-align: center;
	width: 100%;
}

@keyframes ec-shopper-modal-pop {
	0% { transform: translateY(30px) scale(.82); }
	55% { transform: translateY(-8px) scale(1.04); }
	78% { transform: translateY(3px) scale(.99); }
	100% { transform: none; }
}

.ec-shopper-modal__card:focus { outline: none; }

.ec-shopper-modal__close {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: #68737e;
	cursor: pointer;
	display: flex;
	font-size: 26px;
	height: 32px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 32px;
}

.ec-shopper-modal__logo {
	display: block;
	height: auto;
	margin: 0 auto 22px;
	max-width: 100%;
	width: 148px;
}

.ec-shopper-modal__card h2 {
	color: #15212c;
	font-size: 26px;
	font-weight: 750;
	letter-spacing: -.025em;
	line-height: 1.2;
	margin: 0 0 10px;
}

.ec-shopper-modal__card > p {
	color: #5c6670;
	font-size: 16px;
	line-height: 1.45;
	margin: 0 0 24px;
}

.ec-shopper-modal__download {
	display: block;
	margin: 0 auto;
	max-width: 156px;
	width: 100%;
}

.ec-shopper-modal__download img { display: block; height: auto; width: 100%; }
.ec-shopper-modal__download:hover { opacity: .88; }

.ec-shopper-modal__android {
	background: #fece02;
	border: 1px solid #e3b900;
	border-radius: 11px;
	color: #161810;
	cursor: pointer;
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	margin: 22px auto 0;
	padding: 11px 15px;
	width: 100%;
}

.ec-shopper-modal__android:hover { background: #ffda32; }

.ec-shopper-modal__form {
	border-top: 1px solid #e5e8eb;
	margin-top: 20px;
	padding-top: 18px;
	text-align: left;
}

.ec-shopper-modal__form label {
	color: #26323d;
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 6px;
}

.ec-shopper-modal__form input:not([type="hidden"]) {
	background: #fff;
	border: 1px solid #c9d0d6;
	border-radius: 10px;
	box-sizing: border-box;
	color: #15212c;
	display: block;
	font-size: 16px;
	margin: 0 0 14px;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

.ec-shopper-modal__form small {
	color: #5c6670;
	display: block;
	font-size: 12px;
	line-height: 1.45;
	margin: 0 0 14px;
}

.ec-shopper-modal__submit {
	background: #161810;
	border: 0;
	border-radius: 10px;
	color: #fece02;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	min-height: 44px;
	padding: 10px 14px;
	width: 100%;
}

.ec-shopper-modal__submit:disabled { cursor: wait; opacity: .65; }

.ec-shopper-modal__card .ec-shopper-modal__status {
	color: #17684e;
	font-size: 13px;
	line-height: 1.45;
	margin: 12px 0 0;
}

.ec-shopper-modal__card .ec-shopper-modal__status[data-error="true"] { color: #ad3030; }
.ec-shopper-modal__trap { height: 0; overflow: hidden; position: absolute; width: 0; }

.ec-shopper-modal__close:focus-visible,
.ec-shopper-modal__download:focus-visible,
.ec-shopper-modal__android:focus-visible,
.ec-shopper-modal__form input:focus-visible,
.ec-shopper-modal__submit:focus-visible {
	outline: 3px solid #2369d9;
	outline-offset: 3px;
}

body.ec-shopper-modal-open { overflow: hidden; }

@media (max-width: 480px) {
	.ec-shopper-modal__card { padding: 34px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.ec-shopper-modal__card { animation: none; }
}
