/* My Spa Joy offer popup */
.msj-pop{position:fixed;inset:0;z-index:99990;display:flex;align-items:center;justify-content:center;padding:16px;font-family:"DM Sans",system-ui,sans-serif;color:#131819}
.msj-pop[hidden]{display:none}
.msj-pop *{box-sizing:border-box}
.msj-pop__overlay{position:absolute;inset:0;background:rgba(11,22,22,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;transition:opacity .3s ease}
.msj-pop__card{position:relative;display:grid;grid-template-columns:5fr 6fr;width:min(820px,100%);max-height:calc(100dvh - 32px);background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 30px 80px rgba(11,22,22,.35);opacity:0;transform:translateY(18px) scale(.98);transition:opacity .35s ease,transform .35s cubic-bezier(.2,.8,.2,1)}
.msj-pop.is-open .msj-pop__overlay{opacity:1}
.msj-pop.is-open .msj-pop__card{opacity:1;transform:none}
.msj-pop__card:focus{outline:none}
.msj-pop__media{position:relative;min-height:100%;background:#E0EAEB}
.msj-pop__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.msj-pop__badge{position:absolute;left:18px;bottom:18px;background:#EE3283;color:#fff;font-weight:600;font-size:15px;line-height:1;padding:11px 16px;border-radius:999px;box-shadow:0 8px 24px rgba(193,21,96,.35)}
.msj-pop__body{padding:44px 38px 30px;overflow-y:auto}
.msj-pop__eyebrow{display:inline-block!important;line-height:1.3!important;font-family:"DM Sans",sans-serif!important;margin:0!important;background:#FAEDF3;color:#C11560;font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;padding:7px 12px;border-radius:999px}
.msj-pop .msj-pop__title{display:block!important;position:static!important;height:auto!important;font-family:"Marcellus",Georgia,serif!important;font-weight:400!important;font-size:34px!important;line-height:1.15!important;letter-spacing:0!important;word-spacing:normal!important;text-transform:none!important;color:#131819!important;margin:16px 0 12px!important;padding:0!important}
.msj-pop .msj-pop__text{font-family:"DM Sans",sans-serif!important;font-size:16px!important;line-height:1.55!important;letter-spacing:0!important;color:#4A5F61!important;margin:0 0 6px!important;padding:0!important}
.msj-pop__text strong{color:#131819;font-weight:600}
.msj-pop__form{margin-top:18px}
.msj-pop .msj-pop__small{font-family:"DM Sans",sans-serif!important;font-size:12px!important;line-height:1.5!important;letter-spacing:0!important;color:#4A5F61!important;margin:12px 0 0!important}
.msj-pop__close{position:absolute;top:14px;right:14px;z-index:3;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#131819;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 10px rgba(11,22,22,.15);padding:0;transition:background .2s}
.msj-pop__close:hover{background:#E0EAEB}
.msj-pop__close:focus-visible{outline:3px solid #016F76;outline-offset:2px}
.msj-pop__close svg{width:18px;height:18px}
html.msj-pop-lock,html.msj-pop-lock body{overflow:hidden}

/* form fields inside the popup (SureForms) */
.msj-pop__form{--srfm-color-scheme-primary:#016F76;--srfm-color-scheme-text-on-primary:#fff;--srfm-row-gap-between-blocks:14px}
.msj-pop--nohelp .msj-pop__form .srfm-description{display:none!important}
.msj-pop__form .srfm-block-label,.msj-pop__form .srfm-block-legend{margin-bottom:6px!important}
.msj-pop__form .srfm-submit-container,.msj-pop__form .srfm-submit-wrap{margin-top:8px!important}
.msj-pop__form form{margin:0}
.msj-pop__form .srfm-form-title,.msj-pop__form .srfm-page-banner{display:none!important}
.msj-pop__form label{font-family:"DM Sans",sans-serif!important;font-size:13px!important;font-weight:600!important;color:#131819!important}
.msj-pop__form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),.msj-pop__form select,.msj-pop__form textarea{width:100%;font-family:"DM Sans",sans-serif!important;font-size:15px!important;color:#131819!important;background:#fff!important;border:1px solid #C2D5D6!important;border-radius:10px!important;padding:12px 14px;min-height:46px;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
.msj-pop__form input:focus,.msj-pop__form select:focus,.msj-pop__form textarea:focus{border-color:#016F76!important;box-shadow:0 0 0 3px rgba(1,111,118,.18)!important;outline:none!important}
.msj-pop__form button[type=submit],.msj-pop__form input[type=submit],.msj-pop__form .srfm-submit-button,.msj-pop__form .srfm-button{width:100%!important;background:#016F76!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:15px 22px!important;font-family:"DM Sans",sans-serif!important;font-size:16px!important;font-weight:600!important;cursor:pointer;transition:background .2s,transform .1s;box-shadow:none!important}
.msj-pop__form button[type=submit]:hover,.msj-pop__form .srfm-submit-button:hover,.msj-pop__form .srfm-button:hover{background:#015A60!important}
.msj-pop__form button[type=submit]:active{transform:scale(.99)}
.iti--container,.iti__dropdown-content,.iti__country-list{z-index:100000!important}

@media (max-width:680px){
  .msj-pop{padding:12px;align-items:flex-end}
  .msj-pop__card{grid-template-columns:1fr;max-height:calc(100dvh - 24px);overflow-y:auto;border-radius:20px}
  .msj-pop__media{min-height:0;height:170px}
  .msj-pop__body{padding:24px 20px 22px;overflow:visible}
  .msj-pop .msj-pop__title{font-size:27px!important;margin:12px 0 10px!important}
  .msj-pop .msj-pop__text{font-size:15px!important}
  .msj-pop__badge{left:14px;bottom:14px;font-size:14px;padding:9px 14px}
}
@media (prefers-reduced-motion:reduce){.msj-pop__overlay,.msj-pop__card{transition:none}}
.msj-pop--noimg .msj-pop__card{grid-template-columns:1fr;width:min(520px,100%)}

/* ---- Hardening: beat theme + Elementor resets (ID specificity) ---- */
#msj-pop .msj-pop__card{border-radius:22px!important;overflow:hidden!important;outline:none!important;box-shadow:0 30px 80px rgba(11,22,22,.35)!important}
#msj-pop .msj-pop__card:focus,#msj-pop .msj-pop__card:focus-visible{outline:none!important;border-radius:22px!important}
#msj-pop .msj-pop__close{width:40px!important;height:40px!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:#131819!important;box-shadow:0 2px 10px rgba(11,22,22,.18)!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;text-decoration:none!important}
#msj-pop .msj-pop__close:hover{background:#E0EAEB!important;color:#131819!important}
#msj-pop .msj-pop__close:focus-visible{outline:3px solid #016F76!important;outline-offset:2px!important;border-radius:50%!important}
#msj-pop .msj-pop__close svg{width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important}
#msj-pop .msj-pop__media img{object-fit:cover!important;max-width:none!important;border-radius:0!important}
#msj-pop .msj-pop__body{padding:36px 38px 28px!important}
#msj-pop .msj-pop__title{font-size:32px!important}

/* tighter SureForms spacing */
#msj-pop .msj-pop__form form{gap:12px!important}
#msj-pop .msj-pop__form .srfm-block:not(.srfm-error) .srfm-error-wrap{display:none!important}
#msj-pop .msj-pop__form .srfm-error .srfm-error-wrap{height:auto!important;margin-top:4px!important;font-size:12px!important}
#msj-pop .msj-pop__form .srfm-block-wrap{height:auto!important;min-height:0!important}
#msj-pop .msj-pop__form .srfm-submit-container{margin-top:6px!important}

@media (max-width:680px){
  #msj-pop .msj-pop__card{border-radius:20px!important;overflow-y:auto!important}
  #msj-pop .msj-pop__body{padding:22px 20px 20px!important}
  #msj-pop .msj-pop__title{font-size:26px!important}
  #msj-pop .msj-pop__close{width:36px!important;height:36px!important;top:10px!important;right:10px!important}
}
