/*
Theme Name: Houzez Child
Theme URI: http://www.favethemes.com/
Author: Favethemes
Author URI: http://www.favethemes.com/
Description: MY/SOLIA Somalia child theme — custom homepage for mysolia.so.
Version: 1.3.0
Tags: white, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, post-formats, theme-options, translation-ready
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: houzez
Template: houzez
*/

/* Parent styles are enqueued via functions.php — do not @import. */

/*
 * Desktop Elementor header: nav was white-on-white (transparent header styles).
 * Force readable black menu text.
 */
header .houzez-nav-menu-main .nav-link,
header .houzez-elementor-menu > .nav-item > .nav-link,
header .main-ele-nav .navbar-nav > .nav-item > a.nav-link,
.houzez-nav-menu-main-desktop-wrap .nav-link,
body.transparent-yes header .houzez-nav-menu-main .nav-link,
body.header-transparent-wrap header .nav-link,
.header-transparent-wrap .houzez-nav-menu-main .nav-link {
	color: #1c2d41 !important;
}

header .houzez-nav-menu-main .nav-link:hover,
header .houzez-elementor-menu > .nav-item > .nav-link:hover,
header .main-ele-nav .navbar-nav > .nav-item > a.nav-link:hover,
.houzez-nav-menu-main-desktop-wrap .nav-link:hover,
header .houzez-nav-menu-main .nav-link:focus,
header .houzez-nav-menu-main .nav-link:active {
	color: #57a0d3 !important;
}

/* Keep dropdown items dark (already OK, reinforce) */
header .houzez-nav-menu-main .dropdown-menu .dropdown-item,
header .houzez-elementor-menu .dropdown-item {
	color: #1c2d41 !important;
}

header .houzez-nav-menu-main .dropdown-menu .dropdown-item:hover {
	color: #57a0d3 !important;
}

/* Hide theme header search / banners on the custom Bayut-style homepage */
body.mysolia-bayut-home #desktop-header-search,
body.mysolia-bayut-home .advanced-search-nav,
body.mysolia-bayut-home .header-desktop-left .desktop-header-search,
body.mysolia-bayut-home .banner-inner-wrap,
body.mysolia-bayut-home .property-slider,
body.mysolia-bayut-home .header-media {
	display: none !important;
}

/* Mobile homepage: prevent theme chrome colliding with custom hero */
@media (max-width: 991px) {
	body.mysolia-bayut-home .header-mobile {
		z-index: 1002;
	}

	body.mysolia-bayut-home #main-wrap {
		overflow-x: clip;
	}

	body.mysolia-bayut-home .mysolia-home {
		position: relative;
		z-index: 1;
	}

	/*
	 * Elementor header (mobile):
	 * - Hide Create Listing (overflows / crowds logo)
	 * - Bigger, vertically centered login icon on the right
	 */
	header .elementor-widget-houzez-create-listing-btn,
	header .btn-create-listing,
	.elementor-location-header .elementor-widget-houzez-create-listing-btn,
	.elementor-location-header .btn-create-listing {
		display: none !important;
	}

	header .elementor-element-817e386,
	header .elementor-widget-houzez-login-modal,
	header .elementor-widget-houzez-login-modal .elementor-widget-container,
	header .login-register,
	header .login-link {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: 100%;
		margin: 0 !important;
		padding: 0 !important;
	}

	header .btn-icon-login-register {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		padding: 0 !important;
		margin: 0 !important;
		border-radius: 50% !important;
		border: 1.5px solid #1c2d41 !important;
		background: transparent !important;
		line-height: 1 !important;
		vertical-align: middle !important;
		position: relative !important;
		top: auto !important;
		transform: none !important;
	}

	header .btn-icon-login-register .houzez-icon,
	header .btn-icon-login-register i {
		font-size: 22px !important;
		line-height: 1 !important;
		margin: 0 !important;
		color: #1c2d41 !important;
	}

	/* Classic Houzez mobile header fallback */
	.header-mobile {
		align-items: center !important;
	}

	.header-mobile .header-mobile-right {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		min-width: 48px;
	}

	.header-mobile .toggle-button-right {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 44px !important;
		height: 44px !important;
		padding: 0 !important;
		margin: 0 !important;
		border-radius: 50% !important;
	}

	.header-mobile .toggle-button-right .houzez-icon {
		font-size: 22px !important;
		margin: 0 !important;
	}
}


