/* =============================================
   03_WIDGETS / w-tarif-card
   Карточка одного тарифа.
   ============================================= */

.tarifs-item {
	border-radius: 20px;
	background-color: var(--whiteColor);
	padding: 20px;
	transition: transform 0.3s;
	transform-origin: bottom;
}
.tarifs-item__toptop {
	border-radius: 10px;
	padding: 16px;
}
.tarifs-item__toptop.tarifs-item__toptop--gray {
	background-color: var(--grayColor);
}
.tarifs-item__toptop.tarifs-item__toptop--gray .tarifs-item__toptext {
	color: var(--greenColor5);
}
.tarifs-item__toptop.tarifs-item__toptop--green {
	background-color: var(--greenColor3);
	color: var(--whiteColor);
}
.tarifs-item__toptop.tarifs-item__toptop--black {
	background-color: #30332f;
	color: var(--whiteColor);
}
.tarifs-item__name {
	font-size: 24px;
	line-height: 125%;
	font-weight: 600;
}
.tarifs-item__name:not(:last-child) {
	margin-bottom: 10px;
}
.tarifs-item__toptext {
	font-size: 12px;
	line-height: 125%;
	font-weight: 100;
}
.tarifs-item__checkstitle {
	font-size: 16px;
	line-height: 125%;
}
.tarifs-item__checkstitle:not(:last-child) {
	margin-bottom: 20px;
}
.tarifs-item__checksrow:not(:last-child) {
	margin-bottom: 4px;
}
.tarifs-item__checkstop {
	display: flex;
	gap: 4px;
	align-items: center;
}
.tarifs-item__checkstop:not(:last-child) {
	margin-bottom: 4px;
}
.tarifs-item__checkstop span {
	font-size: 14px;
	line-height: 128.571429%;
}
.tarifs-item__checkstop::before {
	content: "";
	align-self: flex-start;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	background: url("../../assets/img/check.svg") 0 0/contain no-repeat;
}
.tarifs-item__checkstext {
	font-weight: 300;
	font-size: 12px;
	line-height: 125%;
	color: var(--greenColor5);
}
.tarifs-item__listblock {
	background-color: var(--grayColor);
	border-radius: 10px;
	padding: 10px;
}
.tarifs-item__listblock:not(:last-child) {
	margin-bottom: 20px;
}
.tarifs-item__listtop {
	font-size: 14px;
	line-height: 128.571429%;
	color: var(--greenColor5);
	font-weight: 300;
}
.tarifs-item__listtop:not(:last-child) {
	margin-bottom: 10px;
}
.tarifs-item__li {
	position: relative;
	padding-left: 21px;
	font-size: 14px;
	line-height: 128.571429%;
	font-weight: 300;
}
.tarifs-item__li::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 6px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: var(--mainColor);
}
.tarifs-item__foot {
	display: flex;
	row-gap: 20px;
	column-gap: 5px;
	align-items: center;
	justify-content: space-between;
}
.tarifs-item__price {
	font-weight: 500;
	color: var(--greenColor4);
}
.tarifs-item .arrowbutton.arrowbutton--green {
	white-space: nowrap;
}

/* ── Responsive ── */

@media (max-width: 74.99875em) {
	.tarifs-item__toptop:not(:last-child) {
		margin-bottom: 20px;
	}
	.tarifs .tarifs-item:not(:last-child) {
		margin-bottom: 20px;
	}
}
@media (max-width: 63.99875em) {
	.tarifs-item__top:not(:last-child) {
		margin-bottom: 32px;
	}
	.tarifs-item__price {
		font-size: 16px;
		line-height: 125%;
	}
}
@media (min-width: 63.99875em) {
	.tarifs-item {
		display: flex;
		gap: 32px;
	}
	.tarifs-item__top {
		flex: 1 1 50%;
	}
	.tarifs-item__bottom {
		flex: 1 1 50%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.tarifs-item__price {
		font-size: 18px;
		line-height: 127.777778%;
	}
}
@media (min-width: 74.99875em) {
	.tarifs-item {
		flex-direction: column;
	}
	.tarifs-item__top {
		flex: 0;
	}
	.tarifs-item__toptop {
		min-height: 132px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.tarifs-item__toptop:not(:last-child) {
		margin-bottom: 32px;
	}
	.tarifs-item__bottom {
		margin-top: auto;
		flex: 0;
	}
	.tarifs-item__foot {
		flex-direction: column;
		align-items: flex-start;
	}
	.tarifs {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
	}
	.tarifs .tarifs-item {
		flex: 0 1 calc((100% - 40px) / 3);
	}
}
@media (min-width: 89.99875em) {
	.tarifs-item__toptop {
		min-height: auto;
	}
	.tarifs-item__foot {
		align-items: center;
		flex-direction: row;
	}
}

/* ── Hover ── */

@media (any-hover: hover), (pointer: fine) {
	html:not([data-fls-touch]) .tarifs-item:hover {
		transform: scaleY(1.03);
	}
}
