/* =============================================
   02_UI_COMPONENTS / ui-button-arrow
   Кнопка с иконкой-стрелкой.
   Варианты: --white, --green
   ============================================= */

.arrowbutton {
	display: inline-flex;
	flex-direction: row-reverse;
	border-radius: 10px;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	padding: 14px 28px;
	gap: 8px;
	letter-spacing: 0.015em;
	outline: 2px solid transparent;
	transition: color 0.3s, outline-color 0.3s, background-color 0.3s;
}
.arrowbutton::before {
	font-size: 24px;
	width: 24px;
	flex: 0 0 24px;
	height: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 400;
}

/* ── Вариант: White ── */

.arrowbutton.arrowbutton--white {
	font-weight: 500;
	background-color: var(--whiteColor);
	color: var(--greenColor4);
}
.arrowbutton.arrowbutton--white:active {
	outline-color: #089264;
	color: var(--greenColor5);
}
.arrowbutton.arrowbutton--white._disabled {
	pointer-events: none;
	color: var(--greenColor5);
}

/* ── Вариант: Green ── */

.arrowbutton.arrowbutton--green {
	background-color: var(--greenColor4);
	color: var(--whiteColor);
	font-size: 14px;
	line-height: 128.571429%;
	padding: 10px;
}
.arrowbutton.arrowbutton--green::before {
	font-size: 16px;
}
.arrowbutton.arrowbutton--green:active {
	outline-color: rgba(8, 146, 100, 0.2);
}
.arrowbutton.arrowbutton--green._disabled {
	pointer-events: none;
	background-color: var(--greenColor5);
}

/* ── Responsive ── */

@media (max-width: 63.99875em) {
	.tarifs-item .arrowbutton.arrowbutton--green {
		font-size: 12px;
		line-height: 125%;
	}
}

/* ── Hover ── */

@media (any-hover: hover), (pointer: fine) {
	html:not([data-fls-touch]) .arrowbutton.arrowbutton--white:hover {
		color: var(--greenColor2);
	}
	html:not([data-fls-touch]) .arrowbutton.arrowbutton--white:active:hover {
		color: var(--greenColor5);
	}
	html:not([data-fls-touch]) .arrowbutton.arrowbutton--green:hover {
		background-color: var(--greenColor3);
	}
	html:not([data-fls-touch]) .arrowbutton.arrowbutton--green:active:hover {
		background-color: var(--greenColor4);
	}
}
