/* Christmas theme: warm cream, holly green, candy red and sunny gold. */
html.theme-christmas {
  --parchment: #fff7df;
  --parchment-2: #ffebc1;
  --oxblood: #e84b5f;
  --oxblood-2: #ca304c;
  --gold: #ffc928;
  --gold-soft: #ffe27a;
  --forest: #16835a;
  --forest-2: #0d6849;
  --forest-3: #084a37;
  --ink: #3d3024;
  --ink-soft: #66503a;

  --xm-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffc928' d='M12 2l2.9 6.9 7.4.6-5.6 4.8 1.7 7.3L12 17.6l-6.4 4 1.7-7.3-5.6-4.8 7.4-.6z'/%3E%3C/svg%3E");
  --xm-flake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23f08b62' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17l17.4-10'/%3E%3Cpath d='M9.4 3.6L12 6l2.6-2.4M9.4 20.4L12 18l2.6 2.4M2.6 10.2l3.4-.6-.4-3.3M21.4 13.8l-3.4.6.4 3.3M2.6 13.8l3.4.6-.4 3.3M21.4 10.2l-3.4-.6.4-3.3'/%3E%3C/g%3E%3C/svg%3E");
}

/* Greeting bar */
.xmas-bar {
  position: relative;
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 201, 40, 0.3) 0 3px, transparent 4px),
    radial-gradient(circle at 92% 50%, rgba(134, 220, 160, 0.35) 0 3px, transparent 4px),
    linear-gradient(100deg, #d93450, #ee5964 50%, #d93450);
  color: #fff9db;
  text-align: center;
  font: 600 0.82rem/1.1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: none;
  padding: 0.4rem 0.8rem;
  border-bottom: 3px solid var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
}
.xmas-bar__ic { display: inline-flex; width: 28px; height: 28px; }
.xmas-bar__ic svg { width: 100%; height: 100%; }
.xmas-bar__txt { margin: 0 0.4rem; }

/* Nav: gold hairline, with ornaments hanging from the greeting bar */
.theme-christmas .nav {
  border-bottom: 3px solid var(--gold);
  overflow: visible;
}
.xmas-hang {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.3s ease;
}
.nav.is-scrolled .xmas-hang {
  opacity: 0;
}
.xmas-hang__i {
  position: absolute;
  top: 0;
  width: 30px;
  margin-left: -15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 0;
  animation: xmasSway 5.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 2px 2px rgba(60, 30, 10, 0.25));
}
.xmas-hang__i i {
  display: block;
  width: 1px;
  height: var(--len, 16px);
  background: linear-gradient(180deg, var(--gold), var(--gold-soft));
}
.xmas-hang__i svg {
  width: 26px;
  height: 26px;
  display: block;
}
@keyframes xmasSway {
  from { transform: rotate(-4deg); }
  to { transform: rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .xmas-hang__i { animation: none; }
}
.theme-christmas .hero__ornament span {
  color: #f08b62;
}
.theme-christmas .hero__title {
  color: var(--forest-2);
  text-shadow: 2px 3px 0 rgba(255, 255, 255, 0.75);
}
.theme-christmas .hero__title em {
  color: var(--oxblood);
}
.theme-christmas .hero__est {
  color: var(--forest-2);
}
.theme-christmas .hero::after {
  background:
    radial-gradient(ellipse at center, rgba(255, 250, 224, 0.88) 0%, rgba(255, 246, 212, 0.73) 55%, rgba(255, 240, 197, 0.57) 100%),
    linear-gradient(180deg, rgba(255, 234, 176, 0.25) 0%, transparent 42%, var(--parchment) 100%);
}

/* Warm fairy lights and soft candy-colored glow. */
.theme-christmas .hero__fx::before,
.theme-christmas .hero__fx::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.theme-christmas .hero__fx::before {
  bottom: auto;
  height: 48px;
  opacity: 0.9;
  background:
    radial-gradient(circle at 8% 17px, #fff4ad 0 3px, rgba(255, 200, 58, 0.4) 4px, transparent 12px),
    radial-gradient(circle at 21% 24px, #ff8190 0 3px, rgba(232, 75, 95, 0.32) 4px, transparent 12px),
    radial-gradient(circle at 35% 29px, #a5e8a5 0 3px, rgba(22, 131, 90, 0.3) 4px, transparent 12px),
    radial-gradient(circle at 50% 31px, #fff4ad 0 3px, rgba(255, 200, 58, 0.4) 4px, transparent 12px),
    radial-gradient(circle at 65% 29px, #ff8190 0 3px, rgba(232, 75, 95, 0.32) 4px, transparent 12px),
    radial-gradient(circle at 79% 24px, #a5e8a5 0 3px, rgba(22, 131, 90, 0.3) 4px, transparent 12px),
    radial-gradient(circle at 92% 17px, #fff4ad 0 3px, rgba(255, 200, 58, 0.4) 4px, transparent 12px),
    linear-gradient(176deg, transparent 0 21px, rgba(232, 75, 95, 0.5) 22px, transparent 23px);
}
.theme-christmas .hero__fx::after {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(22, 131, 90, 0.18), transparent 38%),
    radial-gradient(ellipse at 100% 100%, rgba(232, 75, 95, 0.14), transparent 38%),
    radial-gradient(circle at 12% 72%, rgba(255, 201, 40, 0.22), transparent 12%),
    radial-gradient(circle at 88% 70%, rgba(255, 201, 40, 0.2), transparent 13%);
}

/* Bouncy, candy-colored seasonal details across the collection. */
.theme-christmas .section__head::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 0.7rem;
  background: var(--xm-flake) center / contain no-repeat;
  filter: drop-shadow(2px 2px 0 rgba(255, 201, 40, 0.65));
}
.theme-christmas .section--dark {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 201, 40, 0.14) 0 3px, transparent 4px),
    radial-gradient(circle at 91% 70%, rgba(255, 255, 255, 0.12) 0 4px, transparent 5px),
    radial-gradient(circle at 72% 15%, rgba(232, 75, 95, 0.14) 0 3px, transparent 4px),
    var(--forest);
}

.theme-christmas .card {
  position: relative;
  border: 3px solid #fff0bf;
  border-radius: 20px;
  outline: 2px solid var(--gold);
  outline-offset: -8px;
  box-shadow: 0 10px 0 rgba(8, 74, 55, 0.22), 0 20px 50px -24px rgba(0, 0, 0, 0.45);
}
.theme-christmas .card:nth-child(3n + 2) {
  outline-color: #ff8791;
}
.theme-christmas .card:nth-child(3n) {
  outline-color: #94dfa1;
}
.theme-christmas .card__gallery {
  border-radius: 16px 16px 0 0;
  border-color: rgba(232, 75, 95, 0.3);
}
.theme-christmas .card__new {
  color: #fff9db;
  background: linear-gradient(135deg, #ee5964, #d93450);
  border: 2px solid var(--gold);
  border-radius: 0 999px 999px 0;
  letter-spacing: 0.12em;
}

.theme-christmas .btn--solid,
.theme-christmas .nav__link--cta {
  background: var(--oxblood);
  border-color: var(--gold);
  border-width: 2px;
  border-radius: 999px;
  color: #fff9db;
  box-shadow: 0 5px 0 rgba(108, 38, 51, 0.2);
}
.theme-christmas .btn--ghost {
  border: 2px solid var(--forest);
  border-radius: 999px;
  background: rgba(255, 247, 223, 0.48);
  color: var(--forest-2);
}
.theme-christmas .filter {
  border: 2px solid rgba(255, 247, 223, 0.7);
  border-radius: 999px;
}
.theme-christmas .filter.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest-3);
}
.theme-christmas .btn--solid:hover,
.theme-christmas .nav__link--cta:hover {
  background: var(--forest);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.theme-christmas .btn--ghost:hover {
  background: var(--forest);
  color: var(--parchment);
  transform: translateY(-2px);
}

.theme-christmas .legacy {
  box-shadow: inset 0 5px 0 var(--gold), inset 0 -5px 0 #f08b62;
}
.theme-christmas .footer {
  position: relative;
  border-top: 4px solid var(--gold);
}
.theme-christmas .footer__ornament {
  color: #f08b62;
}

@media (max-width: 700px) {
  .xmas-bar { letter-spacing: 0.04em; font-size: 0.72rem; gap: 0.5rem; }
  .xmas-bar__ic--more { display: none; }
  .xmas-bar__ic { width: 22px; height: 22px; }
}

/* Mobile menu: tidy slide-in panel sitting below the nav, above the nav decor */
@media (max-width: 860px) {
  .theme-christmas .nav__links,
  .theme-christmas .nav__links:not(.is-open),
  .theme-christmas .nav__links.is-open {
    top: var(--nav-bottom, 72px);
    z-index: 10;
    justify-content: flex-start;
    gap: 0;
    padding: 1.2rem 0 2rem;
    width: min(320px, 86vw);
    background:
      radial-gradient(circle at 85% 12%, rgba(255, 201, 40, 0.12), transparent 28%),
      var(--forest-2);
    border-left: 3px solid var(--gold);
    border-top: 3px solid var(--gold);
  }
  .theme-christmas .nav__links.is-open {
    box-shadow: -18px 0 40px -18px rgba(0, 0, 0, 0.55);
  }
  .theme-christmas .nav__links .nav__link {
    width: 100%;
    padding: 1rem 1.8rem;
    border-bottom: 1px dashed rgba(255, 226, 122, 0.4);
    color: #fff7df;
    letter-spacing: 0.2em;
  }
  .theme-christmas .nav__links .nav__link:hover {
    background: rgba(232, 75, 95, 0.35);
  }
  .theme-christmas .nav__links .nav__link--cta {
    width: calc(100% - 3.6rem);
    margin: 1.6rem 1.8rem 0;
    text-align: center;
    background: var(--oxblood);
    border: 2px solid var(--gold);
    border-radius: 999px;
    color: #fff9db;
  }
}