/* Static decorations: one cached snow rim and hat, with no animation or scripts. */
.home-holiday-shell {
    position: relative;
    display: grid;
    min-width: 0;
    isolation: isolate;
    border-radius: 32px;
}

.home-holiday-shell--hero { border-radius: 36px; }
.home-holiday-shell--offer,
.home-holiday-shell--activation {
    margin: calc(clamp(3.8rem, 8vw, 7rem) * -0.52) 0 0;
    border-radius: 24px;
}

.home-holiday-shell > :is(.home-offer, .home-activation) { margin: 0; }

.winter-holiday-enabled .home-holiday-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.home-holiday-decor,
.home-holiday-decor::before,
.home-holiday-decor::after {
    position: absolute;
    pointer-events: none;
}

.home-holiday-decor {
    z-index: 5;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse at 50% 100%, #fff 60%, #d8eaf3 74%, transparent 77%) left bottom / 140px 15px no-repeat,
        radial-gradient(ellipse at 50% 100%, #fff 60%, #d8eaf3 74%, transparent 77%) right bottom / 96px 12px no-repeat;
}

.home-holiday-decor::before {
    content: "";
    inset: -23px -1px auto;
    height: 54px;
    border-radius: inherit;
    background: url("../img/holiday/snow-rim.svg?v=2") left top / 380px 54px repeat-x;
}

.home-holiday-decor::after {
    content: "";
    top: -34px;
    right: -14px;
    width: 108px;
    height: 112px;
    background: url("../img/holiday/santa-hat.svg?v=2") center / contain no-repeat;
    transform: rotate(14deg);
    transform-origin: 50% 70%;
}

.home-holiday-shell--hero > .home-holiday-decor::after {
    top: -42px;
    right: -13px;
    width: 132px;
    height: 136px;
}

@media (max-width: 720px) {
    .home-holiday-shell--hero { border-radius: 26px; }
    .home-holiday-shell--offer,
    .home-holiday-shell--activation { margin-top: -1.8rem; }

    .home-holiday-decor::before {
        top: -19px;
        height: 46px;
        background-size: 320px 46px;
    }

    .home-holiday-decor::after,
    .home-holiday-shell--hero > .home-holiday-decor::after {
        top: -26px;
        right: -4px;
        width: 76px;
        height: 80px;
    }
}
