/* Newsletter pop-up. Self-contained: every rule is scoped to .nlp so nothing else on the site changes. */
.nlp{--nlp-ink:#1D1D1F;--nlp-blue:#2E3A8C;--nlp-blue-hover:#26317A;--nlp-muted:#6E6E73;--nlp-line:#E5E6EE;--nlp-err:#B42318;--nlp-ease:cubic-bezier(.22,1,.36,1);
  position:fixed;inset:0;z-index:2147483000;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  background:rgba(232,234,246,.55);-webkit-backdrop-filter:blur(12px) saturate(120%);backdrop-filter:blur(12px) saturate(120%);
  opacity:0;visibility:hidden;transition:opacity .28s ease,visibility 0s linear .28s;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","Noto Sans Arabic",Roboto,Helvetica,Arial,sans-serif;color:var(--nlp-ink);-webkit-tap-highlight-color:transparent}
.nlp.is-open{opacity:1;visibility:visible;transition:opacity .28s ease}
.nlp *,.nlp *::before,.nlp *::after{box-sizing:border-box}
.nlp-card{position:relative;flex:none;margin:auto;width:min(960px,100%);display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);min-height:420px;background:#fff;border-radius:28px;overflow:hidden;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 24px 60px -20px rgba(29,38,100,.28),0 4px 14px rgba(29,38,100,.06);
  transform:translate3d(0,14px,0) scale(.975);opacity:0;transition:transform .42s var(--nlp-ease),opacity .28s ease}
.nlp.is-open .nlp-card{transform:none;opacity:1}
.nlp-copy{position:relative;z-index:2;padding:48px 8px 40px 56px;display:flex;flex-direction:column;justify-content:center;min-width:0}
[dir="rtl"] .nlp-copy{padding:48px 56px 40px 8px}
.nlp-form{width:100%}
.nlp-logo{display:block;height:38px;width:auto;margin:0 0 36px;align-self:flex-start;user-select:none;-webkit-user-drag:none}
.nlp-title{margin:0;font-size:clamp(34px,4.1vw,46px);line-height:1.08;letter-spacing:-.028em;font-weight:700;color:var(--nlp-ink);text-wrap:balance}
[dir="rtl"] .nlp-title{letter-spacing:0;line-height:1.3}
.nlp-title em{display:block;font-style:normal;color:var(--nlp-blue)}
.nlp-text{margin:18px 0 26px;max-width:430px;font-size:17px;line-height:1.5;color:var(--nlp-muted);text-wrap:pretty}
.nlp-form{position:relative;max-width:470px}
.nlp-row{display:flex;align-items:center;gap:6px;padding:6px 6px 6px 18px;background:#fff;border:1px solid var(--nlp-line);border-radius:999px;
  box-shadow:0 1px 2px rgba(29,38,100,.04),0 8px 22px -12px rgba(46,58,140,.22);transition:border-color .2s ease,box-shadow .25s ease}
[dir="rtl"] .nlp-row{padding:6px 18px 6px 6px}
.nlp-row:focus-within{border-color:var(--nlp-blue);box-shadow:0 0 0 4px rgba(46,58,140,.12),0 8px 22px -12px rgba(46,58,140,.3)}
.nlp-row.is-invalid{border-color:var(--nlp-err);box-shadow:0 0 0 4px rgba(180,35,24,.1)}
.nlp-field{display:flex;align-items:center;gap:6px;flex:1;min-width:0}
.nlp-mail{flex:none;width:22px;height:22px;color:#8A8A93;transition:color .2s ease}
.nlp-row:focus-within .nlp-mail{color:var(--nlp-blue)}
.nlp-input{flex:1;min-width:0;height:44px;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:var(--nlp-ink);padding:0 4px}
.nlp-input::placeholder{color:#8A8A93}
.nlp-btn{flex:none;height:44px;padding:0 26px;border:0;border-radius:999px;background:var(--nlp-blue);color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;touch-action:manipulation;
  transition:transform .18s var(--nlp-ease),background-color .2s ease,box-shadow .2s ease;box-shadow:0 6px 16px -6px rgba(46,58,140,.6)}
.nlp-btn:hover{background:var(--nlp-blue-hover)}
.nlp-btn:active{transform:scale(.97);transition-duration:.08s}
.nlp-btn:focus-visible{outline:3px solid rgba(46,58,140,.35);outline-offset:2px}
.nlp-btn[disabled]{cursor:progress;opacity:.9}
.nlp-spin{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;animation:nlp-spin .7s linear infinite}
@keyframes nlp-spin{to{transform:rotate(360deg)}}
.nlp-msg{min-height:22px;margin:10px 6px 0;font-size:14px;line-height:1.5;color:var(--nlp-err)}
.nlp-msg:empty{min-height:0;margin:0}
.nlp-perks{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-wrap:nowrap;align-items:center}
.nlp-perks li{display:flex;align-items:center;gap:8px;padding:2px 13px;font-size:13.5px;color:var(--nlp-ink);white-space:nowrap}
.nlp-perks li:first-child{padding-inline-start:0}
.nlp-perks li+li{border-inline-start:1px solid var(--nlp-line)}
.nlp-perks svg{width:21px;height:21px;flex:none;color:var(--nlp-blue)}
.nlp-close{position:absolute;top:18px;inset-inline-end:18px;z-index:5;width:44px;height:44px;border:0;border-radius:50%;background:rgba(240,241,248,.9);color:#3A3A44;cursor:pointer;display:grid;place-items:center;
  box-shadow:0 1px 3px rgba(29,38,100,.1);transition:background-color .2s ease,transform .18s var(--nlp-ease);touch-action:manipulation}
.nlp-close:hover{background:#E6E8F4}.nlp-close:active{transform:scale(.92)}
.nlp-close:focus-visible{outline:3px solid rgba(46,58,140,.35);outline-offset:2px}
.nlp-close svg{width:18px;height:18px}
/* Success */
.nlp-done{display:none;max-width:430px;animation:nlp-rise .5s var(--nlp-ease) both}
.nlp-card.is-done .nlp-form,.nlp-card.is-done .nlp-perks{display:none}
.nlp-card.is-done .nlp-done{display:block}
.nlp-tick{width:56px;height:56px;border-radius:50%;background:#EEF0FB;color:var(--nlp-blue);display:grid;place-items:center;margin-bottom:16px}
.nlp-tick svg{width:28px;height:28px}
.nlp-tick path{stroke-dasharray:30;stroke-dashoffset:30;animation:nlp-draw .5s .15s ease forwards}
.nlp-done strong{display:block;font-size:20px;letter-spacing:-.01em}
.nlp-done p{margin:6px 0 20px;color:var(--nlp-muted);font-size:16px;line-height:1.5}
.nlp-done .nlp-btn{padding:0 24px}
@keyframes nlp-draw{to{stroke-dashoffset:0}}
@keyframes nlp-rise{from{opacity:0;transform:translate3d(0,8px,0)}to{opacity:1;transform:none}}
/* Illustration */
[dir="ltr"] .nlp-art{background:linear-gradient(90deg,#fff 0%,#F6F7FD 38%,#EDEFFA 100%)}[dir="rtl"] .nlp-art{background:linear-gradient(270deg,#fff 0%,#F6F7FD 38%,#EDEFFA 100%)}
.nlp-art{position:relative;z-index:1;min-height:340px;overflow:hidden}
.nlp-swoosh{position:absolute;inset:0;width:100%;height:100%}
.nlp-stage{position:absolute;inset:0;--px:0;--py:0}
.nlp-layer{position:absolute;will-change:transform;transform:translate3d(calc(var(--px)*var(--d)*1px),calc(var(--py)*var(--d)*1px),0)}
.nlp-bob{animation:nlp-bob var(--t,6s) ease-in-out var(--delay,0s) infinite alternate}
@keyframes nlp-bob{from{transform:translate3d(0,-6px,0) rotate(var(--r0,-2deg))}to{transform:translate3d(0,7px,0) rotate(var(--r1,2deg))}}
.nlp-envelope{--d:14;left:50%;top:50%;width:min(84%,370px);aspect-ratio:320/260;margin:-40% 0 0 -42%}
[dir="rtl"] .nlp-envelope{margin-left:0;margin-right:-42%;left:auto;right:50%}
.nlp-envelope svg{display:block;width:100%;height:100%;overflow:visible}
.nlp-chip{width:100%;aspect-ratio:1;border-radius:19px;background:linear-gradient(180deg,#fff,#F6F7FC);display:grid;place-items:center;
  box-shadow:0 14px 28px -12px rgba(46,58,140,.32),0 2px 6px rgba(46,58,140,.08),0 0 0 1px rgba(255,255,255,.9) inset}
.nlp-chip svg{width:56%;height:56%}
.nlp-slot{width:clamp(54px,6.3vw,66px)}
.nlp-slot.win{--d:-26;left:7%;top:14%}.nlp-slot.adobe{--d:-34;right:7%;top:12%}.nlp-slot.office{--d:30;left:2%;top:56%}.nlp-slot.auto{--d:36;right:4%;top:62%}
.nlp-slot.win .nlp-bob{--t:5.2s;--r0:-5deg;--r1:3deg}.nlp-slot.adobe .nlp-bob{--t:6.4s;--delay:-1.2s;--r0:4deg;--r1:-3deg}
.nlp-slot.office .nlp-bob{--t:5.8s;--delay:-2.1s;--r0:-3deg;--r1:5deg}.nlp-slot.auto .nlp-bob{--t:6.9s;--delay:-.6s;--r0:3deg;--r1:-4deg}
.nlp-envelope .nlp-bob{--t:7s;--r0:-1deg;--r1:1deg}
/* Tablet and phone: vertical composition */
@media (max-width:860px){
  .nlp{padding-block:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-bottom))}
  .nlp-card{grid-template-columns:minmax(0,1fr);width:min(440px,100%);min-height:0;border-radius:26px}
  .nlp-copy{display:contents}
  .nlp-card{grid-template-areas:"logo" "art" "title" "text" "form" "perks";padding:0 22px 22px;row-gap:0}
  .nlp-logo{grid-area:logo;height:30px;margin:24px 0 0;padding-inline-end:56px}
  .nlp-art{grid-area:art;min-height:0;height:196px;margin:6px -22px 0;background:transparent}
    .nlp .nlp-art{background:radial-gradient(ellipse 75% 60% at 50% 52%,#EEF0FB 0,rgba(255,255,255,0) 100%)}
  .nlp-swoosh{opacity:.9;-webkit-mask-image:linear-gradient(transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(transparent,#000 22%,#000 78%,transparent)}
  .nlp-envelope{width:182px;margin:-84px 0 0 -91px}
  [dir="rtl"] .nlp-envelope{margin:-84px -91px 0 0}
  .nlp-slot{width:50px}.nlp-chip{border-radius:15px}
  .nlp-slot.win{left:8%;top:6%}.nlp-slot.adobe{right:8%;top:4%}.nlp-slot.office{left:4%;top:54%}.nlp-slot.auto{right:6%;top:58%}
  .nlp-title{grid-area:title;text-align:center;font-size:30px;margin-top:10px}
  .nlp-text{grid-area:text;text-align:center;margin:12px auto 20px;font-size:16px;max-width:320px}
  .nlp-form,.nlp-done{grid-area:form;max-width:none}
  .nlp-done{text-align:center}.nlp-tick{margin-inline:auto}
  .nlp-row,[dir="rtl"] .nlp-row{display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
  .nlp-row:focus-within{box-shadow:none}
  .nlp-field{height:52px;padding:0 18px;background:#fff;border:1px solid var(--nlp-line);border-radius:999px;box-shadow:0 1px 2px rgba(29,38,100,.04);transition:border-color .2s ease,box-shadow .25s ease}
  .nlp-field:focus-within{border-color:var(--nlp-blue);box-shadow:0 0 0 4px rgba(46,58,140,.12)}
  .nlp-row.is-invalid .nlp-field{border-color:var(--nlp-err);box-shadow:0 0 0 4px rgba(180,35,24,.1)}
  .nlp-input{height:50px}
  .nlp-btn.nlp-submit{width:100%;height:52px;margin-top:12px;border-radius:999px}
  .nlp-msg{text-align:center}
  .nlp-perks{grid-area:perks;margin-top:18px;justify-content:center;align-items:flex-start;flex-wrap:nowrap;border-top:0}
  .nlp-perks li{flex-direction:column;gap:6px;padding:0 4px;font-size:12.5px;text-align:center;white-space:nowrap;flex:1;min-width:0;justify-content:flex-start}
  .nlp-perks li:first-child{padding-inline-start:4px}
  .nlp-perks svg{width:24px;height:24px}
  .nlp-close{top:14px;inset-inline-end:14px}
}
@media (min-width:861px){
  .nlp-btn.nlp-submit{margin:0}
}
@media (max-width:360px){
  .nlp-card{padding:0 16px 18px}.nlp-art{margin-inline:-16px;height:168px}.nlp-envelope{width:156px;margin:-72px 0 0 -78px}
  [dir="rtl"] .nlp-envelope{margin:-72px -78px 0 0}
  .nlp-title{font-size:26px}.nlp-text{font-size:15px}.nlp-perks li{font-size:11.5px;padding:0 4px}
  .nlp-slot{width:42px}.nlp-chip{border-radius:13px}
}
/* Short landscape screens: keep it usable, the overlay scrolls */
@media (max-height:520px) and (min-width:861px){
  .nlp-card{min-height:0}.nlp-copy{padding-block:28px}.nlp-logo{margin-bottom:18px}.nlp-title{font-size:32px}.nlp-text{margin:10px 0 16px}.nlp-perks{margin-top:12px}
}
@media (max-height:520px) and (max-width:860px){.nlp-art{height:120px}.nlp-envelope{width:120px;margin:-50px 0 0 -60px}}
@media (prefers-reduced-motion:reduce){
  .nlp,.nlp-card{transition:opacity .2s ease}.nlp-card{transform:none}
  .nlp-bob,.nlp-spin,.nlp-done{animation:none}.nlp-layer{transform:none}
  .nlp-tick path{animation:none;stroke-dashoffset:0}
}
@media (prefers-reduced-transparency:reduce){.nlp{background:#E8EAF6;-webkit-backdrop-filter:none;backdrop-filter:none}}
html.nlp-lock,html.nlp-lock body{overflow:hidden!important}
html.nl-subscribed body:not(.admin-view) .newsletter,html.nl-subscribed body:not(.admin-view) .site-footer>.newsletter,html.nl-subscribed body:not(.admin-view) #storePage .newsletter,html.nl-subscribed body:not(.admin-view).catalog-view #storePage .newsletter{display:none!important}
