/* Holiday theme: snow + string lights. Switched on by js/holiday.js (adds body.holiday)
   from Dec 1 to Jan 5. Remove the two holiday lines from the page <head>s, or delete
   this file, to retire it. */
#hol-snow { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

body.holiday .site-header { border-bottom: 0; }

body.holiday .site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -14px;
  height: 20px;
  pointer-events: none;
  background:
    radial-gradient(circle at 9px 11px, #e0453f 0 5.5px, transparent 6.5px) 0 0 / 56px 20px repeat-x,
    radial-gradient(circle at 9px 11px, #3aa86a 0 5.5px, transparent 6.5px) 14px 3px / 56px 20px repeat-x,
    radial-gradient(circle at 9px 11px, #e9b949 0 5.5px, transparent 6.5px) 28px 0 / 56px 20px repeat-x,
    radial-gradient(circle at 9px 11px, #5db7e6 0 5.5px, transparent 6.5px) 42px 3px / 56px 20px repeat-x;
  filter: drop-shadow(0 0 4px rgba(255, 200, 90, 0.65));
  animation: hol-twinkle 2.4s ease-in-out infinite alternate;
}

body.holiday .site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #2b2f33;
  opacity: 0.35;
}

@keyframes hol-twinkle { from { opacity: 0.65; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  body.holiday .site-header::after { animation: none; }
}

/* Red bow on the gift cards box (home page): tilted, sits on the top-left corner */
body.holiday .gift-strip { padding-top: 3.1rem; }
body.holiday .gift-bow {
  display: block;
  position: absolute;
  top: -40px;
  left: max(0.75rem, calc((100% - 1180px) / 2 - 10px));
  width: 120px;
  height: auto;
  transform: rotate(-16deg);
  transform-origin: 50% 70%;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.22));
  z-index: 2;
}
