/*
 * Tag any WPBakery element or widget with an extra CSS class of "market-lb"
 * or "market-ae" (via its own "Extra class name" / "CSS class" field) and it
 * is hidden automatically on the other market. The <body> class it matches
 * against is added server-side (see class-market-content-visibility.php),
 * so this never flashes the wrong market's content before hiding it.
 *
 * Note: unlike the [carbone_market_visibility] shortcode, this only hides
 * with CSS — the element and its assets (images, sliders, etc.) still load.
 * Prefer the shortcode for a full section where that matters.
 */
body.market-lb .market-ae {
	display: none !important;
}

body.market-ae .market-lb {
	display: none !important;
}

/*
 * The billing Country/Region field at checkout is already locked to the
 * resolved market and disabled (see class-market-checkout.php's
 * lock_country_field()) — for Lebanon, hide it entirely rather than show
 * a disabled dropdown the customer can't interact with, so they don't
 * wonder why it's stuck. Checkout still submits the correct country
 * server-side regardless (force_posted_country()), so this is purely
 * cosmetic and never affects the actual order.
 */
body.market-lb #billing_country_field {
	display: none !important;
}
