.ab10-subscription {
	position: fixed;
	z-index: 99;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.85);
	overflow-y: scroll;
	padding-bottom: 40px;
}
/* @media (min-width: 768px) {
	.ab10-subscription {
	}
} */
@media (min-width: 768px) and (min-height: 750px) {
	.ab10-subscription {
		overflow-y: hidden;
		padding-bottom: 0;
	}
}

.ab10-subscription__wrapper {
	position: relative;
	z-index: 100;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	box-shadow: 1px 8px 25px #6da5cd;
	border-radius: 12px;
	padding: 20px 12px;
	max-width: calc(100vw - 32px);
	margin-top: 40px;
}
@media (min-width: 768px) {
	.ab10-subscription__wrapper {
		margin-top: 60px;
		box-shadow: 1px 1px 25px rgba(109, 165, 205, 0.63);
		max-width: 604px;
		padding: 40px 24px;
	}
}
@media (min-width: 768px) and (min-height: 750px) {
	.ab10-subscription__wrapper {
		margin-top: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}

.ab10-subscription__close-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	transition: 0.3s;
	position: absolute;
	top: 20px;
	right: 12px;
}
@media (min-width: 768px) {
	.ab10-subscription__close-btn {
		top: 40px;
		right: 24px;
	}
	.ab10-subscription__close-btn:hover {
		transition: 0.3s;
		transform: rotate(90deg);
	}
}

/* .ab10-subscription__close-btn--first-img {
	display: block;
}
.ab10-subscription__close-btn--second-img {
	display: none;
}
@media (min-width: 768px) {
	.ab10-subscription__close-btn--first-img {
		display: none;
	}
	.ab10-subscription__close-btn--second-img {
		display: block;
	}
} */

.ab10-subscription__title {
	font-weight: 700;
	font-size: 28px;
	line-height: 32px;
	color: #121212;
	margin-bottom: 12px;
}
/* @media (max-width: 768px) {
	.ab10-subscription__title {
		position: relative;
	}
	.ab10-subscription__title::after {
		position: absolute;
		content: "";
		right: -16px;
		top: 0;
		width: 116px;
		height: 58px;
		background-image: url("../../img/ab10/ball.svg");
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center center;
		pointer-events: none;
	}
} */

.ab10-subscription__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}
.ab10-subscription__item {
	padding-left: 20px;
	font-weight: 500;
	font-size: 13px;
	line-height: 18px;
	color: #696969;
	position: relative;
}
.ab10-subscription__item::before {
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	background-image: url("../../img/ab10/checked.svg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	pointer-events: none;
}

.ab10-subscription__black {
	color: #121212;
}

.ab10-subscription__inner {
	display: flex;
	flex-direction: column;
}

.ab10-variants {
	display: flex;
	flex-direction: row;
	gap: 6px;
	overflow-y: hidden;
	overflow-x: scroll;
	padding-bottom: 10px;
	margin-bottom: 20px;
	scrollbar-color: #f3839f #b6d2e6;
	scrollbar-width: thin;
}
.ab10-variants::-webkit-scrollbar {
	width: 6px;
	height: 4px;
}
.ab10-variants::-webkit-scrollbar-track {
	border-radius: 20px;
}
.ab10-variants::-webkit-scrollbar-thumb {
	border-radius: 20px;
	background-color: #f3839f;
}

@media (min-width: 768px) {
	.ab10-variants {
		margin-bottom: 32px;
		padding-bottom: 0;
		overflow: hidden;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}
}

.ab10-variants__item {
}
.ab10-variants__inner {
	padding: 24px 14px;
	padding-bottom: 121px;
	display: flex;
	flex-direction: row;
	gap: 8px;
	border-radius: 16px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: 0.3s;
	position: relative;
	overflow: hidden;
}
@media (max-width: 768px) {
	.ab10-variants__inner {
		min-width: 182px;
		min-height: 256px;
	}
}

.ab10-variants__inner::after {
	position: absolute;
	content: "";
	left: 0;
	bottom: 0;
	width: 182px;
	height: 121px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	pointer-events: none;
}

.ab10-variants__inner:hover {
	transition: 0.3s;
}

.ab10-variants__fake-radio {
	display: block;
	width: 20px;
	height: 20px;
	border: 1px solid;
	border-radius: 50%;
	position: relative;
	flex-shrink: 0;
}
.ab10-variants__fake-radio::before {
	position: absolute;
	content: "";
	width: 10px;
	height: 10px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	display: none;
}
.ab10-variants__input:checked + .ab10-variants__inner .ab10-variants__fake-radio::before {
	display: block;
}
.ab10-variants__content {
	display: flex;
	flex-direction: column;
}
.ab10-variants__title {
	font-weight: 700;
	font-size: 20px;
	line-height: 20px;
	margin-bottom: 12px;
}
.ab10-variants__benefits {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
	min-height: 76px;
}
.ab10-variants__benefit {
	padding-left: 14px;
	font-weight: 500;
	font-size: 12px;
	line-height: 12px;
	color: #121212;
	position: relative;
}
.ab10-variants__benefit::before {
	position: absolute;
	content: "";
	width: 12px;
	height: 12px;
	left: 0;
	top: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.ab10-variants__price-wrapper {
	display: flex;
	align-items: center;
	gap: 4px;
}
.ab10-variants__old-price {
	font-weight: 500;
	font-size: 16px;
	line-height: 16px;
	opacity: 0.66;
	transform: translateY(1px);
	text-decoration: line-through;
}
.ab10-variants__price {
	font-weight: 600;
	font-size: 18px;
	line-height: 18px;
	color: #272727;
}

/* BLUE */
.ab10-variants__item--blue .ab10-variants__inner {
	background-color: #e4eef5;
}
.ab10-variants__item--blue .ab10-variants__inner:hover {
	border-color: #4dadf1;
}
.ab10-variants__item--blue .ab10-variants__fake-radio {
	border-color: #4dadf1;
}
.ab10-variants__item--blue .ab10-variants__fake-radio::before {
	background-color: #4dadf1;
}
.ab10-variants__item--blue .ab10-variants__input:checked + .ab10-variants__inner {
	border-color: #4dadf1;
}
.ab10-variants__item--blue .ab10-variants__title {
	color: #4dadf1;
}
.ab10-variants__item--blue .ab10-variants__old-price {
	color: #005189;
}
.ab10-variants__item--blue .ab10-variants__inner::after {
	background-image: url("../../img/ab10/cat-4.svg");
}
.ab10-variants__item--blue .ab10-variants__benefit::before {
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6L5 8L8.33333 4' stroke='%234DADF1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

/* YELLOW */
.ab10-variants__item--yellow .ab10-variants__inner {
	background-color: #fff0cf;
}
.ab10-variants__item--yellow .ab10-variants__inner:hover {
	border-color: #ffb803;
}
.ab10-variants__item--yellow .ab10-variants__fake-radio {
	border-color: #ffb803;
}
.ab10-variants__item--yellow .ab10-variants__fake-radio::before {
	background-color: #ffb803;
}
.ab10-variants__item--yellow .ab10-variants__input:checked + .ab10-variants__inner {
	border-color: #ffb803;
}
.ab10-variants__item--yellow .ab10-variants__title {
	color: #ffb803;
}
.ab10-variants__item--yellow .ab10-variants__old-price {
	color: #b98a44;
}
.ab10-variants__item--yellow .ab10-variants__inner::after {
	background-image: url("../../img/ab10/cat-5.svg");
}
.ab10-variants__item--yellow .ab10-variants__benefit::before {
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6L5 8L8.33333 4' stroke='%23DABA85' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

/* PINK */
.ab10-variants__item--pink .ab10-variants__inner {
	background-color: #fde4ea;
}
.ab10-variants__item--pink .ab10-variants__inner:hover {
	border-color: #f16e8e;
}
.ab10-variants__item--pink .ab10-variants__fake-radio {
	border-color: #f16e8e;
}
.ab10-variants__item--pink .ab10-variants__fake-radio::before {
	background-color: #f16e8e;
}
.ab10-variants__item--pink .ab10-variants__input:checked + .ab10-variants__inner {
	border-color: #f16e8e;
}
.ab10-variants__item--pink .ab10-variants__title {
	color: #f16e8e;
}
.ab10-variants__item--pink .ab10-variants__old-price {
	color: #da7088;
}
.ab10-variants__item--pink .ab10-variants__inner::after {
	background-image: url("../../img/ab10/cat-6.svg");
}
.ab10-variants__item--pink .ab10-variants__benefit::before {
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6L5 8L8.33333 4' stroke='%23F16E8E' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.ab10-input {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.ab10-input input {
	width: 100%;
	display: block;
	font-weight: 500;
	font-size: 16px;
	line-height: 36px;
	padding: 0;
	border: none;
	outline: none;
	border-bottom: 1px solid #b6d2e6;
	text-align: center;
}
.ab10-input input:hover,
.ab10-input input:active,
.ab10-input input:focus {
	border: none;
	outline: none;
	border-bottom: 1px solid #f16e8e;
	transition: 0.3s;
}

.ab10-input input::placeholder {
	color: #7b8186;
	font-weight: 500;
}
.ab10-input__error {
	color: red;
	font-size: 16px;
	line-height: 18px;
	text-align: center;
}

/*  */
.ab10-submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	background-color: #f3839f;
	border-radius: 100px;
	transition: 0.3s;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	line-height: 14px;
	position: relative;
    box-shadow: 0px 4px 10px rgb(245 160 181 / 50%);
}
.ab10-submit-btn span {
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.ab10-submit-btn.ab10-submit-btn--loading {
	color: transparent;
}
.ab10-submit-btn.ab10-submit-btn--loading span {
	display: block!important;
}
/*  */

.ab10-submit-btn:hover {
	background-color: #f16e8e;
	transition: 0.3s;
}

.ab10-payment-systems {
	margin: 12px auto 40px auto;
}

.ab10-companies {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

/* New payments methods */

.ab10-subscription--custom .ab10-companies {
    justify-content: space-around;
    margin-top: 12px;
}

.payments--custom .ab10-variants__title {
    margin-bottom: 0;
    transition: 0.3s;
    color: #696969;
}
.payments--custom .payments_item:hover .ab10-variants__title {
    color: #f3839f;
}

.payments--custom .payments_item {
    align-items: center;
}

.ab10-card-variants {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px;
    margin-left: auto;
    margin-right: 0;
    pointer-events: none;
    min-width: 264px;
}

.ab10-card-variants__text {
    font-size: 14px;
    line-height: 16px;
    color: #696969;
}
@media (max-width: 520px) {
    .payments--custom .ab10-variants__inner {
        flex-wrap: wrap;
        padding-left: 0;
        padding-right: 0;
    }
    .ab10-card-variants {
        flex-shrink: 0;
        min-width: unset;
    }
    
}

.payments--custom .ab10-variants__fake-radio {
    border-color: #f3839f;
}
.payments--custom .payments_item .ab10-variants__fake-radio::before {
    background-color: #f3839f;
}

.payments--custom .ab10-variants__input:checked + .ab10-variants__inner .ab10-variants__title {
    color: #f3839f;   
}
