.santa-promo {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 145px;
    z-index: 10003;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
}

.santa-promo.is-on {
    opacity: 1;
}

.santa-promo__mover {
    position: absolute;
    right: 86px;
    bottom: 0;
    transform: translate3d(calc(100% + 48px), 0, 0);
}

.santa-promo.is-out .santa-promo__mover {
    transform: translate3d(0, 0, 0);
    transition: transform 2.8s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.santa-promo.is-settled .santa-promo__mover {
    transition: none;
}

.santa-promo.is-leaving .santa-promo__mover {
    transform: translate3d(calc(100% + 80px), 0, 0);
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.santa-promo__stage {
    position: relative;
    width: 252px;
    height: 137px;
}

.santa-promo.is-walking .santa-promo__stage {
    animation: santa-bob 0.21s ease-in-out infinite;
}

.santa-promo__shadow {
    position: absolute;
    z-index: 0;
    left: 28px;
    bottom: 2px;
    width: 78px;
    height: 7px;
    border-radius: 50%;
    background: rgba(16, 24, 48, 0.16);
    transform-origin: 50% 50%;
}

.santa-promo.is-walking .santa-promo__shadow {
    animation: santa-shadow 0.21s ease-in-out infinite;
}

.santa-svg {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
    display: block;
    width: 102px;
    height: 137px;
    overflow: visible;
    pointer-events: none !important;
}

.santa-leg {
    transform-box: fill-box;
    transform-origin: 50% 6%;
}

.santa-promo.is-walking .santa-leg--l {
    animation: santa-step-l 0.42s ease-in-out infinite;
}

.santa-promo.is-walking .santa-leg--r {
    animation: santa-step-r 0.42s ease-in-out infinite;
}

.santa-promo__sign {
    position: absolute;
    z-index: 2;
    left: 61px;
    top: 41px;
    width: 168px;
    height: 96px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 20px;
    color: #431c72;
    text-decoration: none;
    text-align: center;
    pointer-events: none !important;
}

.santa-promo__copy {
    position: absolute;
    left: 38px;
    right: 12px;
    top: 14px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    pointer-events: none;
}

.santa-promo.is-ready .santa-promo__sign {
    pointer-events: auto !important;
}

.santa-promo__kicker,
.santa-promo__sub,
.santa-promo__until {
    display: block;
    max-width: 100%;
    font-family: 'Unbounded', sans-serif;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.santa-promo__kicker {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.15;
    color: #431c72;
}

.santa-promo__sub {
    font-weight: 400;
    font-size: 11px;
    line-height: 1.2;
    color: #431c72;
}

.santa-promo__until {
    margin-top: 1px;
    font-weight: 400;
    font-size: 8px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #6b4d90;
}

.santa-promo__close {
    position: absolute;
    z-index: 5;
    top: 33px;
    left: 227px;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #431c72;
    box-shadow: 0 4px 10px rgba(30, 16, 40, 0.18);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none !important;
    transition: opacity 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.santa-promo__close svg {
    width: 10px;
    height: 10px;
    display: block;
}

.santa-promo.is-ready .santa-promo__close {
    opacity: 1;
    pointer-events: auto !important;
}

.santa-promo__close:hover {
    background: #431c72;
    color: #fff;
}

.santa-promo__close:focus-visible {
    outline: 2px solid #431c72;
    outline-offset: 2px;
}

@keyframes santa-step-l {
    0%, 100% { transform: rotate(32deg); }
    50% { transform: rotate(-30deg); }
}

@keyframes santa-step-r {
    0%, 100% { transform: rotate(-30deg); }
    50% { transform: rotate(32deg); }
}

@keyframes santa-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes santa-shadow {
    0%, 100% { transform: scaleX(1); opacity: 0.9; }
    50% { transform: scaleX(0.72); opacity: 0.4; }
}

@media (max-width: 640px) {
    .santa-promo__mover {
        right: 70px;
    }
}

@media (max-width: 400px) {
    .santa-promo__mover {
        right: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .santa-promo,
    .santa-promo__mover,
    .santa-promo__stage,
    .santa-promo__close,
    .santa-leg,
    .santa-promo__shadow {
        animation: none !important;
        transition: none !important;
    }
}
