/* Legacy Pepper header geometry. */
.ast-hfb-header .site-header {
	margin-inline: 0 !important;
}

@media (min-width: 922px) {
	.ast-hfb-header .site-header {
		width: auto;
		margin-inline: 46px !important;
	}

	.ast-hfb-header .site-header .custom-logo {
		width: 100px !important;
		max-width: 100px !important;
	}
}

@media (min-width: 1200px) {
	#ast-desktop-header .ast-grid-center-col-layout {
		grid-template-columns: 16.5% auto 1fr;
	}
}

@media (max-width: 921px) {
	#ast-mobile-header .ast-builder-grid-row {
		padding-inline: 10px;
	}

	#ast-mobile-header .custom-logo {
		width: 100px !important;
		max-width: 100px !important;
	}

	#ast-mobile-header .site-header-primary-section-right {
		gap: 0 !important;
	}

	#ast-mobile-header .site-header-primary-section-right > .ast-builder-layout-element:first-child {
		flex: 0 0 36px;
		width: 36px;
		padding: 0;
	}

	#ast-mobile-header .main-header-menu-toggle {
		width: 36px;
		height: 36px;
		min-width: 36px;
		min-height: 36px;
		padding: 6px !important;
	}

	#ast-mobile-header .ast-header-button-1 {
		flex: 0 0 auto;
		width: auto;
	}
}

@media (max-width: 544px) {
	#ast-mobile-header .ast-header-button-1 {
		flex: 0 0 50px;
		width: 50px;
	}

	#ast-mobile-header .pepper-login-dropdown__toggle {
		width: 40px !important;
		height: 40px !important;
	}
}
