/* PPS Busy Spinner: the Poster Print Shop logo spinner, shown on its own (no card) over the site's dark "busy" overlay.
   The element is created by assets/spin.js, which stands in for the old Spin.js library. */
.spinner.pps-busy{
  display:none;   /* hidden until a script shows it. (The old white bars were left switched on on some pages, such as the cart, where they could not be seen against the white page.) */
  position:fixed !important; left:50% !important; top:50% !important; width:176px; height:176px; margin:-88px 0 0 -88px;
  z-index:2147483647; pointer-events:none; background:none; border:0; animation:none;
}
.spinner.pps-busy::before,.spinner.pps-busy::after{ display:none !important; content:none !important; }
.pps-busy svg{ display:block; width:100%; height:100%; overflow:visible; }
.pps-busy-ring{ fill:none; stroke:#F37B20; stroke-width:1.5; stroke-dasharray:100 100; stroke-dashoffset:100; transform:rotate(-90deg); transform-origin:17.9px 11.3px; animation:pps-busy-ring 1.8s linear infinite; }
.pps-busy-line{ transform-box:fill-box; transform-origin:left center; animation:pps-busy-line 1.8s linear infinite; }
@keyframes pps-busy-ring{ 0%{stroke-dashoffset:100} 50%{stroke-dashoffset:0} 100%{stroke-dashoffset:-100} }
@keyframes pps-busy-line{ 0%{transform:translateX(0) scaleX(0)} 50%{transform:translateX(0) scaleX(1)} 100%{transform:translateX(100%) scaleX(0)} }

/* Safety net: if a page ever loads the old Spin.js some other way, hide its bars and show the logo spinner there too. */
body > .spinner[role="progressbar"]:not(.pps-busy){
  position:fixed !important; left:50% !important; top:50% !important; width:176px !important; height:176px !important; margin:-88px 0 0 -88px !important;
  z-index:2147483647 !important; background:url(pps-spinner.svg) no-repeat center / contain !important; pointer-events:none;
}
body > .spinner[role="progressbar"]:not(.pps-busy) > div,
body > .spinner[role="progressbar"]:not(.pps-busy)::before{ display:none !important; }
