/* WP-Sell Engage */
.wpsell-request-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:48px;padding:0 18px;border:1px solid rgba(255,255,255,.28);
  border-radius:14px;background:rgba(255,255,255,.14);color:#fff;
  font:800 14px/1.2 var(--nx-font,"Vazirmatn FD","Vazirmatn",Tahoma,sans-serif);
  cursor:pointer;backdrop-filter:blur(10px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
  transition:transform .18s cubic-bezier(.2,.8,.2,1),background .18s ease,box-shadow .22s ease;
}
.wpsell-request-cta svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.wpsell-request-cta:hover{transform:translateY(-2px);background:rgba(255,255,255,.22);box-shadow:0 12px 26px -14px rgba(15,17,38,.5)}
.wpsell-request-cta:hover svg{transform:translateX(3px)}
.wpsell-request-cta:active{transform:scale(.985)}
.nx-cta__actions:has(.wpsell-request-cta){display:flex;align-items:center;gap:10px;margin-top:18px}

html.wpsell-request-lock,html.wpsell-request-lock body{overflow:hidden!important}
.wpsell-request-modal{
  position:fixed;inset:0;z-index:2147482000;
  display:grid;place-items:center;padding:22px;
  font-family:var(--nx-font,"Vazirmatn FD","Vazirmatn",Tahoma,sans-serif);
  opacity:0;transition:opacity .2s ease;
}
.wpsell-request-modal[hidden]{display:none!important}
.wpsell-request-modal.is-open{opacity:1}
.wpsell-request-backdrop{
  position:absolute;inset:0;background:rgba(12,14,30,.58);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
}
.wpsell-request-card{
  position:relative;z-index:1;width:min(720px,100%);max-height:min(860px,calc(100dvh - 44px));
  overflow:auto;padding:28px;border:1px solid var(--nx-border,#E4E7F2);border-radius:24px;
  background:var(--nx-surface,#fff);color:var(--nx-text,#0F1126);
  box-shadow:0 30px 80px -20px rgba(15,17,38,.4);
  transform:translateY(14px) scale(.985);transition:transform .28s cubic-bezier(.34,1.56,.64,1);
}
.wpsell-request-modal.is-open .wpsell-request-card{transform:none}
.wpsell-request-close{
  position:absolute;top:16px;left:16px;width:42px;height:42px;display:grid;place-items:center;
  border:1px solid var(--nx-border,#E4E7F2);border-radius:13px;background:var(--nx-surface-2,#F8F9FE);
  color:var(--nx-text-2,#3A3F5E);cursor:pointer;transition:.18s ease
}
.wpsell-request-close:hover{background:var(--nx-surface-3,#EEF0FA);transform:rotate(3deg)}
.wpsell-request-close svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.wpsell-request-head{padding-left:52px;margin-bottom:22px}
.wpsell-request-kicker{
  display:inline-flex;padding:5px 10px;margin-bottom:9px;border-radius:999px;
  color:var(--nx-primary,#6A4DF4);background:rgba(var(--nx-primary-rgb,106,77,244),.09);
  font-size:11px;font-weight:900
}
.wpsell-request-head h2{margin:0 0 7px;font-size:24px;line-height:1.5;font-weight:950;color:var(--nx-text,#0F1126)}
.wpsell-request-head p{margin:0;color:var(--nx-muted,#646A8C);font-size:13px;line-height:1.95}
.wpsell-request-form{display:grid;gap:14px}
.wpsell-request-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wpsell-request-form label{display:block}
.wpsell-request-form label>span{display:block;margin:0 3px 6px;color:var(--nx-text-2,#3A3F5E);font-size:11px;font-weight:850}
.wpsell-request-form small{font-weight:500;color:var(--nx-muted,#646A8C)}
.wpsell-request-form input,.wpsell-request-form select,.wpsell-request-form textarea{
  width:100%;border:1px solid var(--nx-border,#E4E7F2);outline:0;border-radius:13px;
  background:var(--nx-surface,#fff);color:var(--nx-text,#0F1126);
  font:600 14px/1.7 var(--nx-font,"Vazirmatn FD","Vazirmatn",Tahoma,sans-serif);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease
}
.wpsell-request-form input,.wpsell-request-form select{height:48px;padding:0 13px}
.wpsell-request-form textarea{padding:11px 13px;resize:vertical;min-height:120px}
.wpsell-request-form input:focus,.wpsell-request-form select:focus,.wpsell-request-form textarea:focus{
  border-color:rgba(var(--nx-primary-rgb,106,77,244),.58);
  box-shadow:0 0 0 4px rgba(var(--nx-primary-rgb,106,77,244),.13)
}
.wpsell-request-submit{
  min-height:52px;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 20px;border:0;border-radius:14px;
  background:var(--nx-grad,linear-gradient(120deg,#6A4DF4 0%,#9B5CFF 48%,#FF5CA8 100%));color:#fff;
  font:900 14px/1 var(--nx-font,"Vazirmatn FD","Vazirmatn",Tahoma,sans-serif);
  box-shadow:0 14px 32px -14px rgba(var(--nx-primary-rgb,106,77,244),.74);cursor:pointer;
  transition:transform .18s ease,box-shadow .2s ease,opacity .18s ease
}
.wpsell-request-submit svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wpsell-request-submit:hover{transform:translateY(-1px);box-shadow:0 18px 38px -15px rgba(var(--nx-primary-rgb,106,77,244),.82)}
.wpsell-request-submit:disabled{opacity:.62;cursor:wait;transform:none}
.wpsell-request-submit.is-loading span{opacity:.75}
.wpsell-request-status{min-height:18px;text-align:center;font-size:11px;font-weight:750;color:var(--nx-muted,#646A8C)}
.wpsell-request-status.bad{color:var(--nx-danger,#F04438)}
.wpsell-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
.wpsell-request-success{text-align:center;padding:30px 10px 18px}
.wpsell-request-success-icon{width:58px;height:58px;margin:0 auto 14px;display:grid;place-items:center;border-radius:18px;background:rgba(18,183,106,.12);color:#12B76A;font-size:28px;font-weight:900}
.wpsell-request-success h3{margin:0 0 8px;font-size:21px}
.wpsell-request-success p{margin:0 auto 18px;max-width:520px;color:var(--nx-muted,#646A8C);line-height:1.9}
.wpsell-request-success button{min-height:46px;padding:0 18px;border:0;border-radius:13px;background:var(--nx-primary,#6A4DF4);color:#fff;font-weight:850;cursor:pointer}

.wpsell-proactive-tip{
  position:fixed;z-index:214699;left:18px;bottom:84px;width:min(330px,calc(100vw - 36px));
  display:grid;grid-template-columns:40px 1fr 28px;align-items:start;gap:10px;padding:12px;
  border:1px solid var(--nx-border,#E4E7F2);border-radius:18px;background:var(--nx-surface,#fff);
  box-shadow:0 18px 42px -16px rgba(15,17,38,.28);
  font-family:var(--nx-font,"Vazirmatn FD","Vazirmatn",Tahoma,sans-serif);
  opacity:0;transform:translateY(10px) scale(.98);pointer-events:none;
  transition:opacity .2s ease,transform .25s cubic-bezier(.34,1.56,.64,1)
}
.wpsell-proactive-tip[hidden]{display:none!important}
.wpsell-proactive-tip.is-visible{opacity:1;transform:none;pointer-events:auto}
.wpsell-proactive-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:var(--nx-grad,linear-gradient(120deg,#6A4DF4,#9B5CFF,#FF5CA8));color:#fff;font-size:15px;font-weight:950}
.wpsell-proactive-body{padding:0;border:0;background:transparent;text-align:right;color:inherit;cursor:pointer;font-family:inherit}
.wpsell-proactive-body strong{display:block;margin:1px 0 2px;color:var(--nx-text,#0F1126);font-size:12px;font-weight:900}
.wpsell-proactive-body span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--nx-muted,#646A8C);font-size:11px;line-height:1.85}
.wpsell-proactive-close{grid-column:3;grid-row:1;width:26px;height:26px;padding:0;border:0;border-radius:8px;background:var(--nx-surface-2,#F8F9FE);color:var(--nx-muted,#646A8C);font-size:18px;line-height:1;cursor:pointer}

@media(max-width:640px){
  .wpsell-request-modal{padding:0;place-items:end center}
  .wpsell-request-card{width:100%;max-height:94dvh;border-radius:24px 24px 0 0;padding:22px 18px max(22px,env(safe-area-inset-bottom));transform:translateY(30px)}
  .wpsell-request-head{padding-left:44px}
  .wpsell-request-head h2{font-size:20px}
  .wpsell-request-grid{grid-template-columns:1fr}
  .wpsell-request-form input,.wpsell-request-form select,.wpsell-request-form textarea{font-size:16px}
  .wpsell-proactive-tip{left:10px;bottom:calc(158px + env(safe-area-inset-bottom));width:calc(100vw - 20px)}
}
@media(prefers-reduced-motion:reduce){
  .wpsell-request-modal,.wpsell-request-card,.wpsell-proactive-tip,.wpsell-request-cta{transition:none!important}
}