/*
 * Beely leasing button. Same shape as the contact buttons on the car page
 * (.kah-contact-option__button in kah-autohinnoittelu), with a black background. Override the
 * custom properties to restyle it without touching the rules.
 */
.kah-beelybtn {
	--kah-beelybtn-bg: #000;
	--kah-beelybtn-bg-hover: var(--color-gold, #d3a170);
	--kah-beelybtn-color: #fff;
	--kah-beelybtn-radius: 15px;

	/*
	 * !important: the theme's and the page builder's link styles outrank a single class. On the
	 * car page the button sits inside the theme's ".rahoituslaskuri__pyyda-tarjous a" rule, which
	 * would otherwise change its display, width limit, margin, padding, border and radius.
	 */
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 11px !important;
	border: none !important;
	border-radius: var(--kah-beelybtn-radius) !important;
	background-color: var(--kah-beelybtn-bg) !important;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	color: var(--kah-beelybtn-color) !important;
	font-size: 16px;
	text-align: center;
	text-decoration: none !important;
	white-space: normal !important;
	transition: background-color 0.3s ease;
}

.kah-beelybtn:hover,
.kah-beelybtn:focus {
	background-color: var(--kah-beelybtn-bg-hover) !important;
}

.kah-beelybtn:focus-visible {
	outline: 2px solid var(--kah-beelybtn-bg);
	outline-offset: 2px;
}

.kah-beelybtn__icon {
	flex: none;
	width: auto;
	height: 2.5rem;
	padding-right: 0.5rem;
	fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
	.kah-beelybtn {
		transition: none;
	}
}
