/* Best Price Windows — logo revolving through a complete 360° about its vertical (Y) axis.
   Pure CSS, so the same sharp logo displays in both header and footer without extra JS. */
.site-header__logo,
.site-footer__brand > a:has(.ow-flip-logo){
  perspective: 1000px;
  -webkit-perspective: 1000px;
  transform-style: preserve-3d;
}
.site-header__logo .ow-flip-logo,
.site-footer__brand .ow-flip-logo{
  display: block;
  max-width: 100%;
  height: auto;
  transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  transform-style: preserve-3d;
  animation: ow-logo-y360 9s ease-in-out infinite;
  -webkit-animation: ow-logo-y360 9s ease-in-out infinite;
  will-change: transform;
  filter: drop-shadow(0 0 8px rgba(60,114,239,.30));
}
/* Pause briefly front-facing, then execute a full smooth vertical-axis revolution. */
@keyframes ow-logo-y360{
  0%,16% { transform: rotateY(0deg); }
  67%,100% { transform: rotateY(360deg); }
}
@-webkit-keyframes ow-logo-y360{
  0%,16% { -webkit-transform: rotateY(0deg); }
  67%,100% { -webkit-transform: rotateY(360deg); }
}
/* The approved landscape logo stays large and legible, without changing header geometry. */
.site-header__logo img.ow-flip-logo { width: 270px!important; max-width: 270px!important; }
.site-footer__brand img.ow-flip-logo { width: 350px!important; max-width: min(350px, 100%)!important; }
@media (max-width:1100px){
  .site-header__logo img.ow-flip-logo {width:245px!important;max-width:245px!important;}
}
@media (max-width:767px){
  .site-header__logo img.ow-flip-logo {width:255px!important;max-width:min(255px, 88vw)!important;}
  .site-footer__brand img.ow-flip-logo {width:310px!important;max-width:100%!important;}
}
/* Accessibility: no automatic animation where reduced motion is requested. */
@media (prefers-reduced-motion: reduce){
 .site-header__logo .ow-flip-logo,
 .site-footer__brand .ow-flip-logo { animation:none!important; -webkit-animation:none!important; will-change:auto; }
}
