/* One fixed mobile toolbar: city and links, plus search on catalog pages/scroll. */
@media (max-width: 767px) {
	:root {
		--bitshop-mobile-header-background:
			radial-gradient(circle at 92% 5%, rgba(63, 174, 255, .28), transparent 32%),
			linear-gradient(135deg, #0d1524 0%, #12346d 68%, #0b5cff 135%);
	}

	#bx_eshop_wrap {
		padding-top: 40px;
	}

	.bx-header,
	.bitshop-home-page .bx-header {
		background: var(--bitshop-mobile-header-background);
	}

	.bitshop-mobile-toolbar {
		position: fixed;
		top: var(--bitshop-admin-panel-bottom, 0px);
		right: 0;
		left: 0;
		z-index: 1100;
		display: block;
		background: var(--bitshop-mobile-header-background);
	}

	.bitshop-mobile-toolbar .bitshop-city-strip {
		display: block;
		min-height: 40px;
		background: transparent;
	}

	.bitshop-mobile-toolbar .bitshop-city-strip-inner {
		flex-wrap: nowrap;
		gap: 8px;
		min-height: 40px;
		height: 40px;
		padding: 0 12px;
	}

	.bitshop-mobile-toolbar .bitshop-city-selector {
		flex: 1 1 0;
		min-width: 0;
	}

	.bitshop-mobile-toolbar .bitshop-city-trigger {
		gap: 5px;
		width: 100%;
		min-width: 0;
		min-height: 40px;
		padding: 0;
		color: var(--bitshop-white);
		font-size: 12px;
		background: transparent;
	}

	.bitshop-mobile-toolbar .bitshop-city-label {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.bitshop-mobile-toolbar .bitshop-city-pin,
	.bitshop-mobile-toolbar .bitshop-city-chevron {
		flex-shrink: 0;
	}

	.bitshop-mobile-toolbar .bitshop-header-secondary-nav {
		flex: 0 0 auto;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 10px;
	}

	.bitshop-mobile-toolbar .bitshop-header-secondary-link {
		padding: 4px 0;
		color: var(--bitshop-white);
		font-size: 11px;
		white-space: nowrap;
		background: transparent;
	}

	.bitshop-mobile-toolbar .bitshop-city-dropdown {
		top: calc(var(--bitshop-admin-panel-bottom, 0px) + 40px);
		max-height: calc(100dvh - var(--bitshop-admin-panel-bottom, 0px) - 104px);
	}

	.bitshop-home-page .bitshop-mobile-search-anchor {
		display: block;
		grid-column: 1;
	}

	.bitshop-home-page .bitshop-mobile-search-anchor:empty:not([style]) {
		display: none;
	}

	body .bitshop-mobile-toolbar .bitshop-header-search,
	body.bitshop-home-page.bitshop-mobile-search-fixed .bitshop-mobile-toolbar .bitshop-header-search {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		z-index: auto;
		display: block;
		width: calc(100% - 32px);
		max-width: none;
		box-sizing: border-box;
		float: none;
		justify-self: stretch;
		margin: 0 16px;
		padding: 8px 0;
		background: transparent;
	}

	body .bitshop-mobile-toolbar .bitshop-header-search::before,
	body.bitshop-home-page.bitshop-mobile-search-fixed .bitshop-mobile-toolbar .bitshop-header-search::before {
		display: none;
	}

	.bitshop-mobile-toolbar .bitshop-header-search input {
		background-color: var(--bitshop-white);
	}
}
