/*
 * Mobilates header 3427: mega menu, member pill, account menu and mobile menu.
 * Moved from page 3436 and Customizer Additional CSS on 23/11/2026 (same order as before).
 * Loaded by functions.php in the head, only where header 3427 is shown.
 */

/* From Customizer Additional CSS (account menu and mobile head) */
@media (max-width: 1366px) {
  html body header[data-elementor-id="3427"] .mbh-account-wrap { position: relative !important; z-index: 10130 !important; overflow: visible !important; }
  html body header[data-elementor-id="3427"] .mbh-account-menu { position: absolute !important; inset: calc(100% + 8px) 0px auto auto !important; margin: 0px !important; z-index: 10160 !important; }
  html body header[data-elementor-id="3427"].is-mobile-open .mbh-account-wrap { z-index: 10140 !important; }
  html body header[data-elementor-id="3427"].is-mobile-open .mbh-account-menu { right: 0px !important; left: auto !important; transform-origin: right top !important; z-index: 10170 !important; }
  html body header[data-elementor-id="3427"].is-mobile-open .mbh-account-wrap { }
  html body header[data-elementor-id="3427"].is-mobile-open .mbh-mobile-head { position: fixed !important; top: 0px !important; left: 0px !important; right: 0px !important; z-index: 10120 !important; }
  body.admin-bar header[data-elementor-id="3427"].is-mobile-open .mbh-mobile-head { top: 32px !important; }
  html body header[data-elementor-id="3427"].is-mobile-open .elementor-element-b1000005 .mbh-account-wrap .mbh-account-toggle > span:nth-child(2), html body header[data-elementor-id="3427"].is-mobile-open .elementor-element-b1000005 .mbh-account-wrap .mbh-account > span:nth-child(2) { font-size: 15px !important; font-weight: 700 !important; }
  html body header[data-elementor-id="3427"].is-mobile-open .elementor-element-b1000005 .mbh-account-wrap .mbh-account-toggle > span:nth-child(2)::after, html body header[data-elementor-id="3427"].is-mobile-open .elementor-element-b1000005 .mbh-account-wrap .mbh-account > span:nth-child(2)::after { content: none !important; }
  html body header[data-elementor-id="3427"] .elementor-element-b1000005 .mbh-account-wrap, html body header[data-elementor-id="3427"] .elementor-element-b1000005 .mbh-account-wrap .mbh-account, html body header[data-elementor-id="3427"] .elementor-element-b1000005 .mbh-account-wrap .mbh-account-toggle { }
  html body header[data-elementor-id="3427"] .elementor-element-b1000005 .mbh-account, html body header[data-elementor-id="3427"] .elementor-element-b1000005 .mbh-account-toggle { overflow: visible !important; flex-wrap: nowrap !important; }
  html body header[data-elementor-id="3427"] .elementor-element-b1000005 .mbh-account > span:nth-child(2), html body header[data-elementor-id="3427"] .elementor-element-b1000005 .mbh-account-toggle > span:nth-child(2) { overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important; }
  html body header[data-elementor-id="3427"] .mbh-account-toggle .mbh-avatar, html body header[data-elementor-id="3427"] .mbh-account .mbh-avatar, html body header[data-elementor-id="3427"] .mbh-account-toggle .mbh-toggle-chevron { flex: 0 0 auto !important; }
}
@media (max-width: 782px) {
  body.admin-bar header[data-elementor-id="3427"].is-mobile-open .mbh-mobile-head { top: 46px !important; }
}
@media (max-width: 520px) {
  html body header[data-elementor-id="3427"] .elementor-element-b1000005 .mbh-account-wrap .mbh-account-toggle > span:nth-child(2) { font-size: 11.5px !important; }
  html body header[data-elementor-id="3427"] .elementor-element-b1000005 .mbh-account-wrap .mbh-account-toggle > span:nth-child(2)::after { content: none !important; }
  html body header[data-elementor-id="3427"].is-mobile-open .elementor-element-b1000005 .mbh-account-wrap .mbh-account-toggle > span:nth-child(2), html body header[data-elementor-id="3427"].is-mobile-open .elementor-element-b1000005 .mbh-account-wrap .mbh-account > span:nth-child(2) { font-size: 15px !important; font-weight: 700 !important; }
}
@media (max-width: 340px) {
  html body header[data-elementor-id="3427"]:not(.is-mobile-open) .mbh-account-toggle > span:nth-child(2), html body header[data-elementor-id="3427"]:not(.is-mobile-open) .mbh-account > span:nth-child(2) { display: none !important; }
  html body header[data-elementor-id="3427"]:not(.is-mobile-open) .mbh-account-toggle, html body header[data-elementor-id="3427"]:not(.is-mobile-open) .mbh-account { gap: 4px !important; padding-inline: 7px !important; }
}
body:not(.elementor-editor-active) header[data-elementor-id="3427"] { margin-bottom: 0px !important; }
body:not(.elementor-editor-active) header[data-elementor-id="3427"] + :is([data-elementor-type="wp-page"], .elementor-location-single, .elementor-location-archive, main#content, .site-main) { margin-top: 0px !important; padding-top: 0px !important; }
body:not(.elementor-editor-active) header[data-elementor-id="3427"] + :is([data-elementor-type="wp-page"], .elementor-location-single, .elementor-location-archive, main#content, .site-main) > :first-child { margin-top: 0px !important; }
body:not(.elementor-editor-active) header[data-elementor-id="3427"] + :is([data-elementor-type="wp-page"], .elementor-location-single, .elementor-location-archive) > .e-con:first-child:has(.mobilates-unified-hero) { --margin-top: 0px !important; --padding-top: 0px !important; margin-top: 0px !important; padding-top: 0px !important; }
body:not(.elementor-editor-active) header[data-elementor-id="3427"] + :is([data-elementor-type="wp-page"], .elementor-location-single, .elementor-location-archive) > .e-flexbox-base:first-child:has(.mobilates-unified-hero) { margin-top: 0px !important; padding-top: 0px !important; }

/* From page 3436 (Header Mega CSS) */
header[data-elementor-id="3427"], header[data-elementor-id="3427"] * { box-sizing: border-box; }
header[data-elementor-id="3427"] { --p: #d9238f; --p2: #c0177f; --v: #272262; --i: #25223b; --m: #6b6780; --l: #eaddea; --pearl: #fffafe; position: relative; z-index: 1000; background: rgb(255, 255, 255); box-shadow: rgba(39, 34, 98, 0.055) 0px 8px 28px; font-family: Mulish, Arial, sans-serif; font-weight: 400; }
header[data-elementor-id="3427"]::after { content: ""; position: absolute; inset: auto 0px 0px; height: 4px; background: linear-gradient(90deg,var(--p),#ef5cad 52%,var(--v)); }
header[data-elementor-id="3427"] a:focus-visible, header[data-elementor-id="3427"] button:focus-visible { outline: rgb(255, 255, 255) solid 3px !important; outline-offset: 2px !important; box-shadow: 0 0 0 6px var(--v) !important; }
.mbh-account-wrap { position: relative; order: -1; }
.mbh-account, .mbh-account-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 11px; border: 1px solid rgb(227, 223, 234); border-radius: 999px; background: rgb(253, 232, 244); font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.2; cursor: pointer; color: var(--v) !important; text-decoration: none !important; }
.mbh-account:hover, .mbh-account-toggle:hover { background: rgb(253, 232, 244); color: var(--p2) !important; }
.mbh-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--v); color: rgb(255, 255, 255); font-family: inherit; font-size: 12px; font-weight: 700; }
.mbh-live { width: 7px; height: 7px; border-radius: 50%; background: rgb(47, 157, 107); }
.mbh-account-menu { position: absolute; top: calc(100% + 9px); right: 0px; z-index: 1020; width: 270px; padding: 9px; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(5px); border: 1px solid var(--l); border-radius: 17px; background: rgb(255, 255, 255); box-shadow: rgba(39, 34, 98, 0.16) 0px 18px 48px; }
.mbh-account-wrap:has(.mbh-account-toggle[aria-expanded="true"]) .mbh-account-menu, .mbh-account-menu.open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
.mbh-account-head { padding: 10px 10px 11px; border-bottom: 1px solid rgb(240, 231, 239); }
.mbh-account-head strong { display: block; color: var(--v); font-family: inherit; font-size: 14px; font-weight: 700; }
.mbh-account-head span { display: block; margin-top: 2px; color: var(--m); font-family: inherit; font-size: 12px; font-weight: 400; }
.mbh-account-menu a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 9px 10px; border-radius: 10px; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--i) !important; text-decoration: none !important; }
.mbh-account-menu a:hover { background: rgb(253, 232, 244); color: var(--p2) !important; }
.mbh-account-menu .signout { margin-top: 5px; border-top: 1px solid rgb(240, 231, 239); border-radius: 0px; padding-top: 11px; }
@media (max-width: 1559px) and (min-width: 1367px) {
  .mbh-account, .mbh-account-toggle { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  header[data-elementor-id="3427"] * { scroll-behavior: auto !important; transition: none !important; animation: auto ease 0s 1 normal none running none !important; }
}
@media (min-width: 1367px) {
  html body header[data-elementor-id="3427"] .mbh-account > span:nth-child(2), html body header[data-elementor-id="3427"] .mbh-account-toggle > span:nth-child(2) { font-size: 16px !important; }
}
header[data-elementor-id="3427"] .mbh-account-toggle .mbh-toggle-chevron { display: inline-flex; flex: 0 0 14px; align-items: center; justify-content: center; margin: 0px 4px 0px 1px; }
header[data-elementor-id="3427"] { --p: #d9238f; --p2: #c0177f; --v: #272262; --i: #25223b; --m: #6b6780; --l: #eaddea; --pearl: #fffafe; }
header[data-elementor-id="3427"] .mbh-account-menu { max-width: calc(-24px + 100vw); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; }
header[data-elementor-id="3427"] .mbh-account-menu[hidden] { display: none !important; }
header[data-elementor-id="3427"] .mbh-account-menu a { min-height: 44px; }
header[data-elementor-id="3427"] .mbh-account-menu .mbh-dashboard-link { font-weight: 800 !important; }
header[data-elementor-id="3427"] .mbh-account-menu a[aria-current="page"] { background: rgb(253, 232, 244); color: rgb(39, 34, 98) !important; }
header[data-elementor-id="3427"] .mbh-account-menu a:focus-visible, header[data-elementor-id="3427"] .mbh-account-toggle:focus-visible { outline: rgb(39, 34, 98) solid 3px; outline-offset: 2px; }
header[data-elementor-id="3427"] .mbh-account-toggle .mbh-toggle-chevron { display: inline-flex; align-items: center; justify-content: center; margin-left: 1px; color: rgb(39, 34, 98) !important; font-size: 10px !important; line-height: 1 !important; }
header[data-elementor-id="3427"] .mbh-chevron-ico--close { display: none; }
header[data-elementor-id="3427"] .mbh-account-toggle[aria-expanded="true"] .mbh-chevron-ico--down { display: none; }
header[data-elementor-id="3427"] .mbh-account-toggle[aria-expanded="true"] .mbh-chevron-ico--close { display: inline-flex; }
header[data-elementor-id="3427"] .mbh-account-menu a { display: grid !important; grid-template-columns: 26px minmax(0px, 1fr) 18px !important; align-items: center !important; column-gap: 10px !important; min-height: 46px !important; }
header[data-elementor-id="3427"] .mbh-account-icon { display: flex !important; align-items: center !important; justify-content: center !important; width: 26px !important; height: 26px !important; color: rgb(192, 23, 127) !important; font-size: 15px !important; line-height: 1 !important; }
header[data-elementor-id="3427"] .mbh-account-chevron { display: flex !important; align-items: center !important; justify-content: center !important; width: 18px !important; height: 18px !important; color: rgb(113, 107, 130) !important; font-size: 10px !important; line-height: 1 !important; }
header[data-elementor-id="3427"] .mbh-account-menu a:hover .mbh-account-icon, header[data-elementor-id="3427"] .mbh-account-menu a:focus-visible .mbh-account-icon { color: rgb(39, 34, 98) !important; }
header[data-elementor-id="3427"] .mbh-account, header[data-elementor-id="3427"] .mbh-account-toggle { background: rgb(253, 232, 244) !important; border-color: rgb(240, 197, 222) !important; color: rgb(39, 34, 98) !important; }
header[data-elementor-id="3427"] .mbh-account:is(:hover, :focus, :focus-visible, :active), header[data-elementor-id="3427"] .mbh-account-toggle:is(:hover, :focus, :focus-visible, :active), header[data-elementor-id="3427"] .mbh-account-toggle[aria-expanded="true"] { background: rgb(248, 213, 233) !important; border-color: rgb(232, 191, 215) !important; color: rgb(39, 34, 98) !important; }
header[data-elementor-id="3427"] .mbh-account-menu a:is(:hover, :focus, :focus-visible, :active) { background: rgb(253, 232, 244) !important; color: rgb(39, 34, 98) !important; }
header[data-elementor-id="3427"] .mbh-account-wrap:has(.mbh-account-toggle[aria-expanded="true"])::before { content: ""; position: absolute; left: 0px; right: 0px; top: 100%; background: transparent; }
/* Mobile-menu extras stay hidden until the menu is opened (the header script moves them into the menu and shows them then). */
header[data-elementor-id="3427"]:not(:has(.e-n-menu-toggle[aria-expanded="true"])) :is(.mbh-native-mobile-trial,.mbh-mobile-extra,.mbh-native-mobile-backdrop){display:none!important}
