.tp-holiday-garland { display: none; }

@media (min-width: 992px) {
  #header .header-v8 .menu-row.bgcolored:has(> .tp-holiday-garland) {
    position: relative;
  }

  .tp-holiday-garland {
    position: absolute;
    z-index: 2;
    inset: 100% 0 auto;
    display: flex;
    height: 43px;
    pointer-events: none;
    background-image: linear-gradient(to bottom, rgba(49, 113, 56, .57), rgba(92, 158, 86, .328) 3px, rgba(101, 167, 91, .29) 4px, rgba(129, 184, 114, .13) 9px, transparent 17px);
  }

  .tp-holiday-garland__segment {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    background: url("tp-holiday-fir-edge.svg") no-repeat center top / 100% 25px;
  }

  .tp-holiday-garland__ornament {
    position: absolute;
    top: var(--hang);
    left: var(--x);
    width: calc(var(--size) + 4px);
    height: calc(var(--drop) + var(--size));
    margin-left: calc((var(--size) + 4px) / -2);
    --highlight: #fff3e9;
    --light: #ff6d61;
    --color: #fd1a16;
    --shade: #a60f1d;
  }

  .tp-holiday-garland__ornament--blue {
    --highlight: #eff5ff;
    --light: #91aaff;
    --color: #365edc;
    --shade: #173a89;
  }

  .tp-holiday-garland__ornament--midnight {
    --highlight: #e0eaff;
    --light: #7494ed;
    --color: #173a89;
    --shade: #0b2a4a;
  }

  .tp-holiday-garland__pendant {
    position: absolute;
    inset: 0;
    transform-origin: 50% 0;
  }

  .tp-holiday-garland__pendant::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: var(--drop);
    background: #596c59;
  }

  .tp-holiday-garland__ball {
    position: absolute;
    top: var(--drop);
    left: 50%;
    width: var(--size);
    height: var(--size);
    margin-left: calc(var(--size) / -2);
    border-radius: 50%;
    background: radial-gradient(circle at 34% 26%, var(--highlight), var(--light) 17%, var(--color) 44%, var(--shade) 98%);
    box-shadow: 0 1px 2px #0b2a4a40;
  }

  .tp-holiday-garland__ball::before {
    content: "";
    position: absolute;
    top: -3px;
    left: calc(50% - 2.5px);
    width: 5px;
    height: 3px;
    border-radius: 1px 1px 0 0;
    background: linear-gradient(90deg, #94704a, #f3deaa 50%, #a78055);
  }

  .tp-holiday-garland__ornament--band .tp-holiday-garland__ball::after {
    content: "";
    position: absolute;
    inset: 42% 10% 18%;
    border-bottom: 1px solid #ffffff99;
    border-radius: 50%;
  }
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tp-holiday-garland__pendant.is-swaying {
    animation: tp-holiday-sway .95s ease-in-out;
  }
}

@keyframes tp-holiday-sway {
  0%, 100% { transform: rotate(0); }
  19% { transform: rotate(16deg); }
  42% { transform: rotate(-12deg); }
  65% { transform: rotate(7deg); }
  84% { transform: rotate(-3deg); }
}
