/* SmartSpace Header/Footer Builder safety CSS */
.ss-hf-render-header{position:relative;z-index:9999;clear:both}.ss-hf-render-footer{clear:both}.ss-hf-render-header .elementor-section,.ss-hf-render-footer .elementor-section{margin:0!important}.elementor-editor-active .ss-hf-render{display:none!important}

/* Hide old theme header/footer only on Elementor-built pages where this plugin renders its own templates. */
body.sshf-elementor-hf > nav#navbar:not(.ss-hf-navbar),
body.sshf-elementor-hf > .mobile-nav:not(.ss-hf-mobile-nav),
body.sshf-elementor-hf > footer:not(.ss-hf-footer){display:none!important;}
body.sshf-elementor-hf .ss-hf-render-header nav#navbar.ss-hf-navbar,
body.sshf-elementor-hf .ss-hf-render-footer footer.ss-hf-footer{display:block!important;}

/* Full header styling is repeated here so Elementor/native CSS order cannot make the logo huge before scroll. */
.ss-hf-navbar{
  position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:9999!important;
  padding:14px 0!important;background:rgba(255,255,255,.96)!important;box-shadow:0 2px 20px rgba(0,0,0,.06)!important;border-bottom:1px solid rgba(0,0,0,.05)!important;transition:background .3s,box-shadow .3s,padding .3s!important;
}
.ss-hf-navbar.scrolled{background:rgba(255,255,255,.98)!important;box-shadow:0 6px 24px rgba(0,0,0,.08)!important;padding:10px 0!important;}
.ss-hf-navbar .container{max-width:1160px!important;margin:0 auto!important;padding:0 24px!important;width:100%!important;}
.ss-hf-navbar .nav-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;}
.ss-hf-navbar .logo{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;width:auto!important;max-width:220px!important;line-height:1!important;}
.ss-hf-navbar .logo img{display:block!important;width:auto!important;max-width:220px!important;height:74px!important;max-height:74px!important;object-fit:contain!important;transition:height .3s ease!important;}
.ss-hf-navbar.scrolled .logo img{height:66px!important;max-height:66px!important;}
.ss-hf-navbar .nav-links{display:flex!important;align-items:center!important;gap:32px!important;list-style:none!important;margin:0!important;padding:0!important;}
.ss-hf-navbar .nav-links li{margin:0!important;padding:0!important;list-style:none!important;}
.ss-hf-navbar .nav-links a{font-family:'Montserrat',sans-serif!important;font-size:13px!important;font-weight:600!important;letter-spacing:.3px!important;color:#333!important;text-decoration:none!important;transition:color .2s!important;}
.ss-hf-navbar .nav-links a:hover{color:#F4B400!important;}
.ss-hf-navbar .nav-cta{margin-left:12px!important;white-space:nowrap!important;}
.ss-hf-navbar .nav-toggle{display:none;background:none!important;border:none!important;cursor:pointer!important;padding:8px!important;}
.ss-hf-navbar .nav-toggle span{display:block!important;width:24px!important;height:2px!important;background:#000!important;margin:5px 0!important;}
.ss-hf-mobile-nav{display:none;position:fixed;top:102px;left:0;right:0;background:white;padding:20px 24px;gap:18px;box-shadow:0 8px 32px rgba(0,0,0,.12);z-index:9998;flex-direction:column;}
.ss-hf-mobile-nav.open{display:flex!important;}
.ss-hf-mobile-nav a{font-family:'Montserrat',sans-serif;font-size:14px;font-weight:600;color:#333;padding:8px 0;border-bottom:1px solid #E8E8E8;text-decoration:none;}
@media(max-width:900px){.ss-hf-navbar .nav-links,.ss-hf-navbar .nav-cta{display:none!important}.ss-hf-navbar .nav-toggle{display:block!important}.ss-hf-navbar .container{padding:0 16px!important}.ss-hf-navbar .logo img{height:64px!important;max-height:64px!important}.ss-hf-navbar.scrolled .logo img{height:58px!important;max-height:58px!important}.ss-hf-mobile-nav{top:92px}}
@media(max-width:480px){.ss-hf-navbar .logo img{height:54px!important;max-height:54px!important}.ss-hf-mobile-nav{top:82px}}

/* Keep fixed header from covering page content when old theme header is hidden. */
body.sshf-elementor-hf .ss-hf-render-header + *{scroll-margin-top:102px;}

/* v1.0.3 critical compatibility fixes */
body.sshf-elementor-hf{margin:0!important;padding:0!important;overflow-x:hidden;}
body.sshf-elementor-hf .ss-hf-page-wrap{margin:0!important;padding:0!important;}
body.sshf-elementor-hf > nav#navbar:not(.ss-hf-navbar),
body.sshf-elementor-hf > .mobile-nav:not(.ss-hf-mobile-nav),
body.sshf-elementor-hf > footer:not(.ss-hf-footer){display:none!important;}
.ss-hf-navbar .logo img{width:auto!important;height:66px!important;max-width:110px!important;max-height:70px!important;object-fit:contain!important;}
.ss-hf-footer .logo img{width:auto!important;height:86px!important;max-width:120px!important;object-fit:contain!important;}
