/* BoostSante Welcome Popup v1.3 — isolated layout fix */
html.bswp-lock,body.bswp-lock{overflow:hidden!important}

#bswp-root,#bswp-root *{box-sizing:border-box!important}
#bswp-root{
 position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;
 max-width:none!important;max-height:none!important;margin:0!important;padding:20px!important;
 z-index:2147482500!important;display:flex!important;align-items:center!important;justify-content:center!important;
 opacity:0!important;visibility:hidden!important;pointer-events:none!important;
 font-family:Arial,Helvetica,sans-serif!important
}
#bswp-root.bswp-show{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
#bswp-root .bswp-backdrop{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 background:rgba(18,20,22,.52)!important;backdrop-filter:blur(7px)!important;
 -webkit-backdrop-filter:blur(7px)!important;opacity:0!important;transition:opacity .3s ease!important
}
#bswp-root.bswp-show .bswp-backdrop{opacity:1!important}

#bswp-root .bswp-card{
 position:relative!important;z-index:2!important;display:block!important;
 width:420px!important;max-width:calc(100vw - 40px)!important;height:auto!important;min-height:0!important;
 max-height:calc(100dvh - 40px)!important;margin:0!important;padding:0!important;
 float:none!important;clear:both!important;overflow:auto!important;
 background:#fbfaf7!important;border:1px solid rgba(25,20,15,.08)!important;border-radius:20px!important;
 box-shadow:0 24px 70px rgba(0,0,0,.22)!important;
 opacity:0!important;transform:translateY(14px) scale(.98)!important;
 transition:opacity .32s ease,transform .4s cubic-bezier(.16,1,.3,1)!important
}
#bswp-root.bswp-show .bswp-card{opacity:1!important;transform:none!important}

#bswp-root .bswp-card:before{
 content:""!important;position:absolute!important;right:-65px!important;top:-80px!important;
 width:160px!important;height:160px!important;border-radius:50%!important;
 background:rgba(212,195,169,.18)!important;pointer-events:none!important
}
#bswp-root .bswp-art{display:none!important}

#bswp-root .bswp-content{
 position:relative!important;display:block!important;width:100%!important;height:auto!important;
 margin:0!important;padding:31px 30px 24px!important;
 background:linear-gradient(145deg,#fff 0%,#fbfaf7 75%,#f6f0e7 100%)!important
}
#bswp-root .bswp-logo{
 display:block!important;width:100px!important;height:auto!important;max-width:100px!important;max-height:44px!important;
 margin:0 0 21px!important;padding:0!important;object-fit:contain!important;object-position:left center!important;
 border:0!important;box-shadow:none!important;filter:none!important
}
#bswp-root .bswp-eyebrow{
 display:block!important;margin:0 0 8px!important;padding:0!important;
 font:600 8px/1.3 Arial,Helvetica,sans-serif!important;letter-spacing:.19em!important;
 text-transform:uppercase!important;color:#9a7e5d!important
}
#bswp-root .bswp-content h2{
 display:block!important;margin:0 36px 10px 0!important;padding:0!important;
 font:400 27px/1.08 Arial,Helvetica,sans-serif!important;letter-spacing:-.035em!important;
 text-transform:none!important;color:#111!important
}
#bswp-root .bswp-copy{
 display:block!important;width:auto!important;margin:0 0 17px!important;padding:0!important;
 font:400 12.5px/1.55 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;color:#68645f!important
}

#bswp-root button{font-family:Arial,Helvetica,sans-serif!important}
#bswp-root .bswp-code{
 appearance:none!important;-webkit-appearance:none!important;position:relative!important;
 display:grid!important;grid-template-columns:72px 1fr 22px!important;align-items:center!important;
 width:100%!important;height:54px!important;min-height:54px!important;margin:0!important;padding:0 14px!important;
 border:1px dashed #baa78f!important;border-radius:11px!important;background:#fff!important;
 color:#111!important;box-shadow:none!important;cursor:pointer!important;text-align:initial!important
}
#bswp-root .bswp-code-label{
 display:block!important;text-align:left!important;font:600 8px/1 Arial,Helvetica,sans-serif!important;
 letter-spacing:.13em!important;color:#a08e78!important;white-space:nowrap!important
}
#bswp-root .bswp-code strong{
 display:block!important;text-align:center!important;margin:0!important;padding:0!important;
 font:600 15px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.11em!important;color:#252525!important;
 white-space:nowrap!important
}
#bswp-root .bswp-copy-icon{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;
 justify-self:end!important;width:18px!important;height:18px!important;margin:0!important
}
#bswp-root .bswp-copy-icon svg{display:block!important;width:18px!important;height:18px!important}

#bswp-root .bswp-cta{
 appearance:none!important;-webkit-appearance:none!important;display:flex!important;
 align-items:center!important;justify-content:center!important;gap:8px!important;
 width:100%!important;height:49px!important;min-height:49px!important;margin:9px 0 0!important;padding:0 15px!important;
 border:0!important;border-radius:11px!important;background:#111!important;color:#fff!important;
 box-shadow:none!important;font:600 10.5px/1 Arial,Helvetica,sans-serif!important;
 letter-spacing:.015em!important;text-transform:none!important;cursor:pointer!important
}
#bswp-root .bswp-cta span{color:#fff!important}
#bswp-root .bswp-cta svg{display:block!important;width:15px!important;height:15px!important;color:#fff!important}

#bswp-root .bswp-success{
 display:block!important;min-height:14px!important;margin:7px 0 0!important;padding:0!important;
 text-align:center!important;font:400 10px/1.4 Arial,Helvetica,sans-serif!important;color:#735f48!important;
 opacity:0!important;transform:translateY(2px)!important;transition:.2s!important
}
#bswp-root .bswp-success.is-visible{opacity:1!important;transform:none!important}
#bswp-root .bswp-fine{
 display:block!important;margin:1px 0 0!important;padding:0!important;text-align:center!important;
 font:400 8px/1.4 Arial,Helvetica,sans-serif!important;color:#aaa!important
}

/* Critical fix: close button remains INSIDE the popup */
#bswp-root .bswp-close{
 appearance:none!important;-webkit-appearance:none!important;position:absolute!important;
 top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;z-index:20!important;
 display:block!important;width:31px!important;height:31px!important;min-width:31px!important;min-height:31px!important;
 margin:0!important;padding:0!important;border:1px solid rgba(0,0,0,.07)!important;border-radius:50%!important;
 background:rgba(255,255,255,.92)!important;box-shadow:0 3px 12px rgba(0,0,0,.05)!important;cursor:pointer!important
}
#bswp-root .bswp-close span{
 position:absolute!important;display:block!important;left:9px!important;top:14px!important;
 width:11px!important;height:1px!important;margin:0!important;padding:0!important;background:#222!important
}
#bswp-root .bswp-close span:first-child{transform:rotate(45deg)!important}
#bswp-root .bswp-close span:last-child{transform:rotate(-45deg)!important}

#bswp-root.bswp-leave .bswp-card{opacity:0!important;transform:translateY(7px) scale(.99)!important;transition-duration:.2s!important}
#bswp-root.bswp-leave .bswp-backdrop{opacity:0!important;transition-duration:.2s!important}

@media(max-width:520px){
 #bswp-root{padding:14px!important}
 #bswp-root .bswp-card{width:350px!important;max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 28px)!important;border-radius:17px!important}
 #bswp-root .bswp-content{padding:26px 22px 20px!important}
 #bswp-root .bswp-logo{width:90px!important;max-width:90px!important;margin-bottom:17px!important}
 #bswp-root .bswp-content h2{font-size:23px!important;margin-right:30px!important;margin-bottom:8px!important}
 #bswp-root .bswp-copy{font-size:11.5px!important;margin-bottom:14px!important}
 #bswp-root .bswp-code{height:49px!important;min-height:49px!important;grid-template-columns:62px 1fr 19px!important;padding:0 12px!important}
 #bswp-root .bswp-code-label{font-size:7px!important}
 #bswp-root .bswp-code strong{font-size:13px!important}
 #bswp-root .bswp-cta{height:45px!important;min-height:45px!important}
 #bswp-root .bswp-close{top:10px!important;right:10px!important;width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important}
 #bswp-root .bswp-close span{left:8px!important;top:13px!important}
}
@media(max-width:360px),(max-height:590px){
 #bswp-root .bswp-content{padding:21px 18px 16px!important}
 #bswp-root .bswp-logo{width:80px!important;max-width:80px!important;margin-bottom:12px!important}
 #bswp-root .bswp-eyebrow{font-size:7px!important;margin-bottom:6px!important}
 #bswp-root .bswp-content h2{font-size:20px!important;margin-bottom:7px!important}
 #bswp-root .bswp-copy{font-size:10.8px!important;margin-bottom:11px!important}
 #bswp-root .bswp-code{height:45px!important;min-height:45px!important}
 #bswp-root .bswp-cta{height:42px!important;min-height:42px!important}
 #bswp-root .bswp-fine{display:none!important}
}
@media(prefers-reduced-motion:reduce){
 #bswp-root .bswp-card,#bswp-root .bswp-backdrop{transition-duration:.01ms!important}
}


/* v1.3.1 — absolute horizontal overflow protection */
html.bswp-lock,
body.bswp-lock{
    overflow-x:hidden!important;
    max-width:100%!important;
}

#bswp-root{
    overflow:hidden!important;
    max-width:100vw!important;
}

#bswp-root .bswp-card{
    overflow-x:hidden!important;
    overscroll-behavior-x:none!important;
}

#bswp-root .bswp-content{
    overflow-x:hidden!important;
    max-width:100%!important;
}

#bswp-root .bswp-card:before{
    pointer-events:none!important;
}

/* Prevent any popup child from creating width beyond the card */
#bswp-root .bswp-content > *,
#bswp-root .bswp-code,
#bswp-root .bswp-cta{
    max-width:100%!important;
}

/* SVG and text safety */
#bswp-root svg,
#bswp-root img{
    flex-shrink:0!important;
}

@media(max-width:520px){
    #bswp-root{
        width:100%!important;
        max-width:100%!important;
        padding-left:14px!important;
        padding-right:14px!important;
    }

    #bswp-root .bswp-card{
        width:100%!important;
        max-width:350px!important;
        overflow-x:hidden!important;
    }

    #bswp-root .bswp-content{
        width:100%!important;
        max-width:100%!important;
    }
}
