.wrapper {
	background: #f7f6f7;
	padding: 0 10px;

	@media (max-width: 580px) {
		padding: 0 0;
	}
}
.wrapper .wrapper__inner {
	max-width: 1140px;
	background: #ffffff;
	margin: 0 auto;

	@media (max-width: 1199px) {
		max-width: 960px;
	}

	@media (max-width: 990px) {
		max-width: 720px;
	}

	@media (max-width: 767px) {
		max-width: 540px;
	}
}
.header {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px 32px 25px;

	@media (max-width: 767px) {
		flex-direction: column;
	}
}
.header img {
	display: block;
	width: 150px;
	height: auto;
}
.iti__search-icon {
	display: none !important;
}
.iti {
	width: 100% !important;
}
.cols {
	display: flex;
	padding: 25px 32px;

	@media (max-width: 767px) {
		flex-direction: column;
	}

	@media (max-width: 432px) {
		padding: 15px 32px;
	}
}
.col.col--right {
	background-color: #f7f6f7;
	max-width: 50%;
	width: 50%;
	margin-left: 15px;

	@media (max-width: 767px) {
		max-width: 100%;
		width: 100%;
		margin-left: 0;
		margin-top: 25px;
	}

	@media (max-width: 580px) {
		padding: 0 0;
		max-width: calc(30px + 100%);
		width: calc(30px + 100%);
		margin-left: -15px;
		margin-right: -15px;
		margin-top: 0;
	}

	.highlight {
		margin-left: 0;
		margin-right: 0;
	}
}
.col.col--left {
	max-width: 50%;
	width: 50%;
	margin: 0 2px 0 0;

	@media (max-width: 767px) {
		max-width: 100%;
		width: 100%;
	}
}
.hidden {
	display: none;
}
.footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px;

	.footer__text {
		max-width: 1140px;
		margin-bottom: 15px;
		padding: 0 15px;

		@media (max-width: 990px) {
			max-width: 720px;
		}

		@media (max-width: 767px) {
			max-width: 540px;
			font-size: 11px;
			line-height: 17px;
		}
	}

	ul {
		list-style-type: none;
		display: flex;
		padding-left: 0;

		@media (max-width: 580px) {
			flex-direction: column;
			justify-content: center;
			text-align: center;
		}

		li {
			a {
				text-decoration: underline;
				font-family: Arial, sans-serif;
				font-size: 14px;
				line-height: 30px;
			}
		}

		li ~ li {
			margin-left: 20px;

			@media (max-width: 580px) {
				margin-left: 0;
			}
		}
	}

	.crtxt {
		font-family: Arial, sans-serif;
		font-size: 14px;
		line-height: 30px;
	}
}
.text {
	padding: 25px 32px;

	h1,
	h2,
	h3,
	h4 {
		margin-bottom: 0;
	}
}
/* ------------------------------------------------------------ *\
	Counter
\* ------------------------------------------------------------ */

.counter {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	background-color: #f7f6f7;
	margin: 0 32px 25px;
}
.counter__text {
	p {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 14px;
		line-height: 30px;
		color: #212529;
		font-weight: bolder;
		margin-bottom: 0;
		padding-right: 6px;
	}
}
.counter__number {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #f58147;
	line-height: 30px;
	font-weight: bolder;
}
@media (max-width: 782px) {
	.counter {
		align-items: center;
	}
	.counter__text p {
		max-width: 100%;
	}
}

/* ------------------------------------------------------------ *\
	Congratulation
\* ------------------------------------------------------------ */

.congratulate {
	display: flex;
	padding: 15px;

	@media (max-width: 990px) {
		flex-direction: column;
	}
}
.congratulate .congratulate__right {
	max-width: 58.33%;
	width: 58.33%;
	padding-right: 10px;

	@media (max-width: 990px) {
		max-width: 100%;
		width: 100%;
	}
}
.congratulate .congratulate__left {
	max-width: 41.67%;
	width: 41.67%;
	padding: 0 15px;

	@media (max-width: 990px) {
		max-width: 100%;
		width: 100%;
	}
}

/* ------------------------------------------------------------ *\
	Image
\* ------------------------------------------------------------ */

.image {
	text-align: center;

	@media (max-width: 432px) {
		padding: 0 0;
	}

	a {
		text-decoration: underline;
		color: #000;
		font-size: 14px;
		font-family: Arial, sans-serif;
		line-height: 30px;
	}
}

/* ------------------------------------------------------------ *\
	highlight
\* ------------------------------------------------------------ */

.highlight {
	margin: 0 1px 0 1px;
	text-align: left;
	justify-content: flex-start;
	align-items: center;
	margin: 0;

	h3 {
		line-height: 25px;
		font-size: 18px;
		font-weight: bolder;
		color: #ffffff;
		font-family: Arial, Helvetica, sans-serif;
		padding-left: 10px;
	}

	@media (max-width: 1199px) {
		padding: 0 6px;
	}

	@media (max-width: 432px) {
		h3 {
			padding-left: 4px;
		}
	}
}

/* ------------------------------------------------------------ *\
	card
\* ------------------------------------------------------------ */

.card {
	display: flex;
	flex-direction: column;
	padding: 15px;

	&.card--mobile {
		display: none;
		margin: 0 25px 10px;
	}
}

@media (max-width: 760px) {
	.card {
		display: none;

		&.card--mobile {
			display: flex;
		}
	}
}
.card .card__head {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 15px;

	img {
		width: 145px;
		height: auto;
	}
}
.card {
	h3 {
		color: #fff;
		margin-bottom: 10px;
	}

	p {
		color: #fff;
	}
}

/* ------------------------------------------------------------ *\
	Selector
\* ------------------------------------------------------------ */

.selector {
	margin: 25px 0;

	ul {
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 25px;
		list-style-type: none;

		.offer-image {
			display: block;

			input {
				display: none;

				&:checked {
					~ label {
						border: solid 5px rgba(0, 163, 106, 1);
					}
				}
			}

			label {
				display: block;
				transition: all 0.4s;

				&:hover {
					box-shadow: 5px 3px 3px grey;
				}

				.selector__desktop {
					display: block;

					@media (max-width: 834px) {
						display: none;
					}
				}

				.selector__tablet,
				.selector__mobile {
					display: none;
				}

				.selector__tablet {
					@media (max-width: 834px) {
						display: block;
					}

					@media (max-width: 432px) {
						display: none;
					}
				}

				.selector__mobile {
					@media (max-width: 432px) {
						display: block;
					}
				}

				img {
					display: block;
					max-width: 100%;
					width: auto;
					height: auto;
				}
			}

			input[type='radio'] {
				width: 18px;
				height: 18px;
			}
		}

		.offer-text-only {
			display: flex;
			margin-left: 32px;

			input[type='radio'] {
				margin-right: 10px;
			}
		}
	}
}

/* ------------------------------------------------------------ *\
	Form
\* ------------------------------------------------------------ */

.purse-checkout {
	font-family: Arial, sans-serif;
	font-size: 14px;
	line-height: 30px;
	padding: 16px 32px;

	@media (max-width: 990px) {
		padding: 16px 16px;
	}

	@media (max-width: 580px) {
		padding: 16px 25px;
	}
}
.purse-checkout .purse-section {
	@media (max-width: 432px) {
		margin-top: 17px;
		padding: 0 5px;
	}

	.select,
	.input {
		margin-bottom: 16px;

		p {
			color: #212529;
			text-align: left;
			font-size: 14px;
			font-family: Arial, sans-serif;
			line-height: 20px;
			margin-bottom: 0.5rem;
		}

		select,
		input {
			max-width: 100%;
			display: block;
			width: 100%;
			height: calc(1.5em + 0.75rem + 2px);
			padding: 0.375rem 0.75rem;
			font-size: 1rem;
			font-weight: 400;
			line-height: 1.5;
			color: #495057;
			background-clip: padding-box;
			border: 1px solid #ced4da;
			border-radius: 0.25rem;
			background: #fff;
			transition:
				border-color 0.15s ease-in-out,
				box-shadow 0.15s ease-in-out;
		}

		select.touched:invalid,
		input.mismatch,
		input.touched:invalid {
			border-color: #ff0000;
			background-image: url('./images/warning.svg');
			background-repeat: no-repeat;
			background-position: 98% center;
			background-size: 20px;
			padding-right: 32px;
			appearance: none;
			-webkit-appearance: none;
			-moz-appearance: none;
		}

		select.touched:valid,
		input.touched:valid:not(.mismatch) {
			border-color: #28a745;
			background-image: url('./images/valid.svg');
			background-repeat: no-repeat;
			background-position: 98% center;
			background-size: 20px;
			padding-right: 32px;
			appearance: none;
			-webkit-appearance: none;
			-moz-appearance: none;
		}

		@media (max-width: 580px) {
			input::placeholder {
				font-size: 13px;
			}
		}
	}

	.input.input--small {
		width: 48%;

		@media (max-width: 580px) {
			width: 100%;
		}
	}
	.purse-row {
		display: flex;
		justify-content: space-between;

		a {
			text-decoration: underline;
		}

		@media (max-width: 580px) {
			flex-direction: column;
		}
	}

	.purse-primary-button {
		padding: 10px 20px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 14px;
		line-height: 15px;
		height: auto;
		text-align: center;
		border: 0 none;
		color: #ffffff;
		background: #ff8404;
	}
}
.purse-checkout .purse-radio-group {
	display: flex;
	margin-bottom: 16px;

	@media (max-width: 432px) {
		flex-wrap: nowrap;
		flex-direction: column;

		label {
			padding: 0 !important;
		}
	}

	p {
		margin-bottom: 0;
	}
	label {
		display: flex;
		align-items: center;
		padding: 0 15px;

		input {
			accent-color: #28a745;
			margin-right: 6px;
		}
	}
	label:has(input.touched:checked) {
		color: #28a745;
	}
}
.usp-stylesheet-wrapper {
	border: none !important;
}
.upstreampay-label_input_group-label {
	background-color: transparent !important;
	background: transparent !important;
}

/* ------------------------------------------------------------ *\
	Popup
\* ------------------------------------------------------------ */

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}
.popup {
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	max-width: 90%;
	max-height: 90%;
	overflow: auto;
}
.popup-header {
	padding: 5px 20px 0;
	display: flex;
	justify-content: end;
	align-items: center;
}

.close-btn {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #212529;
	padding: 0;
	line-height: 1;
	font-size: 50px;
	font-family: Arial, sans-serif;
}
.close-btn:hover {
	color: #000;
}
.popup-content {
	padding: 0 20px 20px;
}
.popup-content img {
	display: block;
	max-width: 100%;
	height: auto;

	&:hover {
		box-shadow: 5px 3px 3px grey;
	}
}

/* misc */
@media (max-width: 432px) {
	.checkbox-group {
		margin: 30px 0;
	}
	.purse-checkbox {
		display: flex;
		align-items: start;
		margin: 0 5px;

		input {
			margin: 7px 7px 0 0px;
		}
	}
}
