/* ALFARI Theme 6.38.63 – navigation, CTA hierarchy and overlay safety. */

body:not(.alfari-app-mode) .site-header{height:64px!important}
body:not(.alfari-app-mode) .header-row{min-height:64px!important;height:64px!important}
body:not(.alfari-app-mode) .alfari-logo-horizontal-header{max-height:54px!important;width:auto!important}
body:not(.alfari-app-mode) #primary-nav>.alfari-generation-one-menu>li>a{min-height:44px!important;padding-block:8px!important}
body:not(.alfari-app-mode) #primary-nav>.alfari-generation-one-menu{align-items:center!important}
body:not(.alfari-app-mode) .alfari-premium-nav-direct{display:none!important}

body.home .alfari-home-hero-actions .alfari-home-primary-cta{background:#d8f247!important;color:#15191c!important;-webkit-text-fill-color:#15191c!important;border-color:#b8d12d!important}
body.home .alfari-home-hero-actions .alfari-home-secondary-cta{background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:2px solid #d8f247!important;box-shadow:none!important}
body.home .alfari-home-account-links{margin:.8rem 0 0!important;color:#eef1f2!important;font-size:.95rem!important}
body.home .alfari-home-account-links a{color:#eef1f2!important;-webkit-text-fill-color:#eef1f2!important;text-decoration:underline!important;text-underline-offset:3px!important}
body.home .alfari-home-account-links .alfari-home-registration-link{font-weight:850!important}

body.alfari-registration-route [data-alfari-speaking-avatar][data-avatar-context="personal"],
body.alfari-checkout-route [data-alfari-speaking-avatar][data-avatar-context="personal"],
body.page-checkout [data-alfari-speaking-avatar][data-avatar-context="personal"],
body.woocommerce-checkout [data-alfari-speaking-avatar][data-avatar-context="personal"],
[data-alfari-speaking-avatar][data-avatar-context="personal"][data-alfari-overlay-safe-hidden="true"]{display:none!important}

body.home.alfari-trainer-interacted [data-alfari-speaking-avatar][data-avatar-context="personal"]>.alfari-avatar-toggle{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:13px!important}

.alfari-member-form-page[data-alfari-member-access="register"] .alfari-member-form-output>:is(h1,h2),
.alfari-member-form-page[data-alfari-member-access="register"] .alfari-member-form-output>div:first-child>:is(h1,h2):first-child{display:none!important}
.alfari-member-form-page[data-alfari-member-access="register"] .alfari-login-lead{max-width:44rem!important;margin-bottom:1rem!important;color:#4b5563!important;-webkit-text-fill-color:#4b5563!important}

@media(max-width:899px){
 body:not(.alfari-app-mode) .site-header{height:60px!important}
 body:not(.alfari-app-mode) .header-row{min-height:60px!important;height:60px!important}
 body:not(.alfari-app-mode) .alfari-logo-horizontal-header{max-height:50px!important}
 body:not(.alfari-app-mode) .primary-nav{top:60px!important;max-height:calc(100dvh - 60px)!important}
 body.home .alfari-home-hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:.7rem!important}
 body.home .alfari-home-hero-actions .alfari-product-cta{width:100%!important;min-height:52px!important;justify-content:center!important;text-align:center!important}
 body.home [data-alfari-speaking-avatar][data-avatar-context="personal"]{top:calc(66px + env(safe-area-inset-top))!important;right:8px!important}
 body.home [data-alfari-speaking-avatar][data-avatar-context="personal"]>.alfari-avatar-toggle{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:14px!important}
 body.home.alfari-trainer-interacted [data-alfari-speaking-avatar][data-avatar-context="personal"]>.alfari-avatar-toggle{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
 .alfari-member-form-page[data-alfari-member-access="register"]{padding:1.25rem!important}
 .alfari-member-form-page[data-alfari-member-access="register"] h1{font-size:clamp(2rem,10vw,3rem)!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
}
