/* [XMAS26, 25 Nov 2026] Christmas dress and the Christmas code (release backups/xmas26-20261125-release).
   The head script on every page sets <html class="xmas"> from 00:00 GMT 1 Dec 2026 to 00:00 GMT 2 Jan 2027 and
   <html class="xcode"> from 00:00 GMT 7 Dec 2026 to 00:00 GMT 1 Jan 2027, so all of it switches on and off by itself.
   Anything marked .only-xmas / .only-xcode is hidden outside its window; .only-pre-xcode hides once the code starts. */
html:not(.xmas) .only-xmas, html:not(.xcode) .only-xcode, html.xcode .only-pre-xcode { display: none !important; }

/* ---- Fairy lights: under the offers bar on the home page, under the header elsewhere ---- */
.xmas-lights { display: none; }
.xmas .xmas-lights { display: block; position: absolute; z-index: 2; left: 0; right: 0; height: 26px; pointer-events: none; transition: opacity .25s; }
.xmas .nav > .xmas-lights { top: calc(var(--bar-h) - 3px); }
.xmas .headwrap > .xmas-lights { top: calc(100% - 4px); }
.xmas .nav.is-compact .xmas-lights { opacity: 0; }
.xmas-lights svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.xmas-lights path { fill: none; stroke: #1b120c; stroke-width: 1.6; opacity: .85; }
.xmas-bulb {
  position: absolute; width: 9px; height: 14px; margin-left: -4.5px; border-radius: 50% 50% 46% 46% / 42% 42% 58% 58%;
  background: var(--c); box-shadow: 0 0 6px 1px var(--c), 0 0 16px 3px color-mix(in srgb, var(--c) 55%, transparent);
  animation: xmas-twinkle var(--d, 3.2s) ease-in-out var(--delay, 0s) 3;   /* a few twinkles, then steady (Legal: no endless motion) */
}
.xmas-bulb::before { content: ""; position: absolute; left: 1.5px; top: -4px; width: 6px; height: 5px; border-radius: 1.5px; background: #2a1d14; }
.xmas-bulb::after { content: ""; position: absolute; left: 2px; top: 2px; width: 2.5px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .75); }
@keyframes xmas-twinkle { 0%, 100% { opacity: 1; filter: brightness(1.15); } 50% { opacity: .55; filter: brightness(.8); } }

/* ---- Snow (home hero and the Christmas section only), drawn by xmas.js for 14 s then gone ---- */
.xmas-snow { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

/* ---- Hero kicker ---- */
.xmas-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .01em;
}
.xmas-kicker svg { width: 22px; height: 22px; flex: none; }

/* ---- Moving at Christmas: three cards ---- */
.xmas-sec {
  position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) var(--gutter, 20px);
  background: radial-gradient(120% 120% at 15% 0%, #1f5b3e 0%, #12392a 55%, #0c281d 100%); color: #fff;
}
.xmas-sec__head, .xmas-sec__grid, .xmas-sec__note { position: relative; z-index: 1; max-width: 1180px; margin-left: auto; margin-right: auto; }
.xmas-sec__head { margin-bottom: clamp(26px, 3vw, 40px); }
.xmas-card > *, .xmas-sec__head > * { margin: 0 !important; }
.xmas-sec__eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #FFCF6B; }
.xmas-sec h2 { margin-top: 10px !important; font-family: Nunito, sans-serif; font-weight: 900; letter-spacing: -.03em; line-height: .95; font-size: clamp(40px, 6vw, 84px); }
.xmas-sec__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.xmas-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border-radius: 26px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
.xmas-card--hot { background: #F25205; border-color: #F25205; }
.xmas-card--hot .xmas-sec__eyebrow { color: #fff; }
.xmas-card h3 { font-family: Nunito, sans-serif; font-weight: 900; font-size: 28px; line-height: 1.02; letter-spacing: -.02em; }
.xmas-card p { font-size: 17px; line-height: 1.45; opacity: .92; }
.xmas-card p:not(.big):not(.xmas-sec__eyebrow) { padding-bottom: 8px; }
.xmas-card .big { margin-top: 4px !important; font-family: Nunito, sans-serif; font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -.03em; color: #FFCF6B; opacity: 1; }
.xmas-card--hot .big { color: #fff; }
.xmas-card a.go-line {
  margin-top: auto !important; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #111; border-radius: 999px; padding: 12px 20px; font-weight: 800; font-size: 16px; text-decoration: none;
}
.xmas-card a.go-line:hover { background: #FFE9D9; }
.xmas-sec__note { margin-top: 18px !important; font-size: 14px; opacity: .8; }
@media (max-width: 899px) { .xmas-sec__grid { grid-template-columns: minmax(0, 1fr); } .xmas-kicker { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .xmas-bulb { animation: none; } }
