/**
 * Desktop header logo: opaque and transparent share the same height.
 *
 * Astra prints a separate width for the transparent header
 * (.transparent-custom-logo img → 120px) while the site identity logo
 * is 220px. That shrinks the homepage logo. Desktop ≥922px only so
 * mobile (88px) and footer stay untouched.
 */

@media (min-width: 922px) {
	.ast-desktop #ast-desktop-header .site-logo-img .custom-logo-link img,
	.ast-desktop.ast-theme-transparent-header #ast-desktop-header .site-logo-img .transparent-custom-logo img {
		height: 48.4px;
		width: auto !important;
		max-width: none;
		object-fit: contain;
	}
}

/*
 * MacBook 14'' / 1440–1512: uma linha.
 * Logo | menu | bandeira Polylang | Solicitar proposta.
 * ≥1600px fica o header actual. Hamburger só ≤1199px.
 */
@media (min-width: 1200px) and (max-width: 1599.98px) {
	#ast-desktop-header .ast-builder-grid-row,
	#ast-desktop-header .site-header-primary-section-right,
	#ast-desktop-header .ast-builder-menu-1,
	#ast-desktop-header .main-header-menu {
		flex-wrap: nowrap;
		align-items: center;
	}

	#ast-desktop-header .site-header-primary-section-right {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: flex-end;
		gap: 8px;
	}

	#ast-desktop-header .ast-builder-menu-1 {
		flex: 0 1 auto;
		min-width: 0;
	}

	#ast-desktop-header .main-header-menu {
		justify-content: flex-end;
		gap: 0;
	}

	#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
		white-space: nowrap;
		padding-left: 12px;
		padding-right: 12px;
		font-size: 13px;
		letter-spacing: 0;
	}

	#ast-desktop-header .pll-parent-menu-item,
	#ast-desktop-header .ast-header-button-1 {
		flex-shrink: 0;
	}

	#ast-desktop-header .pll-parent-menu-item > .menu-link {
		padding-left: 10px;
		padding-right: 10px;
		white-space: nowrap;
	}

	#ast-desktop-header .ast-header-button-1 .ast-custom-button {
		white-space: nowrap;
		padding: 8px 14px;
	}
}
