/* ==========================================================================
   V6.7.12 — restored tabbed homepage finder presentation.
   This file is loaded last. It changes only the homepage finder and preserves
   the current real inventory logic, mobile hero, bookings, catalog and pages.
   ========================================================================== */

main.wt-home .wt-tabbed-finder {
	position: relative;
	z-index: 2;
	background: #fff;
}

main.wt-home .wt-tabbed-finder .wt-container {
	max-width: 70rem;
}

main.wt-home .wt-tabbed-finder__panel {
	overflow: hidden;
	border: 1px solid rgba( 17, 62, 98, .14 );
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 48px rgba( 6, 36, 64, .15 );
}

/* The parent theme supplies the small “Find the right tire” top strip. */
main.wt-home .wt-tabbed-finder__tablist {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	border-bottom: 1px solid #dfe6ed;
	background: #fff;
}

main.wt-home .wt-tabbed-finder__tab {
	position: relative;
	min-height: 64px;
	padding: 15px 12px;
	border: 0;
	border-right: 1px solid #edf1f4;
	background: transparent;
	color: #53606c;
	font: inherit;
	font-size: .82rem;
	font-weight: 900;
	letter-spacing: .025em;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
}

main.wt-home .wt-tabbed-finder__tab:last-child {
	border-right: 0;
}

main.wt-home .wt-tabbed-finder__tab::after {
	position: absolute;
	right: 14%;
	bottom: 0;
	left: 14%;
	height: 4px;
	border-radius: 999px 999px 0 0;
	background: transparent;
	content: "";
}

main.wt-home .wt-tabbed-finder__tab:hover,
main.wt-home .wt-tabbed-finder__tab:focus-visible,
main.wt-home .wt-tabbed-finder__tab.is-active,
main.wt-home .wt-tabbed-finder__tab[aria-selected="true"] {
	color: #083f6c;
}

main.wt-home .wt-tabbed-finder__tab.is-active::after,
main.wt-home .wt-tabbed-finder__tab[aria-selected="true"]::after {
	background: #ff6719;
}

main.wt-home .wt-tabbed-finder__body {
	padding: 24px 28px 28px;
	background:
		radial-gradient( circle at 100% 0%, rgba( 202, 235, 255, .46 ), transparent 45% ),
		linear-gradient( 135deg, #fff 0%, #f8fbfd 68%, #fff3ec 100% );
}

main.wt-home .wt-tabbed-finder__body[hidden] {
	display: none;
}

main.wt-home .wt-tabbed-finder__intro {
	margin: 0 0 18px;
}

main.wt-home .wt-tabbed-finder__intro h3 {
	margin: 3px 0 5px;
	color: #083f6c;
	font-size: clamp( 1.35rem, 2.2vw, 2rem );
	line-height: 1.15;
}

main.wt-home .wt-tabbed-finder__intro > p:last-child {
	display: block;
	max-width: 58rem;
	margin: 0;
	color: #5d6b78;
	font-size: .92rem;
	line-height: 1.55;
}

main.wt-home .wt-tabbed-finder__inventory-form {
	padding: 18px;
	border: 1px solid #dce5ec;
	border-radius: 16px;
	background: rgba( 255, 255, 255, .86 );
	box-shadow: none;
}

main.wt-home .wt-tabbed-finder__size-form {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) auto auto;
	align-items: end;
	gap: 16px;
	padding: 20px;
	border: 1px solid #dce5ec;
	border-radius: 16px;
	background: rgba( 255, 255, 255, .9 );
}

main.wt-home .wt-tabbed-finder__size-stat {
	display: grid;
	min-width: 118px;
	padding: 9px 14px;
	border-left: 3px solid #ff6719;
}

main.wt-home .wt-tabbed-finder__size-stat strong {
	color: #083f6c;
	font-size: 1.3rem;
	line-height: 1;
}

main.wt-home .wt-tabbed-finder__size-stat span {
	margin-top: 4px;
	color: #667481;
	font-size: .72rem;
	font-weight: 800;
}

main.wt-home .wt-tabbed-finder__size-form .wt-btn {
	min-height: 52px;
	white-space: nowrap;
}

@media ( min-width: 768px ) {
	main.wt-home .wt-finder.wt-invfinder.wt-tabbed-finder {
		margin-top: 0;
		padding-top: 2.5rem;
		padding-bottom: 1.5rem;
	}
}

@media ( max-width: 767px ) {
	main.wt-home .wt-tabbed-finder {
		margin-top: 0;
		padding-top: 26px;
	}

	main.wt-home .wt-tabbed-finder .wt-container {
		padding-inline: 12px;
	}

	main.wt-home .wt-tabbed-finder__panel {
		border-radius: 16px;
		box-shadow: 0 10px 28px rgba( 6, 36, 64, .11 );
	}

	main.wt-home .wt-tabbed-finder__tab {
		min-height: 58px;
		padding: 11px 5px;
		font-size: .64rem;
		line-height: 1.25;
		letter-spacing: 0;
	}

	main.wt-home .wt-tabbed-finder__body {
		padding: 18px 14px 20px;
	}

	main.wt-home .wt-tabbed-finder__intro {
		margin-bottom: 14px;
	}

	main.wt-home .wt-tabbed-finder__intro h3 {
		font-size: 1.35rem;
	}

	main.wt-home .wt-tabbed-finder__intro > p:last-child {
		display: block;
		font-size: .82rem;
	}

	main.wt-home .wt-tabbed-finder__inventory-form {
		padding: 14px;
	}

	main.wt-home .wt-tabbed-finder__size-form {
		grid-template-columns: minmax( 0, 1fr );
		align-items: stretch;
		gap: 12px;
		padding: 14px;
	}

	main.wt-home .wt-tabbed-finder__size-stat {
		grid-template-columns: auto 1fr;
		align-items: baseline;
		gap: 8px;
		min-width: 0;
		padding: 7px 10px;
	}

	main.wt-home .wt-tabbed-finder__size-form .wt-btn {
		width: 100%;
	}
}

@media ( max-width: 390px ) {
	main.wt-home .wt-tabbed-finder__tab {
		font-size: .59rem;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	main.wt-home .wt-tabbed-finder__tab,
	main.wt-home .wt-tabbed-finder__tab::after {
		transition: none;
	}
}
