.drops {
    position: relative;
}

.drops .christmas-lights {
    position: absolute;
    width: 100%;
    height: 60px;
    top: -212px;
    left: 0;
    overflow: hidden;
    max-width: 100%;
    white-space: nowrap;
    font-size: 0;
    pointer-events: none;
}

.drops .christmas-lights > .christmas-lights-id {
    display: inline-block;
    vertical-align: top;
    width: 1780px;
}

@media (max-width: 599px) {
    .drops .christmas-lights {
        top: -166px;
    }
}




.items-container > .item > .item-wrapper > .btn {
    overflow: hidden;
    position: relative;
}

.items-container > .item > .item-wrapper > .btn:before {
    opacity: 0;
    transition: opacity 200ms linear;
    content: "";
    display: block;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("/uploads/template/img/candy.png");
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 12px;
    z-index: 2;
}

.items-container > .item:hover > .item-wrapper > .btn:before {
    opacity: 1;
}

.santa-click {
    position: fixed;
    width: 200px;
    height: 200px;
    top: 40px;
    left: 0;
    transform: translateX(calc(100vw + 200px));
    z-index: 50;
    pointer-events: none;
}

.santa-click.active {
    transform: translateX(-200px);
    transition: transform 3000ms linear;
}



.christmas-gift-wrapper {
    width: 128px;
    height: 100px;
    position: fixed;
    bottom: 20px;
    right: 0;
    overflow: hidden;
    cursor: pointer;
}

.christmas-gift-wrapper #christmas-gift {
    width: 256px;
    height: 256px;
    position: absolute;
    left: calc(50% - 128px);
    top: calc(50% - 128px);
}


.christmas-gift-modal {
    position: fixed;
    left: 0;
    top: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 50;
    background-color: rgba(0,0,0,0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms linear 0ms;
}

.christmas-gift-modal.active {
    pointer-events: auto;
    opacity: 1;
}

.christmas-gift-modal #christmas-gift-confetti {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 800px;
    pointer-events: none;
}

.christmas-gift-modal #santa-gift {
    position: absolute;
    width: 100%;
    height: 600px;
    max-height: 100%;
    bottom: -40px;
    pointer-events: none;
    z-index: 2;
    left: 0;
    display: none;
}

.christmas-gift-modal #bad-santa {
    position: absolute;
    width: 100%;
    height: 100%;
    max-height: 100%;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
    display: none;
}


.christmas-gift-modal .christmas-gift-form {
    position: absolute;
    font-size: 100px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    bottom: 50%;
    left: calc(50% - 300px);
    cursor: copy;
    width: 640px;
}

.christmas-gift-modal .christmas-gift-form #christmas-gift-promo {
    padding: 40px;
}

@media (max-width: 639px) {
    .christmas-gift-modal .christmas-gift-form {
        left: 0;
        width: 100%;
        font-size: 40px;
    }
}



.snowfall-options {
    position: absolute;
    bottom: 32px;
    right: 288px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

.snowfall-options > .snowfall-toggle,
.snowfall-options > .snowfall-less,
.snowfall-options > .snowfall-more {
    width: 16px;
    height: 16px;
    cursor: pointer;
    background-image: url("/uploads/template/img/icons/snow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: block;
    transition: transform 200ms linear 0ms;
    transition-property: transform, opacity;
}

.snowfall-options > .snowfall-less:after,
.snowfall-options > .snowfall-more:after,
.snowfall-options > .snowfall-more:before {
    content: "";
    display: block;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    position: absolute;
    bottom: calc(100% + 12px);
    left: calc(50% - 6px);
    background-color: #caf6ff;
    pointer-events: none;
}

.snowfall-options > .snowfall-more:before {
    transform: rotate(90deg);
}


.snowfall-options > .snowfall-toggle:hover {
    opacity: 0.6;
}

.snowfall-options > .snowfall-less:hover {
    transform: scale(0.8);
}

.snowfall-options > .snowfall-more:hover {
    transform: scale(1.2);
}

.snowfall-options > .snowfall-toggle {
    width: 64px;
    height: 64px;
    background-image: url("/uploads/template/img/icons/snowfall.svg");
}

.snowfall-options.disabled > .snowfall-toggle {
    background-image: url("/uploads/template/img/icons/snowfall-disabled.svg");
}

.snowfall-options.disabled > .snowfall-less,
.snowfall-options.disabled > .snowfall-more {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1299px) {
    .snowfall-options {
        right: 140px;
    }
}

@media (max-width: 1039px) {
    .snowfall-options {
        bottom: -12px;
        right: 130px;
    }
}

@media (max-width: 807px) {
    .snowfall-options {
        bottom: -4px;
        right: 12px;
    }
}

@media (max-width: 599px) {
    .snowfall-options {
        right: auto;
        left: 0;
    }
}




.snowfall {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 20;
}

.snowfall .snowflake {
    transform: translateY(-1vh);
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
}

.snowfall .snowflake > .snowflake-inner {
    background-color: #caf6ff;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: sway 4000ms ease-in-out infinite;
}

.snowfall .snowflake.active {
    transform: translateY(100vh);
    transition: opacity 1000ms linear;
}

@keyframes sway {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(-40px); }
    100% { transform: translateX(0); }
}