/* Holiday season (Nov 16, 2026 to Jan 6, 2027): quiet decorations in the brand palette.
   Loaded only while the season is active (see functions.php). */

/* Header: a thin sage-and-brass string of lights under the bar and a mistletoe sprig by the nav */
body.np-xmas .np-header { position: sticky; }
body.np-xmas .np-header::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; pointer-events: none; z-index: 2;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='10' viewBox='0 0 72 10'%3E%3Cpath d='M0 0 Q18 9 36 0 Q54 9 72 0' fill='none' stroke='%23213D32' stroke-opacity='.35' stroke-width='1'/%3E%3Ccircle cx='9' cy='4.6' r='2' fill='%23B8924A'/%3E%3Ccircle cx='27' cy='6.2' r='2' fill='%238FA58A'/%3E%3Ccircle cx='45' cy='4.6' r='2' fill='%23A8402F'/%3E%3Ccircle cx='63' cy='6.2' r='2' fill='%23B8924A'/%3E%3C/svg%3E") repeat-x left top / 72px 10px;
	opacity: 0.85;
}
body.np-xmas .np-header::before {
	content: ""; position: absolute; right: 10px; top: 100%; width: 54px; height: 62px; pointer-events: none; z-index: 3; margin-top: 8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='62' viewBox='0 0 54 62'%3E%3Cpath d='M27 0 V22' stroke='%23B8924A' stroke-width='2' fill='none'/%3E%3Cpath d='M27 18 Q14 20 8 34 Q22 36 27 24 Q32 36 46 34 Q40 20 27 18Z' fill='%238FA58A'/%3E%3Cpath d='M27 30 Q12 36 8 50 Q22 52 27 38 Q32 52 46 50 Q42 36 27 30Z' fill='%23213D32' fill-opacity='.85'/%3E%3Ccircle cx='24' cy='29' r='3' fill='%23fff' stroke='%23C9CFC4' stroke-width='.8'/%3E%3Ccircle cx='30' cy='30' r='3' fill='%23fff' stroke='%23C9CFC4' stroke-width='.8'/%3E%3Ccircle cx='27' cy='34' r='3' fill='%23fff' stroke='%23C9CFC4' stroke-width='.8'/%3E%3Cpath d='M23 4 Q27 12 31 4 Q27 8 23 4Z' fill='%23A8402F'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 782px) { body.np-xmas .np-header::before { display: none; } }

/* Footer: snow drift along the top edge and a holly sprig in the corner */
body.np-xmas .np-footer { position: relative; overflow: hidden; }
body.np-xmas .np-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='18' viewBox='0 0 160 18'%3E%3Cpath d='M0 0 H160 V6 Q146 18 128 8 Q112 0 96 9 Q80 18 62 8 Q46 0 30 9 Q14 18 0 6Z' fill='%23F6F2E9' fill-opacity='.92'/%3E%3C/svg%3E") repeat-x left top / 160px 18px;
}
body.np-xmas .np-footer::after {
	content: ""; position: absolute; right: 24px; top: 14px; width: 84px; height: 56px; pointer-events: none; opacity: 0.95;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='56' viewBox='0 0 84 56'%3E%3Cpath d='M6 10 Q24 6 42 22 Q60 38 80 30' stroke='%238FA58A' stroke-width='2' fill='none'/%3E%3Cpath d='M30 14 Q24 4 34 4 Q36 10 44 8 Q46 16 38 18 Q36 24 30 22 Q28 18 30 14Z' fill='%238FA58A'/%3E%3Cpath d='M52 28 Q50 18 60 20 Q62 26 70 26 Q70 34 62 36 Q60 42 54 40 Q52 34 52 28Z' fill='%238FA58A'/%3E%3Ccircle cx='40' cy='24' r='4' fill='%23A8402F'/%3E%3Ccircle cx='47' cy='27' r='4' fill='%23A8402F'/%3E%3Ccircle cx='43' cy='31' r='4' fill='%23A8402F'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 600px) { body.np-xmas .np-footer::after { width: 62px; height: 42px; right: 12px; } }

/* Snow canvas (drawn by xmas.js) */
.np-xmas-snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* Floating Christmas symbols, lower left, linking to the Christmas category */
.np-xmas-fab { position: fixed; left: 14px; bottom: 96px; z-index: 55; display: flex; align-items: flex-end; }
.np-xmas-fab[hidden] { display: none; }
.np-xmas-fab-link { display: flex; align-items: flex-end; gap: 4px; text-decoration: none; padding: 8px 12px 8px 10px; background: rgba(246, 242, 233, 0.94); border: 1.5px solid rgba(33, 61, 50, 0.35); border-radius: 999px; box-shadow: 0 6px 18px rgba(33, 61, 50, 0.18); color: var(--np-deep); }
.np-xmas-fab-link:hover, .np-xmas-fab-link:focus-visible { background: #fff; border-color: var(--np-deep); }
.np-xmas-fab-link svg { display: block; width: 34px; height: 34px; animation: np-xmas-float 5s ease-in-out infinite; }
.np-xmas-fab-link svg:nth-child(2) { width: 24px; height: 24px; animation-delay: -1.7s; animation-duration: 4.2s; }
.np-xmas-fab-link svg:nth-child(3) { width: 26px; height: 26px; animation-delay: -3.1s; animation-duration: 5.8s; }
.np-xmas-fab-text { align-self: center; margin-left: 6px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.np-xmas-fab-close { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border: 1px solid rgba(33, 61, 50, 0.35); border-radius: 50%; background: #fff; color: var(--np-deep); font-size: 14px; line-height: 1; cursor: pointer; padding: 0; }
@keyframes np-xmas-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@media (max-width: 600px) {
	.np-xmas-fab { left: 10px; bottom: 100px; }
	.np-xmas-fab-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.np-xmas-fab-link svg { animation: none; }
	.np-xmas-snow { display: none; }
}
@media print { .np-xmas-snow, .np-xmas-fab, body.np-xmas .np-header::before, body.np-xmas .np-header::after, body.np-xmas .np-footer::before, body.np-xmas .np-footer::after { display: none !important; } }

/* Homepage hero: holiday links row */
.npx-xmas-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin: 18px 0 0; }
.npx-xmas-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--np-deep); margin-right: 4px; }
.npx-xmas-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 0.95rem; border-radius: 999px; background: rgba(246, 242, 233, 0.9); border: 1.5px solid rgba(33, 61, 50, 0.35); color: var(--np-deep); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.npx-xmas-links a:first-of-type { background: var(--np-deep); border-color: var(--np-deep); color: #F6F2E9; }
.npx-xmas-links a:hover, .npx-xmas-links a:focus-visible { background: #fff; color: var(--np-deep); border-color: var(--np-deep); }
body.np-xmas .npx-hero { padding-bottom: clamp(120px, 12vw, 170px); }
body.np-xmas .npx-scroll { bottom: 28px; }
@media (max-width: 700px) { body.np-xmas .npx-scroll { bottom: 24px; } }
