/* Homepage vehicle finder — glass card in hero. */

.goi-hero .goi-finder__card {
	width: 100%;
	padding: 20px 18px 16px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(18, 20, 26, 0.78);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.goi-finder__results-band {
	background: #0b0c10;
	padding: 0 0 8px;
}

.goi-finder__results-band:has(#goi-finder-results:not([hidden])) {
	padding: 8px 0 36px;
}

.goi-finder__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
}

.goi-finder__ico {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #e32636;
	color: #fff;
	box-shadow: 0 8px 20px rgba(227, 38, 54, 0.35);
}

.goi-finder__titles h2 {
	margin: 0;
	color: #fff;
	font-family: Cabin, sans-serif;
	font-size: 18px;
	font-weight: 800;
	font-style: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.2;
}

.goi-finder__titles p {
	margin: 4px 0 0;
	color: #b4b9c5;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.35;
}

.goi-finder__field {
	display: block;
	margin: 0 0 10px;
}

.goi-finder__field span {
	display: block;
	margin: 0 0 6px;
	color: #9aa0ad;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.goi-finder__field select {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	height: 46px;
	padding: 0 40px 0 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background-color: #16181f;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c5c9d3' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	color: #fff;
	font-family: Cabin, sans-serif;
	font-size: 14px;
	font-weight: 600;
}

.goi-finder__field select:disabled {
	opacity: 0.45;
}

.goi-finder__field select:focus {
	outline: 2px solid #e32636;
	outline-offset: 1px;
}

.goi-finder__submit {
	width: 100%;
	margin-top: 6px;
	height: 48px;
	border: 0;
	border-radius: 10px;
	background: #e32636;
	color: #fff;
	font-family: Cabin, sans-serif;
	font-size: 15px;
	font-weight: 800;
	font-style: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(227, 38, 54, 0.28);
}

.goi-finder__submit:hover,
.goi-finder__submit:focus-visible {
	background: #c81e2d;
}

.goi-finder__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.goi-finder__results {
	width: 100%;
}

.goi-finder__empty {
	margin: 0;
	padding: 16px 18px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(18, 20, 26, 0.7);
	color: #d5d8e0;
	text-align: center;
}

.goi-finder__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.goi-finder__item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 10px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(18, 20, 26, 0.78);
}

.goi-finder__thumb {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	background: #0e1014;
}

.goi-finder__thumb img {
	width: 88px;
	height: 66px;
	object-fit: cover;
	display: block;
}

.goi-finder__meta {
	min-width: 0;
}

.goi-finder__meta strong {
	display: block;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.goi-finder__meta span {
	display: block;
	margin-top: 4px;
	color: #e32636;
	font-size: 13px;
	font-weight: 800;
}

.goi-finder__go,
.goi-finder__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	background: #e32636;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.goi-finder__go:hover,
.goi-finder__more:hover {
	background: #c81e2d;
}

.goi-finder__more {
	margin-top: 12px;
	width: 100%;
}

@media (max-width: 640px) {
	.goi-hero .goi-finder__card {
		padding: 16px 14px 14px;
	}

	.goi-finder__item {
		grid-template-columns: 72px minmax(0, 1fr);
	}

	.goi-finder__go {
		grid-column: 1 / -1;
		width: 100%;
	}

	.goi-finder__thumb img {
		width: 72px;
		height: 54px;
	}
}
