/* Christmas theme. Inert until /assets/christmas.js adds .xmas to <html>
   (the owner switches the season on/off in Admin → Settings). */

/* ── Santa hat on the nav logo ── */
html.xmas .nav-brand { position: relative; }
.xmas-hat {
  position: absolute; left: -9px; top: -10px; z-index: 1;
  width: 28px; height: auto;
  transform: rotate(-24deg);
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.45));
}

/* ── ❄ before every gold eyebrow ── */
html.xmas .tag::before { content: '\2744'; margin-right: 7px; letter-spacing: 0; }

/* ── Voucher banner (fixed under the nav; top set in JS) ── */
.xmas-bar {
  position: fixed; left: 0; right: 0; top: 68px; z-index: 899;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 6px 54px 6px 16px;
  background: rgba(17,17,17,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,215,0,.35);
  color: #fff; font-family: 'Poppins', sans-serif;
}
.xmas-bar-txt { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.3; }
.xmas-short { display: none; }
.xmas-bar-btn {
  flex: none; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 20px; border-radius: 50px;
  background: var(--gold, #FFD700); color: #090909;
  font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform .2s, background .2s;
}
.xmas-bar-btn:hover { background: var(--gold-dark, #e6c200); transform: translateY(-2px); }
.xmas-bar-x {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: none; color: var(--muted, #9a9a9a);
  font: 400 26px/1 'Poppins', sans-serif; cursor: pointer;
}
.xmas-bar-x:hover { color: #fff; }
.xmas-bar a:focus-visible, .xmas-bar button:focus-visible {
  outline: 3px solid var(--gold, #FFD700); outline-offset: 2px;
}
@media (max-width: 760px) {
  .xmas-long { display: none; }
  .xmas-short { display: inline; }
  .xmas-bar { gap: 10px; padding: 6px 48px 6px 12px; }
  .xmas-bar-txt { font-size: 12.5px; }
  .xmas-bar-btn { padding: 0 15px; }
  .xmas-bar-x { right: 2px; }
}

/* ── Snow (canvas inside the first section, behind its text) ── */
.xmas-snow {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.xmas-lift { position: relative; }
.xmas-lift > :not(.xmas-snow) { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .xmas-snow { display: none; }
  .xmas-bar-btn { transition: none; }
  .xmas-bar-btn:hover { transform: none; }
}
