/* Global header adjustments (all pages, not just BuddyPress/bbPress). */

/* Hide the ThemeREX "BP Messages & Notifications" widget in the header. */
.bp_messages_notifications,
.widget_bp_messages_notifications {
	display: none !important;
}

/* Fix odwróconego wyglądu zakładek w popupie logowania/rejestracji */
.trx_addons_popup .trx_addons_tabs_titles li.trx_addons_tabs_title {
	background-color: var(--theme-color-navigate_bg)!important;
}
.trx_addons_popup .trx_addons_tabs_titles li.trx_addons_tabs_title.ui-tabs-active {
	background-color: var(--theme-color-content_bg)!important;
}

/* WooCommerce My Account — full-width content without theme sidebar. */
body.woocommerce-account .sidebar.widget_area {
	display: none !important;
}

body.woocommerce-account .content_wrap > .content,
body.woocommerce-account .content_container > .content,
body.woocommerce-account.sidebar_show .content_wrap > .content {
	width: 100% !important;
	max-width: var(--theme-var-page) !important;
	float: none !important;
}

/* Menu trzech kropek — lista tuż pod ikoną, bez przerwy łapiącej mouseleave. */
.sc_layouts_menu_nav > li.menu-collapse > ul {
	top: 100% !important;
	margin-top: 0;
}

.sc_layouts_menu_nav > li.menu-collapse > ul::before {
	content: "";
	position: absolute;
	top: -12px;
	right: 0;
	left: 0;
	height: 12px;
}

.sc_layouts_menu_nav > li.menu-collapse.ostrefa-collapse-open > ul {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto;
	animation: none !important;
}
