.carousel-title-container[data-aveo-title-animation="christmas"] {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.carousel-title-container[data-aveo-title-animation="christmas"] > a {
    position: relative;
    z-index: 3;
}

.aveo-christmas-snow {
    position: absolute;
    z-index: 4;
    top: 0;
    left: var(--aveo-christmas-snow-x-offset);
    width: var(--aveo-christmas-snow-width);
    height: var(--aveo-christmas-snow-height);
    overflow: visible;
    pointer-events: none;
}

.aveo-christmas-snowflake {
    position: absolute;
    top: 0;
    left: var(--aveo-christmas-snow-x);
    color: #b8e4f3;
    font-family: Arial, sans-serif;
    font-size: var(--aveo-christmas-snow-size);
    line-height: 1;
    opacity: 0;
    text-shadow: 0 0 3px rgba(55, 126, 160, .45);
    animation: aveo-christmas-snowfall var(--aveo-christmas-snow-duration) linear var(--aveo-christmas-snow-delay) infinite;
}

.aveo-christmas-ornament {
    position: absolute;
    z-index: 5;
    top: var(--aveo-christmas-ornament-y);
    left: var(--aveo-christmas-ornament-x);
    width: var(--aveo-christmas-ornament-size);
    height: var(--aveo-christmas-ornament-size);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .92) 0 6%, var(--aveo-christmas-ornament-color) 26%, #581c28 100%);
    box-shadow: inset -7px -8px 11px rgba(47, 12, 18, .38), 1px 4px 6px rgba(35, 25, 28, .25);
    pointer-events: none;
    transform-origin: top center;
    animation: aveo-christmas-ornament-sway 3.8s ease-in-out var(--aveo-christmas-ornament-delay) infinite;
}

.aveo-christmas-ornament::before {
    position: absolute;
    top: -35px;
    left: calc(50% - 1px);
    width: 2px;
    height: 35px;
    background: rgba(152, 130, 84, .7);
    content: '';
}

.aveo-christmas-ornament::after {
    position: absolute;
    top: -5px;
    left: calc(50% - 7px);
    width: 14px;
    height: 9px;
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(90deg, #a47d35, #f3d875, #98742c);
    content: '';
}

.aveo-christmas-gift {
    position: absolute;
    z-index: 5;
    top: var(--aveo-christmas-gift-y);
    left: var(--aveo-christmas-gift-x);
    width: var(--aveo-christmas-gift-size);
    height: var(--aveo-christmas-gift-size);
    pointer-events: none;
    transform: rotate(var(--aveo-christmas-gift-rotation));
}

.aveo-christmas-gift__box {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 78%;
    border-radius: 3px;
    background: var(--aveo-christmas-gift-color);
    box-shadow: inset -6px -7px 10px rgba(57, 19, 24, .25), 1px 4px 6px rgba(41, 30, 32, .25);
}

.aveo-christmas-gift__box::before,
.aveo-christmas-gift__box::after {
    position: absolute;
    background: var(--aveo-christmas-ribbon-color);
    content: '';
}

.aveo-christmas-gift__box::before {
    top: 0;
    bottom: 0;
    left: calc(50% - 4px);
    width: 8px;
}

.aveo-christmas-gift__box::after {
    top: 34%;
    right: 0;
    left: 0;
    height: 7px;
}

.aveo-christmas-gift__bow {
    position: absolute;
    top: 8%;
    left: calc(50% - 12px);
    width: 24px;
    height: 12px;
    border: 5px solid var(--aveo-christmas-ribbon-color);
    border-radius: 50% 50% 45% 45%;
    transform: translateY(-50%);
}


.aveo-christmas-bauble {
    position: absolute;
    z-index: 5;
    top: var(--aveo-christmas-bauble-y);
    left: var(--aveo-christmas-bauble-x);
    display: block;
    width: var(--aveo-christmas-bauble-size);
    pointer-events: none;
}

.aveo-christmas-bauble img,
.aveo-christmas-gifts img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}


.aveo-christmas-gifts {
    position: absolute;
    z-index: 5;
    top: var(--aveo-christmas-gifts-y);
    left: var(--aveo-christmas-gifts-x);
    display: block;
    width: var(--aveo-christmas-gifts-size);
    pointer-events: none;
}

@keyframes aveo-christmas-snowfall {
    0% {
        opacity: 0;
        transform: translate3d(0, var(--aveo-christmas-snow-start-y), 0) rotate(0deg);
    }
    12% { opacity: .9; }
    88% { opacity: .9; }
    100% {
        opacity: 0;
        transform: translate3d(var(--aveo-christmas-snow-drift), var(--aveo-christmas-snow-end-y), 0) rotate(180deg);
    }
}

@keyframes aveo-christmas-ornament-sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@media (max-width: 767px) {
    .aveo-christmas-bauble,
    .aveo-christmas-gifts {
        transform: scale(.72);
        transform-origin: top left;
    }
}
