@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

.widget.halink_home_product_tabs {
	margin: 0;
	padding: 0;
}

.vehicles {
	padding: 70px 0 80px;
	background: #fff;
	text-align: center;
}

.vehicles .title-block {
	margin: 0 0 36px;
	color: #000;
	font-family: "Roboto", sans-serif;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 1.5px;
	line-height: 1.3;
	text-transform: uppercase;
}

.vehicles .vehicles-type {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin: 0 0 48px;
	padding: 0;
	list-style: none;
}

.vehicles .vehicles-type__item {
	position: relative;
	margin: 0;
	padding: 10px 22px;
	border: 1px solid #c5a47e;
	color: #000;
	cursor: pointer;
	font-family: "Roboto", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.8px;
	line-height: 1.4;
	list-style: none;
	text-transform: uppercase;
	transition: color 0.35s ease, border-color 0.35s ease;
	user-select: none;
}

.vehicles .vehicles-type__item:hover {
	color: #c5a47e;
}

.vehicles .vehicles-type__item.active {
	border-color: transparent;
	color: #c5a47e;
}

.vehicles .vehicles-type__item.active::after {
	content: "";
	position: absolute;
	left: 22px;
	bottom: 6px;
	width: 52px;
	height: 3px;
	background: #c5a47e;
}

.vehicles .vehicles-info {
	position: relative;
	min-height: 120px;
}

.vehicles .vehicles-info-car {
	display: none;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	opacity: 0;
	visibility: hidden;
}

.vehicles .vehicles-info-car.active {
	display: grid;
	opacity: 1;
	visibility: visible;
	animation: vehiclesFadeIn 0.7s cubic-bezier(0.5, 0, 0, 1) both;
}

@keyframes vehiclesFadeIn {
	from {
		opacity: 0;
		transform: translate3d(0, 28px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.vehicles .vehicles-info-car__detail {
	display: block;
	min-width: 0;
	width: 100%;
	color: #000;
	text-align: left;
	text-decoration: none;
}

.vehicles .vehicles-info-car__detail:hover,
.vehicles .vehicles-info-car__detail:focus {
	color: #000;
	text-decoration: none;
}

.vehicles .vehicles-info-car__detail > div {
	position: relative;
	overflow: hidden;
	background: #f3f3f3;
}

.vehicles .vehicles-info-car__detail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.vehicles .vehicles-info-car__detail:hover img {
	transform: scale(1.04);
}

.vehicles .vehicles-arrow {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 42px;
	border: 1px solid #c5a47e;
	background: rgba(0, 0, 0, 0.18);
	transition: background 0.35s ease, transform 0.35s ease;
}

.vehicles .vehicles-info-car__detail:hover .vehicles-arrow {
	background: rgba(197, 164, 126, 0.45);
	transform: translateX(3px);
}

.vehicles .vehicles-arrow svg {
	display: block;
	width: 28px;
	height: 12px;
}

.vehicles .vehicles-info-car__detail label {
	display: block;
	margin: 16px 0 0;
	color: #000;
	cursor: pointer;
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.4px;
	line-height: 1.4;
	text-transform: uppercase;
}

.vehicles .vehicles__watch-all {
	display: inline-block;
	margin-top: 48px;
	padding: 10px 28px;
	border: 1px solid #c5a47e;
	color: #000;
	font-family: "Roboto", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 1.4;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.vehicles .vehicles__watch-all:hover,
.vehicles .vehicles__watch-all:focus {
	background: #c5a47e;
	border-color: #c5a47e;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 991px) {
	.vehicles {
		padding: 50px 0 60px;
	}

	.vehicles .vehicles-info-car,
	.vehicles .vehicles-info-car.active {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.vehicles .title-block {
		font-size: 22px;
		margin-bottom: 24px;
	}

	.vehicles .vehicles-type {
		flex-direction: column;
		gap: 12px;
		margin-bottom: 32px;
	}

	.vehicles .vehicles-type__item {
		width: 100%;
		text-align: center;
	}

	.vehicles .vehicles-type__item.active::after {
		left: 50%;
		width: 48px;
		transform: translateX(-50%);
	}

	.vehicles .vehicles-info-car,
	.vehicles .vehicles-info-car.active {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.vehicles .vehicles__watch-all {
		margin-top: 32px;
	}
}
