#pz-newsletter-overlay{position:fixed;inset:0;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;z-index:2147483646;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease;font-family:Arial,Helvetica,sans-serif}
#pz-newsletter-overlay.pz-newsletter-visible{opacity:1;visibility:visible;pointer-events:auto}
#pz-newsletter-modal{position:relative;width:min(760px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border:3px solid #111;border-radius:24px;box-sizing:border-box;padding:34px 38px 25px;text-align:center;box-shadow:0 28px 90px rgba(0,0,0,.42)}
#pz-newsletter-modal:before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:#13b74a;border-radius:20px 20px 0 0}
#pz-newsletter-close{position:absolute;right:12px;top:11px;width:42px;height:42px;border:0;background:#f4f4f4;color:#111;font-size:30px;font-weight:700;line-height:1;cursor:pointer;padding:0;font-family:Arial,Helvetica,sans-serif;border-radius:50%;transition:background .15s ease,transform .15s ease}
#pz-newsletter-close:hover{background:#13b74a;transform:rotate(4deg)}
.pz-newsletter-icon{width:68px;height:68px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#13b74a;border:3px solid #111;font-size:37px;line-height:1;box-shadow:0 8px 22px rgba(0,0,0,.16)}
#pz-newsletter-title{margin:0 auto 11px;max-width:650px;font-size:32px;line-height:1.12;font-weight:800;letter-spacing:-.6px;color:#111}
.pz-newsletter-intro{margin:0 auto 22px;max-width:650px;font-size:16px;line-height:1.5;color:#444}
.pz-newsletter-box{background:#f5f5f5;border:3px solid #111;border-radius:16px;padding:20px;box-sizing:border-box}
.pz-newsletter-field{position:relative;margin:0 0 12px}
.pz-newsletter-input{display:block;width:100%;box-sizing:border-box;text-align:left;font-size:17px;font-weight:500;padding:15px 16px;border:2px solid #c7c7c7;border-radius:10px;background:#fff;color:#111;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.pz-newsletter-input::placeholder{color:#777;opacity:1}
.pz-newsletter-input:focus{border-color:#13b74a;box-shadow:0 0 0 3px rgba(19,183,74,.14)}
.pz-newsletter-consent{display:flex;align-items:flex-start;justify-content:center;gap:9px;margin:14px auto 17px;max-width:620px;font-size:13px;line-height:1.42;color:#222;cursor:pointer;text-align:left}
.pz-newsletter-consent input{width:19px;height:19px;min-width:19px;margin:1px 0 0;accent-color:#13b74a;cursor:pointer}
.pz-newsletter-submit{width:100%;padding:15px 12px;font-size:18px;font-weight:800;letter-spacing:.15px;border:2px solid #111;border-radius:10px;background:#111;color:#fff;cursor:pointer;box-sizing:border-box;transition:background .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease}
.pz-newsletter-submit:hover{background:#13b74a;color:#111;transform:translateY(-1px);box-shadow:0 7px 16px rgba(19,183,74,.22)}
.pz-newsletter-note{margin:12px 0 0;font-size:12px;line-height:1.4;color:#777}
html.pz-newsletter-lock,html.pz-newsletter-lock body{overflow:hidden!important}
@media (max-width:767px){
#pz-newsletter-overlay{padding:9px}
#pz-newsletter-modal{max-height:calc(100vh - 18px);padding:27px 13px 17px;border-width:3px;border-radius:18px}
#pz-newsletter-modal:before{height:6px;border-radius:15px 15px 0 0}
#pz-newsletter-close{right:6px;top:6px;width:38px;height:38px;font-size:28px}
.pz-newsletter-icon{width:51px;height:51px;font-size:29px;margin-bottom:10px;border-width:2px}
#pz-newsletter-title{font-size:23px;line-height:1.16;letter-spacing:-.2px;margin-bottom:9px;max-width:500px}
.pz-newsletter-intro{font-size:14px;line-height:1.4;margin-bottom:14px}
.pz-newsletter-box{padding:12px;border-width:3px;border-radius:12px}
.pz-newsletter-input{font-size:16px;padding:12px 10px;margin-bottom:8px}
.pz-newsletter-consent{font-size:12px;margin:10px auto 13px;gap:7px}
.pz-newsletter-consent input{width:18px;height:18px;min-width:18px}
.pz-newsletter-submit{font-size:16px;padding:12px 8px}
.pz-newsletter-note{font-size:11px;margin-top:9px}
}

/* PZ Newsletter V8 visual refinement — CSS asset, functionality unchanged */
#pz-newsletter-overlay{
  background:rgba(0,0,0,.66)!important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
#pz-newsletter-modal{
  width:min(88vw,520px)!important;
  max-height:90vh!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
  background:#fff!important;
  border:0!important;
  border-radius:22px!important;
  padding:30px 28px 26px!important;
  box-shadow:0 24px 75px rgba(0,0,0,.28)!important;
}
#pz-newsletter-modal h2{
  color:#111!important;
  line-height:1.15!important;
  margin:0 0 10px!important;
  letter-spacing:-.02em!important;
}
#pz-newsletter-modal .pz-newsletter-intro{
  color:#555!important;
  line-height:1.5!important;
  margin:0 0 20px!important;
}
#pz-newsletter-modal input[type=text],
#pz-newsletter-modal input[type=email]{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  height:52px!important;
  margin:0 0 10px!important;
  padding:0 15px!important;
  border:2px solid #e5e5e5!important;
  border-radius:11px!important;
  background:#fafafa!important;
  color:#111!important;
  font-size:16px!important;
  outline:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
#pz-newsletter-modal input[type=text]:focus,
#pz-newsletter-modal input[type=email]:focus{
  border-color:#13b74a!important;
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(19,183,74,.11)!important;
}
#pz-newsletter-modal input[type=checkbox]{accent-color:#13b74a}
#pz-newsletter-modal .pz-newsletter-submit{
  width:100%!important;
  min-height:52px!important;
  border:0!important;
  border-radius:11px!important;
  background:#13b74a!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:800!important;
  letter-spacing:.015em!important;
  cursor:pointer!important;
  box-shadow:0 7px 18px rgba(19,183,74,.2)!important;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease!important;
}
#pz-newsletter-modal .pz-newsletter-submit:hover{
  background:#0fa542!important;
  transform:translateY(-1px)!important;
  box-shadow:0 10px 22px rgba(19,183,74,.27)!important;
}
@media(max-width:600px){
  #pz-newsletter-modal{
    width:calc(100vw - 28px)!important;
    max-width:480px!important;
    padding:24px 18px 20px!important;
    border-radius:18px!important;
  }
  #pz-newsletter-modal input[type=text],
  #pz-newsletter-modal input[type=email]{height:50px!important;font-size:16px!important}
  #pz-newsletter-modal .pz-newsletter-submit{min-height:50px!important}
}

/* V11 FIX: guaranteed visible state */
#pz-newsletter-overlay.pz-newsletter-visible{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

/* V12 mobile visibility check / reinforcement */
@media (max-width: 767px){
  #pz-newsletter-overlay.pz-newsletter-visible{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }
}
