/* Muse Authentic SEO-Safe Christmas Wonderland Theme (CLS = 0, GPU-only) */
:root {
  --xmas-pine: #123524;
  --xmas-pine-deep: #0B2318;
  --xmas-crimson: #8E1B22;
  --xmas-crimson-deep: #631015;
  --xmas-gold: #E3C184;
  --xmas-gold-soft: #F6E6C5;
  --xmas-ginger: #B86B35;
  --xmas-frost: #F4F8FB;
}

/* Fixed GPU Snowfall Canvas (pointer-events: none, zero layout impact) */
.xmas-snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 70;
}
.xmas-snow-canvas.is-paused {
  display: none;
}

/* Festive Top Announcement Strip */
.top-strip {
  background: linear-gradient(90deg, #0D261A 0%, #173E2B 36%, #74151B 72%, #0D261A 100%);
  border-bottom: 1px solid rgba(227, 193, 132, 0.38);
  color: #FAF6EE;
}
.top-strip a {
  color: #FAF6EE;
}
.top-strip a:hover {
  color: var(--xmas-gold-soft);
}
.xmas-snow-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFDF9;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.xmas-snow-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Header Hanging Pine & Fairy-Light Garland (zero CLS: absolute overlay on border) */
.site-header {
  position: sticky;
  top: 0;
  border-bottom-color: rgba(18, 53, 36, 0.22);
}
.xmas-header-garland {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 12px;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='14' viewBox='0 0 160 14'%3E%3Cpath d='M0 1 Q40 12 80 2 Q120 12 160 1' fill='none' stroke='%23163F2B' stroke-width='2.6'/%3E%3Cpath d='M0 0.8 Q40 11 80 1.5 Q120 11 160 0.8' fill='none' stroke='%23235C40' stroke-width='1.2' stroke-dasharray='4 3'/%3E%3Ccircle cx='22' cy='6.5' r='2.7' fill='%23B91C24'/%3E%3Ccircle cx='48' cy='8.2' r='2.5' fill='%23E8C47C'/%3E%3Ccircle cx='80' cy='2.8' r='2.6' fill='%23B91C24'/%3E%3Ccircle cx='112' cy='8.2' r='2.5' fill='%23E8C47C'/%3E%3Ccircle cx='138' cy='6.5' r='2.7' fill='%231E6B47'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: top center;
}

/* Brand Wordmark Miniature Santa Hat Accent (zero width/height shift) */
.brand-wordmark {
  position: relative;
}
.brand-wordmark::before {
  content: '';
  position: absolute;
  left: -9px;
  top: -8px;
  width: 18px;
  height: 15px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath d='M4 17 C6 8 15 3 23 6 C19 9 18 12 20 16 Z' fill='%23A61B24'/%3E%3Crect x='2.5' y='15.5' width='18' height='4.5' rx='2.2' fill='%23FFFDF9' stroke='%23E5DFD6' stroke-width='0.8'/%3E%3Ccircle cx='23.5' cy='6.5' r='3' fill='%23FFFDF9' stroke='%23E5DFD6' stroke-width='0.8'/%3E%3C/svg%3E");
  transform: rotate(-14deg);
}

/* Product Card Seasonal Ribbon Touch */
.product-card__badge {
  background: linear-gradient(135deg, #8E1B22 0%, #631015 100%);
  color: #FFFDF9;
  border: 1px solid rgba(246, 230, 197, 0.5);
}

/* Homepage Noel Wonderland Showcase */
.xmas-wonderland {
  margin: 26px 0 8px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(18, 53, 36, 0.22);
  background: linear-gradient(135deg, #0E291C 0%, #163B29 48%, #4F1217 100%);
  color: #FFFDF9;
  box-shadow: 0 18px 44px rgba(14, 38, 26, 0.14);
}

.xmas-wonderland__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
}

.xmas-wonderland__content {
  padding: 30px 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.xmas-wonderland__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.12);
  border: 1px solid rgba(227, 193, 132, 0.55);
  color: var(--xmas-gold-soft);
  font-size: 0.75rem;
  font-weight: 600;
}

.xmas-wonderland__title {
  margin: 0;
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.22;
  color: #FFFDF9;
}

.xmas-wonderland__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: #E7EFEA;
}

/* Festive Character Cast Strip (Santa, Tree, Reindeer, Snowman, Gingerbread) */
.xmas-cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 4px;
}

.xmas-cast-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 7px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.1);
  border: 1px solid rgba(227, 193, 132, 0.35);
  color: #FFFDF9;
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.xmas-cast-chip:hover {
  background: rgba(255, 253, 249, 0.2);
  border-color: var(--xmas-gold-soft);
  transform: translateY(-1px);
}
.xmas-cast-chip svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.xmas-wonderland__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.xmas-wonderland__art {
  position: relative;
  min-height: 260px;
  background: #14281E;
  overflow: hidden;
}
.xmas-wonderland__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Panoramic Winter Village & Santa Sleigh Divider Above Footer */
.xmas-footer-panorama {
  position: relative;
  width: 100%;
  margin-top: 28px;
  margin-bottom: -40px;
  line-height: 0;
  pointer-events: none;
  overflow: hidden;
}
.xmas-footer-panorama svg {
  width: 100%;
  height: 78px;
  display: block;
}

@media (max-width: 860px) {
  .xmas-wonderland__grid {
    grid-template-columns: 1fr;
  }
  .xmas-wonderland__art {
    order: -1;
    height: 205px;
    min-height: 0;
  }
  .xmas-wonderland__content {
    padding: 22px 18px;
  }
  .xmas-footer-panorama svg {
    height: 54px;
  }
}

@media (max-width: 600px) {
  .brand-wordmark::before {
    left: -6px;
    top: -6px;
    width: 14px;
    height: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xmas-snow-canvas {
    display: none !important;
  }
}
