/* Mobile app tab bar. Solid, no blur — tiny bold + backdrop-filter made labels look muddy. */
:root {
	--xxs-mtabbar-h: 52px;
}

.xxs-mtabbar {
	display: none;
}

@media (max-width: 991.98px) {
	body.xxs-has-mobile-tabbar {
		--xxs-sheet-bottom: calc(var(--xxs-mtabbar-h) + env(safe-area-inset-bottom, 0px));
	}

	body.xxs-has-mobile-tabbar #wrapper {
		padding-bottom: calc(var(--xxs-mtabbar-h) + 12px + env(safe-area-inset-bottom, 0px));
	}

	body.xxs-has-mobile-tabbar.has-auctions-sticky-cta #wrapper {
		padding-bottom: calc(var(--xxs-mtabbar-h) + 52px + env(safe-area-inset-bottom, 0px));
	}

	body.xxs-has-mobile-tabbar.has-auctions-sticky-cta.has-auctions-sticky-bid-status #wrapper {
		padding-bottom: calc(var(--xxs-mtabbar-h) + 52px + 34px + env(safe-area-inset-bottom, 0px));
	}

	.xxs-mtabbar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10040;
		height: calc(var(--xxs-mtabbar-h) + env(safe-area-inset-bottom, 0px));
		padding: 6px 4px calc(env(safe-area-inset-bottom, 0px) + 6px);
		background: #fff;
		border-top: 1px solid #ebebed;
		box-shadow: none;
		align-items: stretch;
		justify-content: space-around;
		font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	body.has-auctions-sticky-cta .xxs-mtabbar {
		border-top: none;
	}

	.xxs-mtab {
		flex: 1 1 0;
		min-width: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		padding: 0 2px;
		color: #8e9399;
		text-decoration: none !important;
		-webkit-tap-highlight-color: transparent;
		touch-action: manipulation;
		user-select: none;
		-webkit-user-select: none;
		transition: none;
		outline: none !important;
		box-shadow: none !important;
	}

	button.xxs-mtab {
		appearance: none;
		background: transparent;
		border: 0;
		cursor: pointer;
		font-family: inherit;
		font-size: inherit;
		line-height: inherit;
	}

	.xxs-mtab:hover,
	.xxs-mtab:focus,
	.xxs-mtab:active {
		color: #8e9399;
		text-decoration: none !important;
		outline: none !important;
		box-shadow: none !important;
	}

	.xxs-mtab__ico {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		width: 24px;
		height: 24px;
		line-height: 0;
		overflow: visible;
	}

	.xxs-mtab__ico .xxs-im-svg {
		width: 24px;
		height: 24px;
		display: block;
		color: inherit;
		stroke-width: 1.75;
	}

	/* Side-view car sits small in the 24 box — same glyph, just bigger. */
	.xxs-mtab[data-icon="car"] .xxs-mtab__ico .xxs-im-svg {
		width: 30px;
		height: 30px;
		margin: -3px;
		stroke-width: 1.7;
	}

	.xxs-mtab__lbl {
		display: block;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: 11px;
		font-weight: 600;
		letter-spacing: 0;
		line-height: 1.2;
		color: inherit;
	}

	.xxs-mtab.is-on {
		color: #6c98e1;
	}

	.xxs-mtab[href="/favorites"].is-on .xxs-mtab__ico .xxs-im-svg {
		fill: currentColor;
		stroke-width: 1.6;
	}

	.xxs-mtab:active .xxs-mtab__ico {
		transform: scale(0.94);
	}

	body.im-drawer-open .xxs-mtabbar,
	body.xxs-account-drawer-open .xxs-mtabbar,
	body.cfs-inv-filter-open .xxs-mtabbar {
		display: none !important;
	}
	body.cfs-inv-filter-open {
		--xxs-sheet-bottom: 0px;
	}

	body.auc-sheet-open .xxs-mtabbar {
		display: flex !important;
		z-index: 2147483010;
	}

	body.xxs-has-mobile-tabbar.has-auctions-sticky-cta .auctions-page {
		padding-bottom: 0 !important;
	}

	body.xxs-has-mobile-tabbar.has-auctions-sticky-cta #footer #footer-copyright {
		padding-bottom: 0 !important;
	}
}
