/*
  Green Shades — Holiday 2026
  Site-wide: holiday tokens + announcement bar (markup sits right after <body> on every page).
  The bar is removed by /scripts/holiday-bar.js after Dec 31 or when dismissed.
*/

:root {
  --hol-evergreen: #0f2e24;
  --hol-evergreen-2: #163d30;
  --hol-cranberry: #a3242f;
  --hol-cranberry-dk: #7d1a23;
  --hol-gold: #c9a227;
  --hol-gold-lt: #e2c45a;
  --hol-cream: #f7f4ec;
  --hol-paper: #f1e8d6;
  --hol-ink: #1c1a17;
}

.hol-bar {
  position: relative;
  z-index: 201; /* above sticky .site-header (200) */
  background: var(--hol-evergreen) url(/images/holiday/snow-pattern.svg) repeat;
  color: var(--hol-cream);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  line-height: 1.35;
  padding-bottom: 14px; /* room for the lights */
}

/* String lights along the bottom edge */
.hol-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 22px;
  background: url(/images/holiday/string-lights.svg) repeat-x 0 0 / auto 22px;
  pointer-events: none;
}

.hol-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 40px;
  padding-block: var(--space-2) 0;
  position: relative;
}

.hol-bar__icon {
  width: 28px;
  height: 18px;
  flex-shrink: 0;
}

.hol-bar .hol-bar__msg {
  margin: 0;
  min-width: 0;
  color: var(--hol-cream); /* core.css colors every <p>; keep the bar light on all pages */
}

.hol-bar .hol-bar__msg strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: inherit;
}

.hol-bar__extra {
  display: none;
  opacity: 0.88;
}

.hol-bar__link {
  flex-shrink: 0;
  color: var(--hol-gold-lt);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.hol-bar__link:hover {
  color: #fff;
}

.hol-bar__link:focus-visible {
  outline: 2px solid var(--hol-gold-lt);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 479px) {
  .hol-bar__icon { display: none; }
  .hol-bar__inner { justify-content: flex-start; gap: var(--space-2); }
}

@media (min-width: 760px) {
  .hol-bar__extra { display: inline; }
  .hol-bar { font-size: var(--step-0); }
}

/* Shared holiday decoration helpers (used on the gift page; safe anywhere) */
.hol-garland {
  height: 60px;
  background: url(/images/holiday/pine-garland.svg) repeat-x center / auto 60px;
}

.hol-lights {
  height: 40px;
  background: url(/images/holiday/string-lights.svg) repeat-x 0 0 / auto 40px;
}

.hol-snow {
  background-image: url(/images/holiday/snow-pattern.svg);
  background-repeat: repeat;
}

@media print {
  .hol-bar { display: none; }
}
