/* Brand Wharf v1.2.0: compact mobile header + scroll-revealed CTA */
.bw-mobile-floating-cta{display:none!important}
@media(max-width:1020px){
 /* Keep the wordmark first, push the hamburger to the far right. */
 body.bw-wordpress .site-header .nav-shell{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:12px!important;justify-content:space-between!important;min-width:0!important;}
 body.bw-wordpress .site-header .nav-shell>.bw-logo-link,body.bw-wordpress .site-header .nav-shell>.brand{order:0!important;flex:0 1 auto!important;min-width:0!important;margin-right:auto!important;}
 body.bw-wordpress .site-header .nav-shell>.menu-toggle{order:3!important;display:inline-flex!important;flex:0 0 44px!important;margin:0 0 0 auto!important;align-items:center!important;justify-content:center!important;}
 body.bw-wordpress .site-header .nav-shell>.site-nav{order:4!important;}
 /* Remove header CTA at mobile widths, including in theme-provided Elementor templates. */
 body.bw-wordpress .site-header .bw-header-cta,body.bw-wordpress .bw-elementor-cta-slot,body.bw-wordpress .elementor-location-header .bw-header-cta{display:none!important}
 /* Hide the CTA until JS reports a scroll beyond the configured threshold. */
 body.bw-wordpress .bw-mobile-floating-cta{position:fixed!important;right:max(16px,env(safe-area-inset-right))!important;bottom:calc(98px + env(safe-area-inset-bottom))!important;left:auto!important;top:auto!important;z-index:990!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;max-width:min(260px,calc(100vw - 32px))!important;min-height:50px!important;padding:12px 17px!important;border:1px solid #f26b1d!important;border-radius:9px!important;background:#f26b1d!important;color:#0b2545!important;box-shadow:0 10px 28px rgba(11,37,69,.23)!important;text-decoration:none!important;font:700 14px/1.25 Inter,system-ui,sans-serif!important;letter-spacing:0!important;text-align:center!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(14px)!important;transition:opacity .22s ease,transform .22s ease,visibility .22s ease!important;}
 body.bw-wordpress .bw-mobile-floating-cta.is-visible{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important}
 body.bw-wordpress.menu-open .bw-mobile-floating-cta,body.bw-wordpress .menu-open~.bw-mobile-floating-cta{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
 body.bw-wordpress .bw-mobile-floating-cta:focus-visible{outline:3px solid #13807a!important;outline-offset:4px!important}
 body.bw-wordpress .bw-mobile-floating-cta-arrow{display:inline-block;font-size:17px;line-height:1}
}
@media(max-width:520px){
 body.bw-wordpress .site-header .nav-shell{width:calc(100% - 24px)!important;padding:0 12px!important;min-height:66px!important;}
 body.bw-wordpress .site-header .nav-shell>.bw-logo-link{max-width:min(58vw,220px)!important;}
 body.bw-wordpress .site-header .nav-shell>.menu-toggle{flex-basis:44px!important;}
 body.bw-wordpress .bw-mobile-floating-cta{right:14px!important;bottom:calc(94px + env(safe-area-inset-bottom))!important;min-height:48px!important;padding:12px 16px!important;}
}
@media(min-width:1021px){body.bw-wordpress .bw-mobile-floating-cta{display:none!important}}
@media(prefers-reduced-motion:reduce){body.bw-wordpress .bw-mobile-floating-cta{transition:none!important;transform:none!important}}
