/**
 * TagDiv mobile header: menu (left) | logo (center) | search (right)
 * Matches ReHub layout on https://www.mymobileindia.com/devices/
 */

@media (max-width: 1018px) {
	.td-header-mobile-wrap .vc_row,
	.td-header-mobile-sticky-wrap .vc_row {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100%;
	}

	.td-header-mobile-wrap .vc_column:has(.tdb_mobile_menu),
	.td-header-mobile-sticky-wrap .vc_column:has(.tdb_mobile_menu) {
		order: 1;
		flex: 0 0 auto;
		width: auto !important;
		max-width: none;
	}

	.td-header-mobile-wrap .vc_column:has(.tdb_header_logo),
	.td-header-mobile-sticky-wrap .vc_column:has(.tdb_header_logo) {
		order: 2;
		flex: 1 1 auto;
		width: auto !important;
		max-width: none;
		min-width: 0;
		text-align: center;
	}

	.td-header-mobile-wrap .vc_column:has(.tdb_mobile_search),
	.td-header-mobile-sticky-wrap .vc_column:has(.tdb_mobile_search) {
		order: 3;
		flex: 0 0 auto;
		width: auto !important;
		max-width: none;
	}

	.td-header-mobile-wrap .tdb_header_logo .tdb-logo-a,
	.td-header-mobile-sticky-wrap .tdb_header_logo .tdb-logo-a {
		justify-content: center !important;
		align-items: center !important;
	}

	.td-header-mobile-wrap .tdb_header_logo .tdb-block-inner,
	.td-header-mobile-sticky-wrap .tdb_header_logo .tdb-block-inner {
		text-align: center;
	}

	/* Brand red icons — same as Devices header */
	.td-header-mobile-wrap .tdb_mobile_menu svg,
	.td-header-mobile-wrap .tdb_mobile_menu svg *,
	.td-header-mobile-wrap .tdb_mobile_search svg,
	.td-header-mobile-wrap .tdb_mobile_search svg *,
	.td-header-mobile-sticky-wrap .tdb_mobile_menu svg,
	.td-header-mobile-sticky-wrap .tdb_mobile_menu svg *,
	.td-header-mobile-sticky-wrap .tdb_mobile_search svg,
	.td-header-mobile-sticky-wrap .tdb_mobile_search svg * {
		fill: #e31e24 !important;
	}
}
