/* Shared vehicle map markers and popups. */
.tc-user-dot {
	position: relative;
	width: 22px;
	height: 22px;
	pointer-events: none;
}
.tc-user-dot__core {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	background: #4285f4;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.tc-user-dot__pulse {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(66, 133, 244, 0.35);
	transform-origin: center;
	animation: tc-user-dot-pulse 1.8s ease-out infinite;
}
@keyframes tc-user-dot-pulse {
	0% {
		transform: scale(0.6);
		opacity: 0.6;
	}
	80% {
		transform: scale(2.6);
		opacity: 0;
	}
	100% {
		transform: scale(2.6);
		opacity: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tc-user-dot__pulse {
		animation: none;
		opacity: 0.35;
		transform: scale(1.6);
	}
}
.tc-vehicle-chip-wrap {
	position: relative;
	display: inline-block;
	padding-bottom: 8px;
	cursor: pointer;
	transition: transform 0.15s ease;
}
.tc-vehicle-chip-wrap:hover {
	transform: scale(1.08);
}
.tc-vehicle-chip {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	background: #fff;
	color: #0e103d;
	border: 1.5px solid #0e103d;
	border-radius: 999px;
	font:
		700 13px/1 -apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
	transition:
		background-color 0.15s ease,
		color 0.15s ease,
		border-color 0.15s ease;
}
.tc-vehicle-chip-wrap::before,
.tc-vehicle-chip-wrap::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 0;
	height: 0;
	transform: translateX(-50%);
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
}
.tc-vehicle-chip-wrap::before {
	bottom: 0;
	border-top: 8px solid #0e103d;
}
.tc-vehicle-chip-wrap::after {
	bottom: 2px;
	border-top: 7px solid #fff;
	border-left-width: 5.5px;
	border-right-width: 5.5px;
}
.tc-vehicle-chip-wrap:hover .tc-vehicle-chip {
	background: #a61d3c;
	border-color: #a61d3c;
	color: #fff;
}
.tc-vehicle-chip-wrap:hover::before {
	border-top-color: #a61d3c;
}
.tc-vehicle-chip-wrap:hover::after {
	border-top-color: #a61d3c;
}
.gm-style .gm-style-iw-c {
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	max-width: none !important;
	max-height: 70vh !important;
	overflow: hidden !important;
}
.gm-style .gm-style-iw-d {
	overflow: hidden !important;
	padding: 0 !important;
	max-height: 70vh !important;
}
.gm-style .gm-style-iw-chr {
	display: none !important;
}
.gm-style .gm-style-iw-tc {
	display: none !important;
}
.tc-mapcard {
	width: 340px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #0e103d;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
	position: relative;
}
.tc-mapcard__hero {
	position: relative;
	width: 100%;
	aspect-ratio: 16/14.4;
	background: #eef1f3;
}
.tc-mapcard__hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tc-mapcard__close {
	position: absolute;
	top: 7px;
	right: 7px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	border: 0;
	padding: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #0e103d;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
	z-index: 2;
}
.tc-mapcard__close:hover {
	color: #a61d3c;
}
.tc-mapcard__body {
	padding: 10px 13px 13px;
}
.fac-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	background: #ffffff;
	color: #0e103d;
}
.fac-pill--preferred {
	background: #0e103d;
	color: #ffffff;
}
.fac-pill--preferred i {
	color: #ffd166;
}
.fac-pill--reviews i {
	color: #f59e0b;
}
.fac-pill--reviews .fac-pill__sep {
	color: #94a3b8;
	font-weight: 400;
}
.fac-pill--new {
	background: #0e103d;
	color: #ffffff;
}
.fac-pill--recent {
	background: #0ea5e9;
	color: #ffffff;
}
.fac-pill--reduced-fee {
	background: #0d7a32;
	color: #ffffff;
}
.tc-mapcard__badge-row {
	margin-bottom: 10px;
}
.tc-mapcard__title {
	font-size: 16px;
	line-height: 1.15;
	font-weight: 800;
	margin: 0 0 3px;
	color: #0e103d;
}
.tc-mapcard__sub {
	font-size: 12px;
	color: #3f4064;
	margin-bottom: 4px;
}
.tc-mapcard__rating {
	display: flex;
	align-items: center;
	gap: 3px;
	color: #a61d3c;
	font-size: 11px;
	margin-bottom: 8px;
}
.tc-mapcard__rating-count {
	color: #3f4064;
	margin-left: 5px;
}
.tc-mapcard__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 9px;
}
.tc-mapcard__addr {
	font-size: 12px;
	color: #0e103d;
	flex: 1 1 auto;
}
.tc-mapcard__usage {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid #b7b7c4;
	font-size: 11px;
	font-weight: 700;
	color: #0e103d;
	white-space: nowrap;
}
.tc-mapcard__divider {
	margin: 0 -13px 10px;
	border: 0;
	border-top: 1px solid #eef1f3;
}
.tc-mapcard__pricing {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3px;
	margin-bottom: 10px;
}
.tc-mapcard__price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	position: relative;
}
.tc-mapcard__price + .tc-mapcard__price::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12%;
	bottom: 12%;
	width: 1px;
	background: #eef1f3;
}
.tc-mapcard__price-amount {
	font-size: 16px;
	font-weight: 800;
	color: #0e103d;
	line-height: 1;
}
.tc-mapcard__price-period {
	font-size: 12px;
	color: #3f4064;
}
a.tc-mapcard__cta,
.gm-style a.tc-mapcard__cta,
.tc-mapcard a.tc-mapcard__cta {
	display: block;
	width: 100%;
	padding: 9px 12px;
	background: #a61d3c !important;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	transition: background-color 0.15s ease;
	box-sizing: border-box;
}
a.tc-mapcard__cta:hover,
a.tc-mapcard__cta:focus,
.gm-style a.tc-mapcard__cta:hover,
.gm-style a.tc-mapcard__cta:focus {
	background: #8a1731 !important;
	color: #fff !important;
}
.map-scroll-div {
	max-height: calc(70vh - 4px);
	overflow-y: auto;
}
@media (max-width: 767.98px) {
	.gm-style .gm-style-iw-c {
		min-width: 0 !important;
		max-height: 60vh !important;
	}
	.gm-style .gm-style-iw-d {
		min-width: 0 !important;
		max-height: 60vh !important;
	}
	.map-scroll-div {
		max-height: calc(60vh - 4px) !important;
	}
	.tc-mapcard {
		width: 170px !important;
		border-radius: 10px !important;
	}
	.tc-mapcard__hero {
		aspect-ratio: 16/10 !important;
	}
	.tc-mapcard__body {
		padding: 8px 11px 11px !important;
	}
	.tc-mapcard__sub {
		display: none !important;
	}
	.tc-mapcard__row {
		margin-bottom: 6px !important;
	}
	.tc-mapcard__divider {
		margin: 0 -11px 8px !important;
	}
	.tc-mapcard__pricing {
		grid-template-columns: 1fr !important;
		margin-bottom: 8px !important;
	}
	.tc-mapcard__price:nth-child(n + 2) {
		display: none !important;
	}
	.tc-mapcard__price-amount {
		font-size: 18px !important;
	}
	.tc-mapcard__price-period {
		font-size: 11px !important;
	}
	.tc-mapcard__price + .tc-mapcard__price::before {
		display: none !important;
	}
}
.tc-maplist {
	width: 380px;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #0e103d;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	position: relative;
}
.tc-maplist__header {
	padding: 18px 20px 12px;
	padding-right: 48px;
}
.tc-maplist__title {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 800;
	color: #0e103d;
	line-height: 1.2;
}
.tc-maplist__address {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #3f4064;
}
.tc-maplist__address i {
	color: #a61d3c;
}
.tc-maplist__items {
	display: flex;
	flex-direction: column;
	padding: 0 8px 8px;
	gap: 6px;
}
.tc-maplist__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 10px;
	text-decoration: none !important;
	color: inherit;
	transition: background-color 0.15s ease;
}
.tc-maplist__item:hover {
	background: #f6f1f3;
}
.tc-maplist__item.is-selected {
	background: #fbe0e5;
}
.tc-maplist__thumb {
	flex: 0 0 96px;
	width: 96px;
	height: 72px;
	border-radius: 8px;
	object-fit: cover;
	background: #eef1f3;
}
.tc-maplist__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.tc-maplist__badge-row {
	margin-bottom: 2px;
}
.tc-maplist__badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fbe0e5;
	color: #a61d3c;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.3px;
}
.tc-maplist__title-row {
	font-size: 14px;
	font-weight: 800;
	color: #0e103d;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tc-maplist__store {
	font-size: 12px;
	color: #3f4064;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tc-maplist__rating {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #0e103d;
}
.tc-maplist__rating i {
	color: #a61d3c;
}
.tc-maplist__rating-count {
	color: #3f4064;
	font-weight: 400;
}
.tc-maplist__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px;
	font-size: 11px;
	color: #3f4064;
	margin-top: 2px;
}
.tc-maplist__price-main {
	font-size: 15px;
	font-weight: 800;
	color: #0e103d;
}
.tc-maplist__price-unit {
	font-size: 12px;
	color: #3f4064;
}
.tc-maplist__price-rest {
	color: #3f4064;
}
.tc-maplist__chevron {
	flex: 0 0 auto;
	font-size: 22px;
	color: #a61d3c;
	line-height: 1;
	padding-left: 4px;
}
.tc-maplist__footer {
	padding: 12px 20px 18px;
	text-align: center;
	font-size: 12px;
	color: #3f4064;
}
.tc-maplist .tc-mapcard__close {
	top: 16px;
	right: 18px;
}
.tc-maplist__handle {
	display: none;
	width: 36px;
	height: 4px;
	border-radius: 2px;
	background: #d1d5db;
	margin: 8px auto 4px;
}
#tc-map-sheet {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(14, 16, 61, 0.4);
	display: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}
#tc-map-sheet.is-open {
	display: block;
	opacity: 1;
}
#tc-map-sheet .tc-map-sheet__card {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 50vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 20px 20px 0 0;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
	padding-bottom: max(12px, env(safe-area-inset-bottom));
	transform: translateY(100%);
	transition: transform 0.25s ease;
}
#tc-map-sheet.is-open .tc-map-sheet__card {
	transform: translateY(0);
}
#tc-map-sheet .tc-map-sheet__card::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	width: 36px;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.85);
	z-index: 10;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
#tc-map-sheet .tc-maplist {
	width: 100% !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
#tc-map-sheet .tc-maplist__handle {
	display: none !important;
}
#tc-map-sheet .tc-mapcard {
	width: 100% !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
/* Solo vehicle: give the hero more vertical room since the viewer is
   focused on this one car (no need to keep multi-card peek list compact).
   Hero is 16/10 (wide-landscape) so title/rating/address/pricing/CTA all
   fit above the fold without the sheet having to scroll. Sheet max-height
   lifts to calc(100vh - 40px) so the full card sits inside the viewport
   with a small gap at the top. The `.tc-mapcard` sits directly inside
   `.tc-map-sheet__card` (no wrapper — see openSheet in tc-map-markers.js). */
#tc-map-sheet .tc-map-sheet__card > .tc-mapcard:only-child .tc-mapcard__hero {
	aspect-ratio: 16/10 !important;
}
#tc-map-sheet .tc-map-sheet__card:has(> .tc-mapcard:only-child) {
	max-height: calc(100vh - 40px);
}
