/* YETI Finder Band: title left, Product Finder form middle, picture right */
.yeti-fb {
	position: relative;
	overflow: hidden;
	overflow: clip;
	margin-block: 24px;
	background: var(--yeti-card);
}
.yeti-fb__inner {
	display: grid;
	grid-template-columns: minmax(0, 290px) minmax(0, 1fr) minmax(0, 220px);
	align-items: center;
	gap: 28px;
	padding-block: 44px;
}
.yeti-fb__title {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--yeti-ink);
}
.yeti-fb__desc {
	margin: 0;
	font-size: 13.5px;
	color: var(--yeti-muted);
}
.yeti-fb__form {
	min-width: 0;
}
.yeti-fb__pic {
	align-self: end;
	margin-bottom: -44px; /* picture sits on the bottom edge of the band */
	text-align: right;
}
.yeti-fb__img {
	display: inline-block;
	width: 100%;
	max-width: 260px;
	height: auto;
}
.yeti-fb__inner--nopic {
	grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
}
@media (max-width: 1024px) {
	.yeti-fb__inner {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-block: 32px;
	}
	.yeti-fb__pic {
		display: none;
	}
}

/* Use YETI navy for the plugin's button (the plugin exposes these variables) */
.yeti-fb {
	--yfp-btn-bg: var(--yeti-navy);
	--yfp-btn-bg-hover: var(--yeti-navy-dark);
}
/* Very wide screens (1500px+): one row (3 questions + button). Narrower: the plugin wraps the button
   underneath, which keeps every select wide enough to read its placeholder. */
@media (min-width: 1500px) {
	.yeti-fb .yfp-finder-fields {
		flex-wrap: nowrap;
	}
	.yeti-fb .yfp-field {
		min-width: 0;
	}
	.yeti-fb .yfp-find-btn {
		flex: none;
	}
}

/* Phones: the plugin stacks the fields in a column but keeps "flex: 1 1 180px",
   which makes every field 180px TALL. Reset it inside the band. */
@media (max-width: 640px) {
	.yeti-fb .yfp-finder-fields {
		gap: 14px;
	}
	.yeti-fb .yfp-field {
		flex: none;
		min-width: 0;
		width: 100%;
	}
}
