/* Namyran global footer — isolated from page and WooCommerce styles */
.elementor-location-footer{display:none!important}
.site-footer{direction:rtl;position:relative;overflow:hidden;width:100%;margin:0;padding:52px 0 22px;background:linear-gradient(180deg,#071d2b 0%,#04131f 100%);border-top:1px solid rgba(103,226,239,.12);color:#dff7fa;font-family:"Vazirmatn",Tahoma,Arial,sans-serif;box-sizing:border-box}
.site-footer *{box-sizing:border-box}
.site-footer a{text-decoration:none}
.site-footer svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.namyran-footer-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.site-footer__top{display:grid;grid-template-columns:1.35fr repeat(3,.75fr) 1.25fr;gap:34px;align-items:start}
.site-footer__brand{display:grid;gap:15px;text-align:center;justify-items:center}
.site-footer__logo{display:inline-flex;justify-content:center}
.site-footer__logo img{display:block;width:min(260px,100%);height:auto;object-fit:contain}
.site-footer__brand p{max-width:330px;margin:0;color:#9fb2be;font-size:.82rem;line-height:2;text-align:center}
.site-footer__social{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;margin-inline:auto}
.site-footer__social a{width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(115,226,239,.16);border-radius:13px;color:#77e8f2;background:rgba(16,200,223,.04);transition:.2s ease}
.site-footer__social a:hover{transform:translateY(-2px);border-color:rgba(115,226,239,.34);background:rgba(16,200,223,.1)}
.site-footer__social svg{width:20px;height:20px}
.site-footer__column,.site-footer__contact{display:grid;gap:10px}
.site-footer__column h3,.site-footer__contact h3{margin:0 0 7px;color:#f4fbfd;font-size:.94rem;font-weight:800}
.site-footer__column a{width:max-content;max-width:100%;color:#9fb2be;font-size:.78rem;line-height:1.7;transition:.18s ease}
.site-footer__column a:hover{color:#76e6f0;transform:translateX(-3px)}
.site-footer__contact{justify-items:center;text-align:center}
.site-footer__contact h3{width:100%;text-align:center}
.site-footer__contact-item{width:min(100%,360px);display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;margin-inline:auto;padding:12px;border:1px solid rgba(115,226,239,.14);border-radius:15px;color:#ddf7fa;background:rgba(255,255,255,.025)}
.site-footer__contact-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#7fe8f1;background:rgba(16,200,223,.08)}
.site-footer__contact-icon svg{width:19px;height:19px}
.site-footer__contact-item>span:last-child{min-width:0;width:100%;display:grid;justify-items:center;gap:3px;text-align:center}
.site-footer__contact-item small{color:#91a7b5;font-size:.66rem}
.site-footer__contact-item strong{font-size:.84rem;font-weight:900;white-space:nowrap}
.site-footer__contact-trust{width:min(100%,360px);min-height:64px;display:flex;align-items:center;justify-content:center;gap:9px;margin-inline:auto;padding:9px 12px;border:1px solid rgba(115,226,239,.14);border-radius:15px;background:rgba(255,255,255,.025)}
.site-footer__mini-badge{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;padding:4px;border:1px solid rgba(115,226,239,.12);border-radius:11px;background:rgba(16,200,223,.035)}
.site-footer__mini-badge img{display:block;width:38px;height:38px;object-fit:contain}
.site-footer__coverage{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;margin-inline:auto;padding:7px 10px;color:#9cb0bc;font-size:.7rem;text-align:center}
.site-footer__pulse{position:relative;width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#36de83;box-shadow:0 0 0 5px rgba(54,222,131,.08),0 0 12px rgba(54,222,131,.5)}
.site-footer__bottom{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin-top:32px;padding-top:18px;border-top:1px solid rgba(255,255,255,.07);text-align:center;direction:rtl}
.site-footer__copyright{display:block;width:100%;max-width:900px;margin:0 auto;padding-inline:16px;color:#8ea5b2;font-size:.67rem;line-height:1.95;text-align:center}
.site-footer__legal-links{width:100%;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px;margin:0 auto;text-align:center}
.site-footer__legal-links a{color:#9eb3be;font-size:.7rem}
.site-footer__legal-links a:hover{color:#70e5ef}
@media(max-width:1024px){.site-footer__top{grid-template-columns:1fr 1fr;gap:28px 20px}.site-footer__brand,.site-footer__contact{grid-column:1/-1}.site-footer__column{text-align:center;justify-items:center}}
@media(max-width:640px){.site-footer{padding:38px 0 90px}.namyran-footer-container{width:min(100% - 24px,1180px)}.site-footer__top{grid-template-columns:1fr;gap:25px}.site-footer__brand,.site-footer__contact{grid-column:auto}.site-footer__column{text-align:center;justify-items:center}.site-footer__contact-item,.site-footer__contact-trust{width:min(100%,360px)}.site-footer__copyright{font-size:.61rem;padding-inline:6px}.site-footer__legal-links{gap:12px}}

/* Global footer hard isolation and stable sizing */
.site-footer{width:100vw!important;max-width:none!important;margin-inline:calc(50% - 50vw)!important;padding:46px 0 20px!important;font-size:16px!important;line-height:1.6!important}
.namyran-footer-container{width:min(1180px,calc(100% - 40px))!important;max-width:1180px!important;margin-inline:auto!important;padding:0!important}
.site-footer__top{grid-template-columns:1.3fr .72fr .72fr .72fr 1.18fr!important;gap:30px!important}
.site-footer__logo img{width:250px!important;max-height:82px!important}
.site-footer__brand p{font-size:13px!important;line-height:2!important}
.site-footer__column h3,.site-footer__contact h3{font-size:15px!important;line-height:1.5!important}
.site-footer__column a{font-size:12px!important;line-height:1.7!important}
.site-footer__contact-item{width:100%!important;max-width:310px!important;padding:10px!important;border-radius:14px!important}
.site-footer__contact-icon{width:38px!important;height:38px!important}
.site-footer__contact-item small{font-size:10px!important}.site-footer__contact-item strong{font-size:13px!important}
.site-footer__contact-trust{width:100%!important;max-width:310px!important;min-height:58px!important;padding:7px 10px!important}.site-footer__mini-badge{width:44px!important;height:44px!important;flex-basis:44px!important}.site-footer__mini-badge img{width:35px!important;height:35px!important}
.site-footer__coverage{font-size:11px!important}.site-footer__copyright{font-size:11px!important}.site-footer__legal-links a{font-size:11px!important}
@media(max-width:1024px){.site-footer__top{grid-template-columns:1fr 1fr!important}.site-footer__brand,.site-footer__contact{grid-column:1/-1!important}}
@media(max-width:640px){.site-footer{padding:36px 0 88px!important}.namyran-footer-container{width:min(100% - 24px,1180px)!important}.site-footer__top{grid-template-columns:1fr!important;gap:24px!important}.site-footer__brand,.site-footer__contact{grid-column:auto!important}}


/* =========================================================
   FINAL GLOBAL FOOTER SPACING / ISOLATION
========================================================= */
body:not(.home) .site-footer,
body:not(.front-page) .site-footer{
  margin-top:64px !important;
}

.woocommerce .site-footer,
.woocommerce-page .site-footer,
.blog .site-footer,
.archive .site-footer,
.single .site-footer,
.page:not(.home) .site-footer{
  margin-top:64px !important;
}

.site-footer{
  clear:both !important;
  flex:none !important;
}

@media(min-width:1025px){
  .site-footer{padding:42px 0 18px !important;}
  .site-footer__top{gap:27px !important;}
  .site-footer__bottom{margin-top:26px !important;padding-top:15px !important;}
}


/* =========================================================
   INNER-PAGE LUXURY FOOTER WIDTH
========================================================= */
@media (min-width:1081px){
  body.namyran-front-page .site-footer{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    border-radius:0 !important;
  }

  body.namyran-inner-page .site-footer{
    width:min(1320px,calc(100% - 48px)) !important;
    max-width:1320px !important;
    margin:44px auto 22px !important;
    overflow:hidden !important;
    border:1px solid rgba(112,232,242,.12) !important;
    border-radius:22px !important;
    box-shadow:0 24px 64px rgba(6,23,36,.14) !important;
  }

  body.namyran-inner-page .namyran-footer-container{
    width:calc(100% - 42px) !important;
    max-width:none !important;
  }
}

@media(max-width:1080px){
  body.namyran-inner-page .site-footer{
    width:calc(100% - 24px) !important;
    margin:28px auto 14px !important;
    border-radius:18px !important;
  }
}
