/* Sitewide gold "Free Download" header button (t1556u). Sits between Sign in (outline) and Buy Now (green).
   Gold gradient follows the Kundli 8 "Sign Up Free" button; text is PremiumAV navy (contrast above 7:1). */
a.btn.pav-btn-free-dl{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:linear-gradient(150deg,#FFE58A,#E8B84B)!important;color:#042C53!important;border:1px solid #D9A93A!important;border-radius:999px;font-weight:700;text-decoration:none!important;white-space:nowrap;transition:transform .12s,box-shadow .12s}
a.btn.pav-btn-free-dl svg{flex:none;display:block}
a.btn.pav-btn-free-dl:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(184,134,11,.38)!important;color:#042C53!important}
a.btn.pav-btn-free-dl:focus-visible{outline:2px solid #042C53;outline-offset:2px}
.site-head.pav-head .btn.pav-btn-free-dl--mobile{display:none}
.pav-drawer-auth .btn.pav-btn-free-dl{order:-1;padding:12px 16px;font-size:15px}
@media(max-width:1199px){
 .site-head.pav-head .btn.pav-btn-free-dl--mobile{display:inline-flex;margin-left:auto}
 .site-head.pav-head .pav-btn-free-dl--mobile + .pav-buy-cta--mobile{margin-left:0}
}
/* Narrow desktop: drop the icon so the nav and the three buttons fit at 1200 px. */
@media(min-width:1200px) and (max-width:1279px){.site-head.pav-head .pav-auth-nav--desktop .pav-btn-free-dl svg{display:none}}
/* Phones: logo and the two buttons tighten so Free Download, Buy Now and the menu button share one row. */
@media(max-width:479px){
 .site-head.pav-head:not(.portal-head) .head-row{padding:0 12px!important;gap:8px!important}
 .site-head.pav-head:not(.portal-head) .logo{flex:0 0 112px!important}
 .site-head.pav-head:not(.portal-head) .logo img{width:112px!important;height:28px!important;max-width:112px!important}
 .site-head.pav-head:not(.portal-head) .btn.pav-btn-free-dl--mobile,
 .site-head.pav-head:not(.portal-head) .btn.pav-buy-cta--mobile{padding:8px 11px!important;font-size:12px!important}
 .site-head.pav-head .pav-btn-free-dl--mobile svg{display:none}
}
@media(max-width:389px){
 .site-head.pav-head:not(.portal-head) .head-row{padding:0 10px!important;gap:6px!important}
 .site-head.pav-head:not(.portal-head) .logo{flex:0 0 100px!important}
 .site-head.pav-head:not(.portal-head) .logo img{width:100px!important;height:25px!important;max-width:100px!important}
 .site-head.pav-head:not(.portal-head) .btn.pav-btn-free-dl--mobile,
 .site-head.pav-head:not(.portal-head) .btn.pav-buy-cta--mobile{padding:8px 9px!important}
}
/* Very narrow phones: the header keeps Buy Now; Free Download stays as the first button in the menu. */
@media(max-width:359px){.site-head.pav-head .btn.pav-btn-free-dl--mobile{display:none!important}.site-head.pav-head .pav-buy-cta--mobile{margin-left:auto!important}}
@media(prefers-reduced-motion:reduce){a.btn.pav-btn-free-dl{transition:none}a.btn.pav-btn-free-dl:hover{transform:none}}

/* Sitewide WhatsApp button (t1546u). Same look and pulse as the robotsky.in button; class is namespaced.
   wa-fab.js keeps it clear of the consent banner: --pav-wa-lift moves it above a banner card (mobile);
   .is-docked seats it inside the right end of a slim full-width consent bar (desktop).
   t1569u: no move transition, so the button is never seen part-way over the banner. */
.pav-wa-fab{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px) + var(--pav-wa-lift,0px));z-index:10000;background:#25d366;color:#053e26;width:60px;height:60px;border-radius:50%;display:grid;place-items:center;box-shadow:0 12px 26px rgba(37,211,102,.5);animation:pav-wa-pulse 2.4s infinite;text-decoration:none}
.pav-wa-fab svg{display:block}
.pav-wa-fab.is-docked{z-index:2147483647;right:28px;bottom:calc(var(--pav-wa-dock,3px) + env(safe-area-inset-bottom,0px));width:var(--pav-wa-size,34px);height:var(--pav-wa-size,34px)}
.pav-wa-fab.is-docked svg{width:58%;height:58%}
.pav-wa-fab:focus-visible{outline:3px solid #06264b;outline-offset:3px}
@keyframes pav-wa-pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)}70%{box-shadow:0 0 0 18px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
@media (prefers-reduced-motion:reduce){.pav-wa-fab{animation:none}}
@media print{.pav-wa-fab{display:none}}

/* Consent banner: slim one-line bottom bar on desktop (t1568u; sitewide from t1580u). */
@media (min-width:768px){
  #pav-consent[style*="block"]{display:flex!important}
  #pav-consent{left:0!important;right:0!important;bottom:0!important;width:auto!important;max-width:none!important;margin:0!important;padding:5px 96px 5px 16px!important;border-radius:0!important;align-items:center;gap:12px;font-size:12.5px!important;line-height:1.3!important;box-shadow:0 -4px 18px #001b3a30!important}
  #pav-consent>strong{white-space:nowrap;font-size:13px}
  #pav-consent>div:first-of-type{margin:0!important;flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #pav-consent>div:last-of-type{flex:0 0 auto;flex-wrap:nowrap!important;align-items:center}
  #pav-consent button{padding:4px 10px!important;font-size:12.5px!important}
  #pav-consent a{font-size:12px;margin-left:6px!important;white-space:nowrap}
}

/* t1578u: WhatsApp button and the consent banner. Desktop: 60 px, just above the slim bar.
   Mobile: hidden while the consent card is open. Browsers without :has() fall back to wa-fab-t1580.js. */
@media (min-width:768px){body:has(#pav-consent[style*="block"]) .pav-wa-fab{width:60px!important;height:60px!important;right:20px!important;bottom:58px!important}
body:has(#pav-consent[style*="block"]) .pav-wa-fab svg{width:30px!important;height:30px!important}}
@media (max-width:767px){body:has(#pav-consent[style*="block"]) .pav-wa-fab{opacity:0!important;visibility:hidden!important;pointer-events:none!important}}
