body.tp-buy-popup-open {
	overflow: hidden;
}

.tp-buy-popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000000000000000;
	color: #17191c;
}

.tp-buy-popup.is-open {
	display: block;
}

.tp-buy-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(6, 10, 18, .78);
	backdrop-filter: blur(4px);
}

.tp-buy-popup__dialog {
	position: relative;
	box-sizing: border-box;
	width: min(1150px, calc(100vw - 48px));
	max-height: calc(100vh - 80px);
	overflow: auto;
	margin: 40px auto;
	padding: 30px 32px;
	background-color: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.tp-buy-popup__dialog:before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image: linear-gradient(rgba(24, 95, 160, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 95, 160, .055) 1px, transparent 1px);
	background-size: 92px 92px;
	pointer-events: none;
}

.tp-buy-popup__dialog > * {
	position: relative;
	z-index: 1;
}

.tp-buy-popup__close {
	position: absolute;
	right: 28px;
	top: 24px;
	width: 36px;
	height: 36px;
	border: 0;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	background: transparent !important;
	box-shadow: none !important;
	color: #6D6D6D !important;
	font-size: 42px;
	line-height: 32px;
	font-weight: 300;
	cursor: pointer;
	z-index: 999;
}

.tp-buy-popup__close img {
	cursor: pointer;
}

.tp-buy-popup__close:hover,
.tp-buy-popup__close:focus {
	background: transparent !important;
	box-shadow: none !important;
	outline: none;

	svg path {
		stroke: var(--thim-body-primary-color, #ffb606)
	}
}

.tp-buy-popup__close svg {
	display: block;
	width: 24px;
	height: 24px;
	margin: 6px;
}

.tp-buy-popup__header {
	text-align: center;
	margin-bottom: 32px;
}

.tp-buy-popup__header h2 {
	margin: 0 0 8px 0;
	text-transform: uppercase;
	font-size: 36px;
	line-height: 1.1em;
	font-weight: 600;
	color: #111111;
}

.tp-buy-popup__header h2 span {
	color: var(--thim-body-primary-color, #ffb606);
}

.tp-buy-popup__header p {
	margin: 10px 0 0;
	color: #3D3D3D;
	/*font-size: 16px;*/
}

.tp-buy-popup__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.tp-buy-popup__card {
	border: 1px solid #E2E0DB;
	border-radius: 18px;
	padding: 26px 23px 25px;
	min-height: 250px;
	box-sizing: border-box;
	text-align: center;
	transition: all .3s ease-in-out;
}

.tp-buy-popup__card:hover {
	border-color: #82B440;
	border-width: 1.5px;
}

.tp-buy-popup__card--thimpress:hover {
	border-color: #cc003d;
	border-width: 1.5px;
}

.tp-buy-popup__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 25px;
	line-height: 1;
	height: 40px;
}

.tp-buy-popup__brand img {
	display: block;
	width: auto;
	max-width: 205px;
	height: 40px;
	object-fit: contain;
}

.tp-buy-popup__brand--envato {
	margin-top: 2px;
	margin-bottom: 25px;
}

.tp-buy-popup__brand--envato img {
	max-width: 221px;
	height: 36px;
}

.tp-buy-popup__price-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 18px;
	margin-bottom: 16px;
}

.tp-buy-popup__original {
	text-align: left;
	margin-left: 60px;
}

.tp-buy-popup__original span {
	display: block;
	color: #888888;
	font-size: 14px;
	line-height: 1.2em;
}

.tp-buy-popup__original del {
	display: block;
	color: #B0B0B0;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
}

.tp-buy-popup__sale {
	font-size: 32px;
	color: #B3002E;
}

.tp-buy-popup__discount {
	justify-self: center;
	background: #FFB608;
	color: #fff;
	border-radius: 24px;
	padding: 5px 14px;
	font-size: 16px;
	font-weight: 500;
}

.tp-buy-popup__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	border-radius: 4px;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 16px;
}

.tp-buy-popup__button--thimpress {
	background: #B3002E;
}

.tp-buy-popup__button--envato {
	background: #82B440;
}

.tp-buy-popup__payments {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 15px 0 0;
}

.tp-buy-popup__payments img {
	display: block;
	width: min(100%, 485px);
	height: 25px;
	object-fit: contain;
}

.tp-buy-popup__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
	color: #3D3D3D;
	font-size: 16px;
}

.tp-buy-popup__note img {
	display: block;
	width: 21px;
	height: 21px;
	flex: 0 0 21px;
}

.tp-buy-popup__envato-price {
	display: block;
	margin: 0 0 16px 0;
	font-size: 30px;
	line-height: 1.25;
}

.tp-buy-popup__features {
	display: flex;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
	margin: 30px 0;
	font-size: 18px;
}

.tp-buy-popup__features span {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	white-space: nowrap;
	color: #111;
}

.tp-buy-popup__features span:before {
	content: "";
	width: 24px;
	height: 24px;
	background: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28.0651 8.5626L12.0651 24.5626C11.9257 24.7024 11.7602 24.8134 11.5778 24.8891C11.3955 24.9648 11.2 25.0038 11.0026 25.0038C10.8052 25.0038 10.6097 24.9648 10.4274 24.8891C10.245 24.8134 10.0795 24.7024 9.9401 24.5626L2.9401 17.5626C2.80057 17.4231 2.68989 17.2574 2.61438 17.0751C2.53887 16.8928 2.5 16.6974 2.5 16.5001C2.5 16.3028 2.53887 16.1074 2.61438 15.9251C2.68989 15.7428 2.80057 15.5771 2.9401 15.4376C3.07963 15.2981 3.24528 15.1874 3.42758 15.1119C3.60988 15.0364 3.80528 14.9975 4.0026 14.9975C4.19993 14.9975 4.39532 15.0364 4.57762 15.1119C4.75993 15.1874 4.92557 15.2981 5.0651 15.4376L11.0039 21.3764L25.9426 6.4401C26.2244 6.15831 26.6066 6 27.0051 6C27.4036 6 27.7858 6.15831 28.0676 6.4401C28.3494 6.72189 28.5077 7.10409 28.5077 7.5026C28.5077 7.90112 28.3494 8.28331 28.0676 8.5651L28.0651 8.5626Z' fill='%230A9952'/%3E%3C/svg%3E%0A") no-repeat center / contain;
}

.tp-buy-popup__footer {
	background-color: rgba(115, 197, 234, 0.3);
	border-radius: 20px;
	text-align: center;
	padding: 24px 70px 26px;
	color: #464b50;
}

.tp-buy-popup__footer > span {
	display: inline-flex;
	background: #4644BE;
	color: #fff;
	border-radius: 18px;
	padding: 6px 16px;
	font-weight: 500;
	line-height: 1.75;
	margin-bottom: 16px;
	font-size: 14px;
}

.tp-buy-popup__footer h3 {
	margin: 0 0 8px;
	color: #4644BE;
	font-size: 20px;
	line-height: 1.2;
}

.tp-buy-popup__footer p {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
}

.tp-buy-popup a:hover {
	opacity: .92;
}

@media (max-width: 900px) {
	.tp-buy-popup__dialog {
		width: calc(100vw - 24px);
		max-height: calc(100vh - 24px);
		margin: 12px auto;
		padding: 24px 18px;
	}

	.tp-buy-popup__cards {
		grid-template-columns: 1fr;
	}

	.tp-buy-popup__price-row {
		gap: 8px;
	}

	.tp-buy-popup__original {
		text-align: center;
		margin-left: 0;
	}

	.tp-buy-popup__discount {
		justify-self: center;
	}

	.tp-buy-popup__features {
		gap: 18px;
		font-size: 16px;
	}

	.tp-buy-popup__footer {
		padding: 22px 18px;
	}

	.tp-buy-popup__header h2 {
		font-size: 25px;
	}

	.tp-buy-popup__close {
		right: 16px;
		top: 12px;
	}
}
