html[data-codnex-holiday] #storeTrustTop { display: none; }
html[data-codnex-holiday] .store-header {
  --codnex-nav-height: 62px;
  --codnex-lights-height: 18px;
  top: 0;
  min-height: calc(var(--codnex-nav-height) + var(--codnex-lights-height));
  padding-bottom: var(--codnex-lights-height);
  background: radial-gradient(ellipse at 50% 5%, #16404c 0%, #112c3a 23%, transparent 64%),
    linear-gradient(95deg, #0b1928 0%, #101c2c 54%, #0b1826 100%);
  box-shadow: 0 1px #62d3d51c;
  isolation: isolate;
}

#codnexHoliday[hidden] { display: none; }
#codnexHoliday:not([hidden]) { display: contents; }

.codnex-holiday__hat { display: none; }
html[data-codnex-holiday] .store-header .brand { overflow: visible; }
html[data-codnex-holiday] .store-header .brand-mark { overflow: visible; }
html[data-codnex-holiday] .store-header .brand-mark img { border-radius: inherit; }
html[data-codnex-holiday] .store-header .brand-mark > .codnex-holiday__hat {
  display: block;
  position: absolute;
  z-index: 1;
  top: -12px;
  left: 5px;
  width: 27px;
  height: 22px;
  transform: rotate(16deg);
  overflow: visible;
  filter: drop-shadow(0 1px 1.25px #36102380);
  pointer-events: none;
}

html[data-codnex-holiday] .store-header #storeBrandText {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 32px;
  padding: 3px 12px;
  overflow: visible;
  border-radius: 11px;
  background: #215ed1;
  color: #fff;
  text-align: center;
  text-shadow: none;
}

html[data-codnex-holiday] .store-header #storeBrandText::before {
  content: "";
  position: absolute;
  inset: -5px 0 auto;
  height: 10px;
  background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M3 4C9 1 18 2 25 2.6 33 .3 41 1 48 2 55 .7 64 1.1 71 2.2 81 .5 89 1.7 96 2.3 104 1 112 2 117 4c3 1.3 2.7 4.1 .1 4.8-3.4 .9-5.6-1.1-8.6-1-4.9 .3-9.1 1.2-14.1 0-5.3-.7-9.8 1.6-14.4 .8-5.2-1-9.7-.6-15.2 .1-5.1 .7-10.7-1.5-16.1-.5-5.4 .9-11.8 1.3-17.2 .2-4.6-.9-9.3.9-14.2.6-4.1-.3-7.7-1-11.5 .1C1.7 10-.8 6 3 4Z' fill='%23fff' stroke='%23cbe1f7' stroke-width='.6'/%3E%3C/svg%3E");
  pointer-events: none;
}

.codnex-holiday__scene,
.codnex-holiday__snow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.codnex-holiday__scene { z-index: -1; container-type: inline-size; }
.codnex-holiday__snow { top: 9px; bottom: auto; height: 44px; }

.codnex-holiday__ornament {
  position: absolute;
  bottom: calc(var(--codnex-lights-height) - 4px);
  left: 50%;
  width: 124px;
  height: 50px;
  transform: translateX(-50%);
  pointer-events: none;
}

.codnex-holiday__tree {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.codnex-holiday__greeting {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.codnex-holiday__lights {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 18px;
}

.codnex-holiday__bulbs {
  --holiday-bulb-glow: #ff184d;
  opacity: 1;
  filter: saturate(1.18) brightness(1.14) drop-shadow(0 0 2.3px var(--holiday-bulb-glow));
  animation: codnex-holiday-twinkle 3s ease-in-out infinite;
}
.codnex-holiday__bulbs--gold { --holiday-bulb-glow: #ffab24; animation-delay: -0.75s; }
.codnex-holiday__bulbs--jade { --holiday-bulb-glow: #12dd73; animation-delay: -1.5s; }
.codnex-holiday__bulbs--ice  { --holiday-bulb-glow: #2f9cff; animation-delay: -2.25s; }

.codnex-holiday__tree-bulb {
  opacity: 1;
  animation: codnex-holiday-tree-light 3.8s ease-in-out infinite;
}
.codnex-holiday__tree-bulb--gold { color: #ffcc4a; animation-delay: -0.25s; }
.codnex-holiday__tree-bulb--ruby { color: #ff476b; animation-delay: -1.5s; }
.codnex-holiday__tree-bulb--ice { color: #63d3ff; animation-delay: -2.8s; }

.codnex-holiday__gift {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: codnex-holiday-gift-hop 11s ease-in-out infinite;
}
.codnex-holiday__gift--mint { animation-duration: 14s; animation-delay: -5.4s; }
.codnex-holiday__gift--blue { animation-duration: 12s; animation-delay: -3.1s; }
.codnex-holiday__gift--gold { animation-duration: 16s; animation-delay: -8.3s; }

.codnex-holiday__snow i {
  position: absolute;
  left: var(--flake-x);
  top: -5px;
  width: var(--flake-size);
  height: var(--flake-size);
  border-radius: 50%;
  background: #effbff;
  opacity: var(--flake-opacity);
  animation: codnex-holiday-snow var(--flake-duration) var(--flake-delay) linear infinite;
}

.codnex-holiday__sleigh {
  position: absolute;
  z-index: 1;
  inset: 5px auto auto 0;
  width: clamp(100px, 14vw, 156px);
  height: 38px;
  opacity: 0;
  overflow: visible;
  pointer-events: none;
  animation: codnex-holiday-fly 16s linear infinite;
}

.codnex-holiday__flight {
  transform-box: view-box;
  transform-origin: center;
  animation: codnex-holiday-bob 2.4s ease-in-out infinite;
}

.codnex-holiday__trail { stroke: #6f8cff; }
html[data-store-appearance="light"] .codnex-holiday__trail { stroke: #426bc9; }

.codnex-holiday__trail > line {
  transform-box: fill-box;
  transform-origin: right center;
  animation: codnex-holiday-boost .5s ease-in-out infinite;
}
.codnex-holiday__trail > line:nth-child(2) { animation-delay: -.25s; }
.codnex-holiday__trail > line:nth-child(3) { animation-delay: -.4s; }

.codnex-holiday__reindeer {
  animation: codnex-holiday-prance .64s ease-in-out infinite;
}
.codnex-holiday__reindeer--lead { animation-delay: -.16s; }

.codnex-holiday__leg {
  transform-box: fill-box;
  transform-origin: top center;
  animation: codnex-holiday-gait .64s ease-in-out infinite;
}
.codnex-holiday__leg--front { animation-delay: -.32s; }
.codnex-holiday__reindeer--lead .codnex-holiday__leg--rear { animation-delay: -.16s; }
.codnex-holiday__reindeer--lead .codnex-holiday__leg--front { animation-delay: -.48s; }

.codnex-holiday[data-offscreen] .codnex-holiday__snow i,
.codnex-holiday[data-offscreen] .codnex-holiday__bulbs,
.codnex-holiday[data-offscreen] .codnex-holiday__tree-bulb,
.codnex-holiday[data-offscreen] .codnex-holiday__gift,
.codnex-holiday[data-offscreen] .codnex-holiday__flight,
.codnex-holiday[data-offscreen] .codnex-holiday__trail > line,
.codnex-holiday[data-offscreen] .codnex-holiday__reindeer,
.codnex-holiday[data-offscreen] .codnex-holiday__leg,
.codnex-holiday[data-offscreen] .codnex-holiday__sleigh { animation-play-state: paused; }

@keyframes codnex-holiday-twinkle {
  0%, 100% { opacity: .26; }
  18% { opacity: .44; }
  34%, 65% { opacity: 1; }
  84% { opacity: .39; }
}

@keyframes codnex-holiday-tree-light {
  0%, 100% { opacity: .34; }
  20% { opacity: .5; }
  37%, 69% { opacity: 1; }
  85% { opacity: .42; }
}

@keyframes codnex-holiday-gift-hop {
  0%, 69%, 82%, 100% { transform: none; }
  71% { transform: rotate(-6deg); }
  74% { transform: translateY(-7px) rotate(5deg); }
  77% { transform: translateY(0) rotate(-3deg); }
  79% { transform: translateY(-2px) rotate(2deg); }
}

@keyframes codnex-holiday-snow {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  14% { opacity: var(--flake-opacity); }
  46% { transform: translate3d(var(--flake-sway), 23px, 0); }
  83% { opacity: var(--flake-opacity); }
  100% { transform: translate3d(var(--flake-drift), 51px, 0); opacity: 0; }
}

@keyframes codnex-holiday-fly {
  0%, 3% { transform: translate3d(-103%, 0, 0); opacity: 0; }
  5%, 42% { opacity: 1; }
  45%, 100% { transform: translate3d(101vw, 0, 0); transform: translate3d(101cqw, 0, 0); opacity: 0; }
}

@keyframes codnex-holiday-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  25% { transform: translateY(-5px) rotate(0); }
  50% { transform: translateY(0) rotate(3deg); }
  75% { transform: translateY(5px) rotate(0); }
}

@keyframes codnex-holiday-boost {
  0%, 100% { transform: scaleX(.7); opacity: .55; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes codnex-holiday-gait {
  0%, 100% { transform: rotate(-11deg); }
  50% { transform: rotate(11deg); }
}

@keyframes codnex-holiday-prance {
  0%, 100% { transform: translateY(0); }
  55% { transform: translateY(-1.2px); }
}

@media (max-width: 650px) {
  html[data-codnex-holiday] .store-header { grid-template-columns: minmax(0, 1fr) auto auto auto; }
  html[data-codnex-holiday] .store-header .brand { max-width: 100%; }
  html[data-codnex-holiday] .store-header .brand-mark { flex-shrink: 0; }
  .codnex-holiday__ornament { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: clamp(46px, 13vw, 80px); height: 44px; transform: none; }
  .codnex-holiday__tree { inset: auto 0 -13px; height: auto; aspect-ratio: 139 / 78; }
  .codnex-holiday__sleigh { animation-duration: 12s; }
  @keyframes codnex-holiday-fly {
    0%, 3% { transform: translate3d(-103%, 0, 0); opacity: 0; }
    5%, 29% { opacity: 1; }
    32%, 100% { transform: translate3d(101vw, 0, 0); transform: translate3d(101cqw, 0, 0); opacity: 0; }
  }
}

@media (max-width: 560px) {
  .codnex-holiday__snow i:nth-child(n + 29) { display: none; }
}

@media (max-width: 650px) {
  html[data-codnex-holiday] .store-header #storeBrandText {
    min-height: 30px;
    padding-inline: 5px;
    border-radius: 9px;
    white-space: normal;
    line-height: 1.05;
  }
}

@media (min-width: 431px) and (max-width: 520px) {
  html[data-codnex-holiday] header.store-header { gap: 4px; padding-inline: 8px; }
  html[data-codnex-holiday] .store-header .store-header-identity,
  html[data-codnex-holiday] .store-header .store-header-identity .brand { gap: 5px; }
  html[data-codnex-holiday] .store-header .header-actions { gap: 5px; }
  html[data-codnex-holiday] .codnex-holiday__ornament { width: clamp(44px, 11vw, 58px); }
  html[data-codnex-holiday] .store-header #storeBrandText { font-size: .68rem; }
}

@media (max-width: 375px) {
  html[data-codnex-holiday] .store-header .brand-text { white-space: normal; line-height: 1.12; }
}

@media (max-width: 383px) {
  html[data-codnex-holiday] header.store-header {
    --codnex-nav-height: 74px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-content: start;
    gap: 2px;
    padding-top: 8px;
  }
  html[data-codnex-holiday] .store-header .store-header-identity,
  html[data-codnex-holiday] .store-header .store-header-identity .brand { gap: 3px; }
  html[data-codnex-holiday] .store-header .header-actions { gap: 3px; }
  html[data-codnex-holiday] .store-header #storeBrandText { padding-inline: 3px; font-size: .62rem; }
  html[data-codnex-holiday] .codnex-holiday__ornament {
    position: absolute;
    bottom: calc(var(--codnex-lights-height) - 4px);
    left: 50%;
    height: auto;
    aspect-ratio: 139 / 78;
    transform: translateX(-50%);
  }
  html[data-codnex-holiday] .codnex-holiday__tree { inset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .codnex-holiday__snow i { top: var(--flake-still); animation: none; }
  .codnex-holiday__bulbs,
  .codnex-holiday__tree-bulb,
  .codnex-holiday__gift,
  .codnex-holiday__flight,
  .codnex-holiday__trail > line,
  .codnex-holiday__reindeer,
  .codnex-holiday__leg { animation: none; }
  .codnex-holiday__sleigh { display: none; animation: none; }
}
