/* Christmas decorations (only used when HOLIDAY = true in js/data.js) */
.xmas-lights { position: absolute; left: 0; right: 0; top: 100%; height: 28px; pointer-events: none; z-index: 2; }

.is-holiday .brand { position: relative; display: inline-block; }
.xmas-hat { position: absolute; width: 46px; top: -6px; left: -14px; transform: rotate(-18deg); pointer-events: none; }

.xmas-holly { display: block; width: 64px; height: 28px; margin: 0 auto 6px; }

.xmas-cane {
  height: 12px;
  background: repeating-linear-gradient(-45deg, #CF0A2C 0 12px, #FFF6E9 12px 24px);
  border-top: 3px solid #231F20; border-bottom: 3px solid #231F20;
}

.is-holiday .hero { position: relative; }
.xmas-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

/* Keep the sticky menu tabs (and jump-to scroll position) below the hanging lights */
.is-holiday .menu-tabs { top: calc(var(--header-h) + 28px); }
html:has(.is-holiday) { scroll-padding-top: calc(var(--header-h) + 90px); }

@media (max-width: 820px) {
  .xmas-hat { width: 34px; top: -4px; left: -10px; }
  .xmas-lights { height: 22px; }
  .is-holiday .menu-tabs { top: calc(var(--header-h) + var(--tabbar-h) + 22px); }
  html:has(.is-holiday) { scroll-padding-top: calc(var(--header-h) + var(--tabbar-h) + 86px); }
}
