/* 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 {
  border-top: 3px solid var(--berry);
  border-image: repeating-linear-gradient(120deg, #853642 0 7px, #eadfc6 7px 9px, #853642 9px 13px, #b37972 13px 15px) 1;
  background: var(--paper);
}

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);
}

/* A folded-paper star hangs inside the coloured panel. */
@media (min-width: 681px) {
  html[data-theme='christmas'] .hero {
    --star-x: 42%;
    --star-drop: clamp(18px, 2.3vw, 34px);
    --star-width: clamp(30px, 3.6vw, 52px);
  }
  html[data-theme='christmas'] .hero::before,
  html[data-theme='christmas'] .hero::after {
    content: '';
    position: absolute;
    left: var(--star-x);
    pointer-events: none;
  }
  html[data-theme='christmas'] .hero::before {
    top: 0;
    height: calc(var(--star-drop) + 1px);
    width: 1px;
    background: #bbab87;
  }
  html[data-theme='christmas'] .hero::after {
    top: var(--star-drop);
    width: var(--star-width);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: repeating-conic-gradient(from -22.5deg, #d2bc91 0 22.5deg, #f1debb 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-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 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); }

@media print {
  html[data-theme='christmas'] .mast { border-top: 0; }
}
