/* The storefront loads this palette only for the owner's Christmas theme. */
html[data-theme='christmas'] {
  --spruce: #23473b;
  --spruce-deep: #1c3b31;
  --berry: #853642;
  --berry-dark: #6e2733;
  --parchment: #fbf5e8;
  --ink: #293e34;
  --muted: #59665c;
  --paper: #fbf8f1;
  --soft: var(--paper);
  --line: #dcd8ca;
  --sky: #e6ebdf;
  --blue: var(--sky);
  --blush: #efddd7;
}

html[data-theme='christmas'] .mast {
  color: #fbf5e8;
  background: #283f35;
}
html[data-theme='christmas'] .mast :is(.brand, .shop-browse, .header-tools, .list-nav, .support-site-nav) {
  color: inherit;
}
html[data-theme='christmas'] .mast .shop-category-panel {
  color: var(--ink);
}
html[data-theme='christmas'] .mast .header-tools b { color: var(--spruce-deep); }
html[data-theme='christmas'] .mast :focus-visible {
  outline-color: #f3ce88;
}
html[data-theme='christmas'] .mast .shop-category-panel :focus-visible { outline-color: var(--spruce); }
html[data-theme='christmas'] .mast :is(.mast-inner, .header-inner) {
  column-gap: clamp(8px, 1.5vw, 26px);
}
.holiday-sprig {
  display: block;
  pointer-events: none;
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  height: 70px;
  background: url('/images/gran-julehjerte.webp') center / contain no-repeat;
}
@media (max-width: 799px) {
  html[data-theme='christmas'] .mast :is(.mast-inner, .header-inner) { column-gap: 7px; }
  html[data-theme='christmas'] .mast .shop-browse { border-color: #607367; }
  .holiday-sprig {
    max-width: 155px;
    height: 40px;
    background-image: url('/images/gran-julehjerte-lille.webp');
  }
}
@media (max-width: 350px) {
  html[data-theme='christmas'] .mast .mast-inner:has(.list-nav) {
    width: 100%;
    padding-inline: 8px;
    column-gap: 3px;
  }
  html[data-theme='christmas'] .mast .list-nav { gap: 7px; }
}
@media (forced-colors: active), print {
  .holiday-sprig { visibility: hidden; background: none; }
}

html[data-theme='christmas'] .brand-mark { background: #b5585f; }
html[data-theme='christmas'] .brand-mark::before { background: #f4e5cf; }
html[data-theme='christmas'] .brand-mark::after { background: #f4e5cf; }
html[data-theme='christmas'] .brand-mark i { border-color: #78424a; }

html[data-theme='christmas'] .hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(118deg, var(--spruce-deep), #2c5143 55%);
  color: var(--parchment);
}

/* Folded paper and a woven heart hang over the greenery in the photograph. */
html[data-theme='christmas'] .hero-ornaments {
  --heart-size: clamp(24px, 2.55vw, 38px);
  display: block;
  position: absolute;
  inset: 0 clamp(15px, 3%, 24px) auto auto;
  width: calc(var(--heart-size) * 1.95);
  height: calc(var(--heart-size) * 2.15);
  pointer-events: none;
  filter: drop-shadow(1px 2px 2px #29231559);
}
html[data-theme='christmas'] .hero-ornaments i {
  position: absolute;
  top: 0;
  right: 69%;
  width: 1px;
  height: 29%;
  background: #d8c5a4;
}
html[data-theme='christmas'] .hero-ornaments i + i {
  right: 22%;
  height: 48%;
}
html[data-theme='christmas'] .hero-ornaments i::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: calc(var(--heart-size) * .74);
  aspect-ratio: 1;
  transform: translateX(-50%) rotate(-9deg);
  background: repeating-conic-gradient(from -22.5deg, #c2a375 0 22.5deg, #f5e0b6 22.5deg 45deg);
  clip-path: polygon(50% 0, 59% 29%, 85% 15%, 71% 41%, 100% 50%, 71% 59%, 85% 85%, 59% 71%, 50% 100%, 41% 71%, 15% 85%, 29% 59%, 0 50%, 29% 41%, 15% 15%, 41% 29%);
}
html[data-theme='christmas'] .hero-ornaments i + i::after {
  width: var(--heart-size);
  aspect-ratio: 1.1;
  transform: translateX(-50%) rotate(12deg);
  background: linear-gradient(135deg, #e9d2a9 0 26%, transparent 26%),
              linear-gradient(225deg, #993e40 0 26%, transparent 26%),
              repeating-conic-gradient(from 45deg, #9b3d3e 0 25%, #eddbb5 0 50%) 50% 55% / 36% 40%;
  clip-path: polygon(50% 16%, 39% 5%, 27% 1%, 15% 3%, 5% 11%, 0 24%, 1% 38%, 8% 51%, 50% 100%, 92% 51%, 99% 38%, 100% 24%, 95% 11%, 85% 3%, 73% 1%, 61% 5%);
}
@media (forced-colors: active) {
  html[data-theme='christmas'] .hero-ornaments { display: none; }
}

html[data-theme='christmas'] .hero-copy h1 { color: #fffaf0; }
html[data-theme='christmas'] .hero-copy em { color: #ead8b5; }
html[data-theme='christmas'] .hero-copy p { color: #e3e7d9; }
html[data-theme='christmas'] .hero .text-link {
  color: #faf5e8;
  text-decoration-color: #b9c7b5;
}
html[data-theme='christmas'] .hero-visual { background: #b7a68e; }
html[data-theme='christmas'] .hero-visual img { object-position: 52% 47%; }

html[data-theme='christmas'] .button:not(.secondary),
html[data-theme='christmas'] .pd .pd-actions .pd-buy,
html[data-theme='christmas'] .intro .primary,
html[data-theme='christmas'] #share {
  background: var(--berry);
  border-color: var(--berry);
  color: white;
}
html[data-theme='christmas'] .button:not(.secondary):hover,
html[data-theme='christmas'] .pd .pd-actions .pd-buy:hover,
html[data-theme='christmas'] .intro .primary:hover,
html[data-theme='christmas'] #share:hover {
  background: var(--berry-dark);
  border-color: var(--berry-dark);
}
html[data-theme='christmas'] .hero .button:not(.secondary) {
  color: var(--spruce-deep);
  border-color: var(--parchment);
  background: var(--parchment);
}
html[data-theme='christmas'] .hero .button:not(.secondary):hover {
  color: var(--spruce-deep);
  border-color: #ead9b6;
  background: #ead9b6;
}

html[data-theme='christmas'] .pd-choice[aria-current='true'] {
  background: #e7edde;
  border-color: var(--spruce);
}
html[data-theme='christmas'] .pd-save[aria-pressed='true'],
html[data-theme='christmas'] .heart[aria-pressed='true'] { color: var(--berry); }
html[data-theme='christmas'] .small-guides > a:first-child,
html[data-theme='christmas'] .summary,
html[data-theme='christmas'] .intro { background: #e6ebdf; }
html[data-theme='christmas'] .small-guides > a + a { background: #efdfd9; }

html[data-theme='christmas'] footer.site-footer {
  background: var(--spruce-deep);
  color: #fff8ea;
}
html[data-theme='christmas'] .footer-wordmark { color: #efddba; }
html[data-theme='christmas'] .footer-signature {
  background: url('/images/gran-julehjerte.webp') right top / min(42%, 135px) auto no-repeat;
}
@media (max-width: 799px) {
  html[data-theme='christmas'] .footer-signature {
    background-image: url('/images/gran-julehjerte-lille.webp');
  }
}
@media (forced-colors: active), print {
  html[data-theme='christmas'] .footer-signature { background: none; }
}
html[data-theme='christmas'] .footer-signature p,
html[data-theme='christmas'] .footer-base { color: #dbe4d7; }
html[data-theme='christmas'] .footer-base,
html[data-theme='christmas'] .footer-signature { border-color: #597469; }
html[data-theme='christmas'] .footer-rule { background: #8f9f8b; }
html[data-theme='christmas'] :is(.hero, .site-footer) :focus-visible { outline-color: #f3ce88; }

html[data-theme='christmas'] :is(.ll-chat-launch, .ll-reply-bubble, .ll-dialog, .ll-chat) {
  --chat-ink: var(--spruce-deep);
  --chat-line: #d4d8c9;
}
html[data-theme='christmas'] .ll-chat-top { background: #e6ebdf; }
html[data-theme='christmas'] .ll-chat-launch {
  background: var(--spruce);
  border-color: #c5d0bf;
  color: white;
}
html[data-theme='christmas'] .ll-chat-launch:hover { background: var(--spruce-deep); }
